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";
14 ethernet0 = &gmac2phy;
21 stdout-path = "serial2:1500000n8";
25 compatible = "regulator-fixed";
26 regulator-name = "dc_12v";
29 regulator-min-microvolt = <12000000>;
30 regulator-max-microvolt = <12000000>;
33 sdio_pwrseq: sdio-pwrseq {
34 compatible = "mmc-pwrseq-simple";
35 pinctrl-names = "default";
36 pinctrl-0 = <&wifi_enable_h>;
39 * On the module itself this is one of these (depending
40 * on the actual card populated):
41 * - SDIO_RESET_L_WL_REG_ON
42 * - PDN (power down when low)
44 reset-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
47 vcc_sd: sdmmc-regulator {
48 compatible = "regulator-fixed";
49 gpio = <&gpio0 30 GPIO_ACTIVE_LOW>;
50 pinctrl-names = "default";
51 pinctrl-0 = <&sdmmc0m1_pin>;
52 regulator-name = "vcc_sd";
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
55 vin-supply = <&vcc_io>;
59 compatible = "regulator-fixed";
60 regulator-name = "vcc_sys";
63 regulator-min-microvolt = <5000000>;
64 regulator-max-microvolt = <5000000>;
65 vin-supply = <&dc_12v>;
68 vcc_phy: vcc-phy-regulator {
69 compatible = "regulator-fixed";
70 regulator-name = "vcc_phy";
77 cpu-supply = <&vdd_arm>;
81 cpu-supply = <&vdd_arm>;
85 cpu-supply = <&vdd_arm>;
89 cpu-supply = <&vdd_arm>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
102 phy-supply = <&vcc_phy>;
103 clock_in_out = "output";
104 assigned-clock-rate = <50000000>;
105 assigned-clocks = <&cru SCLK_MAC2PHY>;
106 assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>;
114 compatible = "rockchip,rk805";
116 interrupt-parent = <&gpio2>;
117 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
119 clock-output-names = "xin32k", "rk805-clkout2";
122 pinctrl-names = "default";
123 pinctrl-0 = <&pmic_int_l>;
124 rockchip,system-power-controller;
127 vcc1-supply = <&vcc_sys>;
128 vcc2-supply = <&vcc_sys>;
129 vcc3-supply = <&vcc_sys>;
130 vcc4-supply = <&vcc_sys>;
131 vcc5-supply = <&vcc_io>;
132 vcc6-supply = <&vcc_io>;
135 vdd_logic: DCDC_REG1 {
136 regulator-name = "vdd_logic";
137 regulator-min-microvolt = <712500>;
138 regulator-max-microvolt = <1450000>;
141 regulator-state-mem {
142 regulator-on-in-suspend;
143 regulator-suspend-microvolt = <1000000>;
148 regulator-name = "vdd_arm";
149 regulator-min-microvolt = <712500>;
150 regulator-max-microvolt = <1450000>;
153 regulator-state-mem {
154 regulator-on-in-suspend;
155 regulator-suspend-microvolt = <950000>;
160 regulator-name = "vcc_ddr";
163 regulator-state-mem {
164 regulator-on-in-suspend;
169 regulator-name = "vcc_io";
170 regulator-min-microvolt = <3300000>;
171 regulator-max-microvolt = <3300000>;
174 regulator-state-mem {
175 regulator-on-in-suspend;
176 regulator-suspend-microvolt = <3300000>;
181 regulator-name = "vcc_18";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
186 regulator-state-mem {
187 regulator-on-in-suspend;
188 regulator-suspend-microvolt = <1800000>;
192 vcc18_emmc: LDO_REG2 {
193 regulator-name = "vcc18_emmc";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
198 regulator-state-mem {
199 regulator-on-in-suspend;
200 regulator-suspend-microvolt = <1800000>;
205 regulator-name = "vdd_10";
206 regulator-min-microvolt = <1000000>;
207 regulator-max-microvolt = <1000000>;
210 regulator-state-mem {
211 regulator-on-in-suspend;
212 regulator-suspend-microvolt = <1000000>;
221 pmic_int_l: pmic-int-l {
222 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
227 wifi_enable_h: wifi-enable-h {
229 <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
238 keep-power-in-suspend;
239 max-frequency = <150000000>;
240 mmc-pwrseq = <&sdio_pwrseq>;
242 pinctrl-names = "default";
243 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
252 max-frequency = <150000000>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
255 vmmc-supply = <&vcc_sd>;