1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
10 model = "Rockchip RK3328 EVB";
11 compatible = "rockchip,rk3328-evb", "rockchip,rk3328";
20 stdout-path = "serial2:1500000n8";
24 compatible = "regulator-fixed";
25 regulator-name = "dc_12v";
28 regulator-min-microvolt = <12000000>;
29 regulator-max-microvolt = <12000000>;
32 sdio_pwrseq: sdio-pwrseq {
33 compatible = "mmc-pwrseq-simple";
34 pinctrl-names = "default";
35 pinctrl-0 = <&wifi_enable_h>;
38 * On the module itself this is one of these (depending
39 * on the actual card populated):
40 * - SDIO_RESET_L_WL_REG_ON
41 * - PDN (power down when low)
43 reset-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
46 vcc_sd: sdmmc-regulator {
47 compatible = "regulator-fixed";
48 gpio = <&gpio0 30 GPIO_ACTIVE_LOW>;
49 pinctrl-names = "default";
50 pinctrl-0 = <&sdmmc0m1_pin>;
51 regulator-name = "vcc_sd";
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
54 vin-supply = <&vcc_io>;
58 compatible = "regulator-fixed";
59 regulator-name = "vcc_sys";
62 regulator-min-microvolt = <5000000>;
63 regulator-max-microvolt = <5000000>;
64 vin-supply = <&dc_12v>;
67 vcc_phy: vcc-phy-regulator {
68 compatible = "regulator-fixed";
69 regulator-name = "vcc_phy";
76 cpu-supply = <&vdd_arm>;
80 cpu-supply = <&vdd_arm>;
84 cpu-supply = <&vdd_arm>;
88 cpu-supply = <&vdd_arm>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
101 phy-supply = <&vcc_phy>;
102 clock_in_out = "output";
103 assigned-clock-rate = <50000000>;
104 assigned-clocks = <&cru SCLK_MAC2PHY>;
105 assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>;
113 compatible = "rockchip,rk805";
115 interrupt-parent = <&gpio2>;
116 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
118 clock-output-names = "xin32k", "rk805-clkout2";
121 pinctrl-names = "default";
122 pinctrl-0 = <&pmic_int_l>;
123 rockchip,system-power-controller;
126 vcc1-supply = <&vcc_sys>;
127 vcc2-supply = <&vcc_sys>;
128 vcc3-supply = <&vcc_sys>;
129 vcc4-supply = <&vcc_sys>;
130 vcc5-supply = <&vcc_io>;
131 vcc6-supply = <&vcc_io>;
134 vdd_logic: DCDC_REG1 {
135 regulator-name = "vdd_logic";
136 regulator-min-microvolt = <712500>;
137 regulator-max-microvolt = <1450000>;
140 regulator-state-mem {
141 regulator-on-in-suspend;
142 regulator-suspend-microvolt = <1000000>;
147 regulator-name = "vdd_arm";
148 regulator-min-microvolt = <712500>;
149 regulator-max-microvolt = <1450000>;
152 regulator-state-mem {
153 regulator-on-in-suspend;
154 regulator-suspend-microvolt = <950000>;
159 regulator-name = "vcc_ddr";
162 regulator-state-mem {
163 regulator-on-in-suspend;
168 regulator-name = "vcc_io";
169 regulator-min-microvolt = <3300000>;
170 regulator-max-microvolt = <3300000>;
173 regulator-state-mem {
174 regulator-on-in-suspend;
175 regulator-suspend-microvolt = <3300000>;
180 regulator-name = "vcc_18";
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
185 regulator-state-mem {
186 regulator-on-in-suspend;
187 regulator-suspend-microvolt = <1800000>;
191 vcc18_emmc: LDO_REG2 {
192 regulator-name = "vcc18_emmc";
193 regulator-min-microvolt = <1800000>;
194 regulator-max-microvolt = <1800000>;
197 regulator-state-mem {
198 regulator-on-in-suspend;
199 regulator-suspend-microvolt = <1800000>;
204 regulator-name = "vdd_10";
205 regulator-min-microvolt = <1000000>;
206 regulator-max-microvolt = <1000000>;
209 regulator-state-mem {
210 regulator-on-in-suspend;
211 regulator-suspend-microvolt = <1000000>;
220 pmic_int_l: pmic-int-l {
221 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
226 wifi_enable_h: wifi-enable-h {
228 <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
237 keep-power-in-suspend;
238 max-frequency = <150000000>;
239 mmc-pwrseq = <&sdio_pwrseq>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
251 max-frequency = <150000000>;
252 pinctrl-names = "default";
253 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
254 vmmc-supply = <&vcc_sd>;