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 clock-frequency = <400000>;
121 i2c-scl-rising-time-ns = <168>;
122 i2c-scl-falling-time-ns = <4>;
126 compatible = "rockchip,rk805";
129 interrupt-parent = <&gpio2>;
130 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pmic_int_l>;
133 rockchip,system-power-controller;
138 clock-output-names = "xin32k", "rk805-clkout2";
141 vdd_logic: DCDC_REG1 {
142 regulator-name = "vdd_logic";
143 regulator-min-microvolt = <712500>;
144 regulator-max-microvolt = <1450000>;
145 regulator-ramp-delay = <6001>;
148 regulator-state-mem {
149 regulator-on-in-suspend;
150 regulator-suspend-microvolt = <1000000>;
155 regulator-name = "vdd_arm";
156 regulator-min-microvolt = <712500>;
157 regulator-max-microvolt = <1450000>;
158 regulator-ramp-delay = <6001>;
161 regulator-state-mem {
162 regulator-on-in-suspend;
163 regulator-suspend-microvolt = <1000000>;
168 regulator-name = "vcc_ddr";
171 regulator-state-mem {
172 regulator-on-in-suspend;
177 regulator-name = "vcc_io";
178 regulator-min-microvolt = <3300000>;
179 regulator-max-microvolt = <3300000>;
182 regulator-state-mem {
183 regulator-on-in-suspend;
184 regulator-suspend-microvolt = <3300000>;
189 regulator-name = "vdd_18";
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1800000>;
194 regulator-state-mem {
195 regulator-on-in-suspend;
196 regulator-suspend-microvolt = <1800000>;
200 vcc_18emmc: LDO_REG2 {
201 regulator-name = "vcc_18emmc";
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <1800000>;
206 regulator-state-mem {
207 regulator-on-in-suspend;
208 regulator-suspend-microvolt = <1800000>;
213 regulator-name = "vdd_10";
214 regulator-min-microvolt = <1000000>;
215 regulator-max-microvolt = <1000000>;
218 regulator-state-mem {
219 regulator-on-in-suspend;
220 regulator-suspend-microvolt = <1000000>;
229 pmic_int_l: pmic-int-l {
231 <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>; /* gpio2_a6 */