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";
43 vin-supply = <&vcc_sys>;
46 vcc_host1_5v: vcc_otg_5v: vcc-host1-5v-regulator {
47 compatible = "regulator-fixed";
49 gpio = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
50 pinctrl-names = "default";
51 pinctrl-0 = <&usb20_host_drv>;
52 regulator-name = "vcc_host1_5v";
54 vin-supply = <&vcc_sys>;
58 compatible = "regulator-fixed";
59 regulator-name = "vcc_sys";
62 regulator-min-microvolt = <5000000>;
63 regulator-max-microvolt = <5000000>;
68 cpu-supply = <&vdd_arm>;
72 cpu-supply = <&vdd_arm>;
76 cpu-supply = <&vdd_arm>;
80 cpu-supply = <&vdd_arm>;
87 pinctrl-names = "default";
88 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
89 vmmc-supply = <&vcc_io>;
90 vqmmc-supply = <&vcc18_emmc>;
95 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
96 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
97 clock_in_out = "input";
98 phy-supply = <&vcc_io>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&rgmiim1_pins>;
102 snps,force_thresh_dma_mode;
103 snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
104 snps,reset-active-low;
105 snps,reset-delays-us = <0 10000 50000>;
115 compatible = "rockchip,rk805";
117 interrupt-parent = <&gpio2>;
118 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
120 clock-output-names = "xin32k", "rk805-clkout2";
121 pinctrl-names = "default";
122 pinctrl-0 = <&pmic_int_l>;
123 rockchip,system-power-controller;
126 vcc1-supply = <&vcc_sys>;
127 vcc2-supply = <&vcc_sys>;
128 vcc3-supply = <&vcc_sys>;
129 vcc4-supply = <&vcc_sys>;
130 vcc5-supply = <&vcc_io>;
131 vcc6-supply = <&vcc_sys>;
134 vdd_logic: DCDC_REG1 {
135 regulator-name = "vdd_logic";
136 regulator-min-microvolt = <712500>;
137 regulator-max-microvolt = <1450000>;
138 regulator-ramp-delay = <12500>;
141 regulator-state-mem {
142 regulator-on-in-suspend;
143 regulator-suspend-microvolt = <1000000>;
148 regulator-name = "vdd_arm";
149 regulator-min-microvolt = <712500>;
150 regulator-max-microvolt = <1450000>;
151 regulator-ramp-delay = <12500>;
154 regulator-state-mem {
155 regulator-on-in-suspend;
156 regulator-suspend-microvolt = <950000>;
161 regulator-name = "vcc_ddr";
164 regulator-state-mem {
165 regulator-on-in-suspend;
170 regulator-name = "vcc_io";
171 regulator-min-microvolt = <3300000>;
172 regulator-max-microvolt = <3300000>;
175 regulator-state-mem {
176 regulator-on-in-suspend;
177 regulator-suspend-microvolt = <3300000>;
182 regulator-name = "vdd_18";
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <1800000>;
187 regulator-state-mem {
188 regulator-on-in-suspend;
189 regulator-suspend-microvolt = <1800000>;
193 vcc18_emmc: LDO_REG2 {
194 regulator-name = "vcc_18emmc";
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1800000>;
199 regulator-state-mem {
200 regulator-on-in-suspend;
201 regulator-suspend-microvolt = <1800000>;
206 regulator-name = "vdd_10";
207 regulator-min-microvolt = <1000000>;
208 regulator-max-microvolt = <1000000>;
211 regulator-state-mem {
212 regulator-on-in-suspend;
213 regulator-suspend-microvolt = <1000000>;
223 vccio1-supply = <&vcc_io>;
224 vccio2-supply = <&vcc18_emmc>;
225 vccio3-supply = <&vcc_io>;
226 vccio4-supply = <&vcc_18>;
227 vccio5-supply = <&vcc_io>;
228 vccio6-supply = <&vcc_io>;
229 pmuio-supply = <&vcc_io>;
234 pmic_int_l: pmic-int-l {
235 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
240 usb20_host_drv: usb20-host-drv {
241 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
246 usb30_host_drv: usb30-host-drv {
247 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
257 max-frequency = <150000000>;
258 pinctrl-names = "default";
259 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
260 vmmc-supply = <&vcc_sd>;
265 rockchip,hw-tshut-mode = <0>;
266 rockchip,hw-tshut-polarity = <0>;
277 u2phy_host: host-port {
281 u2phy_otg: otg-port {