1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2020 Radxa
10 model = "Radxa Rockpi E";
11 compatible = "radxa,rock-pi-e", "rockchip,rk3328";
14 stdout-path = "serial2:1500000n8";
17 gmac_clkin: external-gmac-clock {
18 compatible = "fixed-clock";
19 clock-frequency = <125000000>;
20 clock-output-names = "gmac_clkin";
24 vcc_sd: sdmmc-regulator {
25 compatible = "regulator-fixed";
26 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
27 pinctrl-names = "default";
28 pinctrl-0 = <&sdmmc0m1_gpio>;
29 regulator-name = "vcc_sd";
32 regulator-min-microvolt = <3300000>;
33 regulator-max-microvolt = <3300000>;
34 vin-supply = <&vcc_io>;
37 vcc5v0_host_xhci: vcc5v0-host-xhci-drv {
38 compatible = "regulator-fixed";
40 regulator-name = "vcc5v0_host_xhci";
41 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
42 regulator-min-microvolt = <5000000>;
43 regulator-max-microvolt = <5000000>;
47 compatible = "regulator-fixed";
48 regulator-name = "vcc_sys";
51 regulator-min-microvolt = <5000000>;
52 regulator-max-microvolt = <5000000>;
57 cpu-supply = <&vdd_arm>;
61 cpu-supply = <&vdd_arm>;
65 cpu-supply = <&vdd_arm>;
69 cpu-supply = <&vdd_arm>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
82 vmmc-supply = <&vcc_io>;
83 vqmmc-supply = <&vcc18_emmc>;
88 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
89 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
90 clock_in_out = "input";
91 phy-supply = <&vcc_io>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&rgmiim1_pins>;
95 snps,force_thresh_dma_mode;
96 snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
97 snps,reset-active-low;
98 snps,reset-delays-us = <0 10000 50000>;
108 compatible = "rockchip,rk805";
111 interrupt-parent = <&gpio2>;
112 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
114 clock-output-names = "xin32k", "rk805-clkout2";
115 pinctrl-names = "default";
116 pinctrl-0 = <&pmic_int_l>;
117 rockchip,system-power-controller;
120 vcc1-supply = <&vcc_sys>;
121 vcc2-supply = <&vcc_sys>;
122 vcc3-supply = <&vcc_sys>;
123 vcc4-supply = <&vcc_sys>;
124 vcc5-supply = <&vcc_io>;
125 vcc6-supply = <&vcc_sys>;
128 vdd_logic: DCDC_REG1 {
129 regulator-name = "vdd_logic";
130 regulator-min-microvolt = <712500>;
131 regulator-max-microvolt = <1450000>;
132 regulator-ramp-delay = <12500>;
135 regulator-state-mem {
136 regulator-on-in-suspend;
137 regulator-suspend-microvolt = <1000000>;
142 regulator-name = "vdd_arm";
143 regulator-min-microvolt = <712500>;
144 regulator-max-microvolt = <1450000>;
145 regulator-ramp-delay = <12500>;
148 regulator-state-mem {
149 regulator-on-in-suspend;
150 regulator-suspend-microvolt = <950000>;
155 regulator-name = "vcc_ddr";
158 regulator-state-mem {
159 regulator-on-in-suspend;
164 regulator-name = "vcc_io";
165 regulator-min-microvolt = <3300000>;
166 regulator-max-microvolt = <3300000>;
169 regulator-state-mem {
170 regulator-on-in-suspend;
171 regulator-suspend-microvolt = <3300000>;
176 regulator-name = "vcc_18";
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
181 regulator-state-mem {
182 regulator-on-in-suspend;
183 regulator-suspend-microvolt = <1800000>;
187 vcc18_emmc: LDO_REG2 {
188 regulator-name = "vcc18_emmc";
189 regulator-min-microvolt = <1800000>;
190 regulator-max-microvolt = <1800000>;
193 regulator-state-mem {
194 regulator-on-in-suspend;
195 regulator-suspend-microvolt = <1800000>;
200 regulator-name = "vdd_10";
201 regulator-min-microvolt = <1000000>;
202 regulator-max-microvolt = <1000000>;
205 regulator-state-mem {
206 regulator-on-in-suspend;
207 regulator-suspend-microvolt = <1000000>;
217 vccio1-supply = <&vcc_io>;
218 vccio2-supply = <&vcc18_emmc>;
219 vccio3-supply = <&vcc_io>;
220 vccio4-supply = <&vcc_io>;
221 vccio5-supply = <&vcc_io>;
222 vccio6-supply = <&vcc_io>;
223 pmuio-supply = <&vcc_io>;
228 pmic_int_l: pmic-int-l {
229 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
238 card-detect-delay = <200>;
240 max-frequency = <150000000>;
242 pinctrl-names = "default";
243 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
245 vmmc-supply = <&vcc_sd>;