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 stdout-path = "serial2:1500000n8";
18 compatible = "regulator-fixed";
19 regulator-name = "dc_12v";
22 regulator-min-microvolt = <12000000>;
23 regulator-max-microvolt = <12000000>;
26 sdio_pwrseq: sdio-pwrseq {
27 compatible = "mmc-pwrseq-simple";
28 pinctrl-names = "default";
29 pinctrl-0 = <&wifi_enable_h>;
32 * On the module itself this is one of these (depending
33 * on the actual card populated):
34 * - SDIO_RESET_L_WL_REG_ON
35 * - PDN (power down when low)
37 reset-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
40 vcc_sd: sdmmc-regulator {
41 compatible = "regulator-fixed";
42 gpio = <&gpio0 30 GPIO_ACTIVE_LOW>;
43 pinctrl-names = "default";
44 pinctrl-0 = <&sdmmc0m1_gpio>;
45 regulator-name = "vcc_sd";
46 regulator-min-microvolt = <3300000>;
47 regulator-max-microvolt = <3300000>;
48 vin-supply = <&vcc_io>;
52 compatible = "regulator-fixed";
53 regulator-name = "vcc_sys";
56 regulator-min-microvolt = <5000000>;
57 regulator-max-microvolt = <5000000>;
58 vin-supply = <&dc_12v>;
61 vcc_phy: vcc-phy-regulator {
62 compatible = "regulator-fixed";
63 regulator-name = "vcc_phy";
70 cpu-supply = <&vdd_arm>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
83 phy-supply = <&vcc_phy>;
84 clock_in_out = "output";
85 assigned-clocks = <&cru SCLK_MAC2PHY_SRC>;
86 assigned-clock-rate = <50000000>;
87 assigned-clocks = <&cru SCLK_MAC2PHY>;
88 assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>;
96 compatible = "rockchip,rk805";
98 interrupt-parent = <&gpio2>;
99 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
101 clock-output-names = "xin32k", "rk805-clkout2";
104 pinctrl-names = "default";
105 pinctrl-0 = <&pmic_int_l>;
106 rockchip,system-power-controller;
109 vcc1-supply = <&vcc_sys>;
110 vcc2-supply = <&vcc_sys>;
111 vcc3-supply = <&vcc_sys>;
112 vcc4-supply = <&vcc_sys>;
113 vcc5-supply = <&vcc_io>;
114 vcc6-supply = <&vcc_io>;
117 vdd_logic: DCDC_REG1 {
118 regulator-name = "vdd_logic";
119 regulator-min-microvolt = <712500>;
120 regulator-max-microvolt = <1450000>;
123 regulator-state-mem {
124 regulator-on-in-suspend;
125 regulator-suspend-microvolt = <1000000>;
130 regulator-name = "vdd_arm";
131 regulator-min-microvolt = <712500>;
132 regulator-max-microvolt = <1450000>;
135 regulator-state-mem {
136 regulator-on-in-suspend;
137 regulator-suspend-microvolt = <950000>;
142 regulator-name = "vcc_ddr";
145 regulator-state-mem {
146 regulator-on-in-suspend;
151 regulator-name = "vcc_io";
152 regulator-min-microvolt = <3300000>;
153 regulator-max-microvolt = <3300000>;
156 regulator-state-mem {
157 regulator-on-in-suspend;
158 regulator-suspend-microvolt = <3300000>;
163 regulator-name = "vcc_18";
164 regulator-min-microvolt = <1800000>;
165 regulator-max-microvolt = <1800000>;
168 regulator-state-mem {
169 regulator-on-in-suspend;
170 regulator-suspend-microvolt = <1800000>;
174 vcc18_emmc: LDO_REG2 {
175 regulator-name = "vcc18_emmc";
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
180 regulator-state-mem {
181 regulator-on-in-suspend;
182 regulator-suspend-microvolt = <1800000>;
187 regulator-name = "vdd_10";
188 regulator-min-microvolt = <1000000>;
189 regulator-max-microvolt = <1000000>;
192 regulator-state-mem {
193 regulator-on-in-suspend;
194 regulator-suspend-microvolt = <1000000>;
203 pmic_int_l: pmic-int-l {
204 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
209 wifi_enable_h: wifi-enable-h {
211 <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
220 keep-power-in-suspend;
221 max-frequency = <150000000>;
222 mmc-pwrseq = <&sdio_pwrseq>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
234 max-frequency = <150000000>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
237 vmmc-supply = <&vcc_sd>;