1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 PINE64
10 model = "Pine64 Rock64";
11 compatible = "pine64,rock64", "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";
30 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
32 vin-supply = <&vcc_io>;
35 vcc_host_5v: vcc-host-5v-regulator {
36 compatible = "regulator-fixed";
38 gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
39 pinctrl-names = "default";
40 pinctrl-0 = <&usb30_host_drv>;
41 regulator-name = "vcc_host_5v";
44 vin-supply = <&vcc_sys>;
47 vcc_host1_5v: vcc_otg_5v: vcc-host1-5v-regulator {
48 compatible = "regulator-fixed";
49 gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
50 pinctrl-names = "default";
51 pinctrl-0 = <&usb20_host_drv>;
52 regulator-name = "vcc_host1_5v";
55 vin-supply = <&vcc_sys>;
59 compatible = "regulator-fixed";
60 regulator-name = "vcc_sys";
63 regulator-min-microvolt = <5000000>;
64 regulator-max-microvolt = <5000000>;
69 cpu-supply = <&vdd_arm>;
73 cpu-supply = <&vdd_arm>;
77 cpu-supply = <&vdd_arm>;
81 cpu-supply = <&vdd_arm>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
90 vmmc-supply = <&vcc_io>;
91 vqmmc-supply = <&vcc18_emmc>;
96 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
97 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
98 clock_in_out = "input";
99 phy-supply = <&vcc_io>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&rgmiim1_pins>;
103 snps,force_thresh_dma_mode;
104 snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
105 snps,reset-active-low;
106 snps,reset-delays-us = <0 10000 50000>;
116 compatible = "rockchip,rk805";
118 interrupt-parent = <&gpio2>;
119 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
121 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_sys>;
135 vdd_logic: DCDC_REG1 {
136 regulator-name = "vdd_logic";
137 regulator-min-microvolt = <712500>;
138 regulator-max-microvolt = <1450000>;
139 regulator-ramp-delay = <12500>;
142 regulator-state-mem {
143 regulator-on-in-suspend;
144 regulator-suspend-microvolt = <1000000>;
149 regulator-name = "vdd_arm";
150 regulator-min-microvolt = <712500>;
151 regulator-max-microvolt = <1450000>;
152 regulator-ramp-delay = <12500>;
155 regulator-state-mem {
156 regulator-on-in-suspend;
157 regulator-suspend-microvolt = <950000>;
162 regulator-name = "vcc_ddr";
165 regulator-state-mem {
166 regulator-on-in-suspend;
171 regulator-name = "vcc_io";
172 regulator-min-microvolt = <3300000>;
173 regulator-max-microvolt = <3300000>;
176 regulator-state-mem {
177 regulator-on-in-suspend;
178 regulator-suspend-microvolt = <3300000>;
183 regulator-name = "vdd_18";
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
188 regulator-state-mem {
189 regulator-on-in-suspend;
190 regulator-suspend-microvolt = <1800000>;
194 vcc18_emmc: LDO_REG2 {
195 regulator-name = "vcc_18emmc";
196 regulator-min-microvolt = <1800000>;
197 regulator-max-microvolt = <1800000>;
200 regulator-state-mem {
201 regulator-on-in-suspend;
202 regulator-suspend-microvolt = <1800000>;
207 regulator-name = "vdd_10";
208 regulator-min-microvolt = <1000000>;
209 regulator-max-microvolt = <1000000>;
212 regulator-state-mem {
213 regulator-on-in-suspend;
214 regulator-suspend-microvolt = <1000000>;
224 vccio1-supply = <&vcc_io>;
225 vccio2-supply = <&vcc18_emmc>;
226 vccio3-supply = <&vcc_io>;
227 vccio4-supply = <&vcc_18>;
228 vccio5-supply = <&vcc_io>;
229 vccio6-supply = <&vcc_io>;
230 pmuio-supply = <&vcc_io>;
235 pmic_int_l: pmic-int-l {
236 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
241 usb20_host_drv: usb20-host-drv {
242 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
247 usb30_host_drv: usb30-host-drv {
248 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
258 max-frequency = <150000000>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
261 vmmc-supply = <&vcc_sd>;
266 rockchip,hw-tshut-mode = <0>;
267 rockchip,hw-tshut-polarity = <0>;
278 u2phy_host: host-port {
282 u2phy_otg: otg-port {