1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
10 model = "Rockchip RK3328 EVB";
11 compatible = "rockchip,rk3328-evb", "rockchip,rk3328";
17 gmac_clkin: external-gmac-clock {
18 compatible = "fixed-clock";
19 clock-frequency = <125000000>;
20 clock-output-names = "gmac_clkin";
24 vcc3v3_sdmmc: sdmmc-pwren {
25 compatible = "regulator-fixed";
26 regulator-name = "vcc3v3";
27 gpio = <&gpio0 30 GPIO_ACTIVE_LOW>;
32 vcc5v0_otg: vcc5v0-otg-drv {
33 compatible = "regulator-fixed";
35 regulator-name = "vcc5v0_otg";
36 gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>;
37 regulator-min-microvolt = <5000000>;
38 regulator-max-microvolt = <5000000>;
41 vcc5v0_host_xhci: vcc5v0-host-xhci-drv {
42 compatible = "regulator-fixed";
44 regulator-name = "vcc5v0_host_xhci";
45 gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
46 regulator-min-microvolt = <5000000>;
47 regulator-max-microvolt = <5000000>;
50 vcc_phy: vcc-phy-regulator {
51 compatible = "regulator-fixed";
52 regulator-name = "vcc_phy";
70 card-detect-delay = <200>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
91 phy-supply = <&vcc_phy>;
93 clock_in_out = "input";
94 snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
95 snps,reset-active-low;
96 snps,reset-delays-us = <0 10000 50000>;
97 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
98 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&rgmiim1_pins>;
115 vbus-supply = <&vcc5v0_otg>;
120 vbus-supply = <&vcc5v0_host_xhci>;
125 clock-frequency = <400000>;
126 i2c-scl-rising-time-ns = <168>;
127 i2c-scl-falling-time-ns = <4>;
131 compatible = "rockchip,rk805";
134 interrupt-parent = <&gpio2>;
135 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
136 pinctrl-names = "default";
137 pinctrl-0 = <&pmic_int_l>;
138 rockchip,system-power-controller;
143 clock-output-names = "xin32k", "rk805-clkout2";
146 vdd_logic: DCDC_REG1 {
147 regulator-name = "vdd_logic";
148 regulator-min-microvolt = <712500>;
149 regulator-max-microvolt = <1450000>;
150 regulator-ramp-delay = <6001>;
153 regulator-state-mem {
154 regulator-on-in-suspend;
155 regulator-suspend-microvolt = <1000000>;
160 regulator-name = "vdd_arm";
161 regulator-min-microvolt = <712500>;
162 regulator-max-microvolt = <1450000>;
163 regulator-ramp-delay = <6001>;
166 regulator-state-mem {
167 regulator-on-in-suspend;
168 regulator-suspend-microvolt = <1000000>;
173 regulator-name = "vcc_ddr";
176 regulator-state-mem {
177 regulator-on-in-suspend;
182 regulator-name = "vcc_io";
183 regulator-min-microvolt = <3300000>;
184 regulator-max-microvolt = <3300000>;
187 regulator-state-mem {
188 regulator-on-in-suspend;
189 regulator-suspend-microvolt = <3300000>;
194 regulator-name = "vdd_18";
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1800000>;
199 regulator-state-mem {
200 regulator-on-in-suspend;
201 regulator-suspend-microvolt = <1800000>;
205 vcc_18emmc: LDO_REG2 {
206 regulator-name = "vcc_18emmc";
207 regulator-min-microvolt = <1800000>;
208 regulator-max-microvolt = <1800000>;
211 regulator-state-mem {
212 regulator-on-in-suspend;
213 regulator-suspend-microvolt = <1800000>;
218 regulator-name = "vdd_10";
219 regulator-min-microvolt = <1000000>;
220 regulator-max-microvolt = <1000000>;
223 regulator-state-mem {
224 regulator-on-in-suspend;
225 regulator-suspend-microvolt = <1000000>;
234 pmic_int_l: pmic-int-l {
236 <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>; /* gpio2_a6 */