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";
50 gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
51 pinctrl-names = "default";
52 pinctrl-0 = <&usb20_host_drv>;
53 regulator-name = "vcc_host1_5v";
56 vin-supply = <&vcc_sys>;
60 compatible = "regulator-fixed";
61 regulator-name = "vcc_sys";
64 regulator-min-microvolt = <5000000>;
65 regulator-max-microvolt = <5000000>;
70 cpu-supply = <&vdd_arm>;
74 cpu-supply = <&vdd_arm>;
78 cpu-supply = <&vdd_arm>;
82 cpu-supply = <&vdd_arm>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
92 vmmc-supply = <&vcc_io>;
93 vqmmc-supply = <&vcc18_emmc>;
98 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
99 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
100 clock_in_out = "input";
101 phy-supply = <&vcc_io>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&rgmiim1_pins>;
105 snps,force_thresh_dma_mode;
106 snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
107 snps,reset-active-low;
108 snps,reset-delays-us = <0 10000 50000>;
118 compatible = "rockchip,rk805";
120 interrupt-parent = <&gpio2>;
121 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
123 clock-output-names = "xin32k", "rk805-clkout2";
124 pinctrl-names = "default";
125 pinctrl-0 = <&pmic_int_l>;
126 rockchip,system-power-controller;
129 vcc1-supply = <&vcc_sys>;
130 vcc2-supply = <&vcc_sys>;
131 vcc3-supply = <&vcc_sys>;
132 vcc4-supply = <&vcc_sys>;
133 vcc5-supply = <&vcc_io>;
134 vcc6-supply = <&vcc_sys>;
137 vdd_logic: DCDC_REG1 {
138 regulator-name = "vdd_logic";
139 regulator-min-microvolt = <712500>;
140 regulator-max-microvolt = <1450000>;
141 regulator-ramp-delay = <12500>;
144 regulator-state-mem {
145 regulator-on-in-suspend;
146 regulator-suspend-microvolt = <1000000>;
151 regulator-name = "vdd_arm";
152 regulator-min-microvolt = <712500>;
153 regulator-max-microvolt = <1450000>;
154 regulator-ramp-delay = <12500>;
157 regulator-state-mem {
158 regulator-on-in-suspend;
159 regulator-suspend-microvolt = <950000>;
164 regulator-name = "vcc_ddr";
167 regulator-state-mem {
168 regulator-on-in-suspend;
173 regulator-name = "vcc_io";
174 regulator-min-microvolt = <3300000>;
175 regulator-max-microvolt = <3300000>;
178 regulator-state-mem {
179 regulator-on-in-suspend;
180 regulator-suspend-microvolt = <3300000>;
185 regulator-name = "vdd_18";
186 regulator-min-microvolt = <1800000>;
187 regulator-max-microvolt = <1800000>;
190 regulator-state-mem {
191 regulator-on-in-suspend;
192 regulator-suspend-microvolt = <1800000>;
196 vcc18_emmc: LDO_REG2 {
197 regulator-name = "vcc_18emmc";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
202 regulator-state-mem {
203 regulator-on-in-suspend;
204 regulator-suspend-microvolt = <1800000>;
209 regulator-name = "vdd_10";
210 regulator-min-microvolt = <1000000>;
211 regulator-max-microvolt = <1000000>;
214 regulator-state-mem {
215 regulator-on-in-suspend;
216 regulator-suspend-microvolt = <1000000>;
226 vccio1-supply = <&vcc_io>;
227 vccio2-supply = <&vcc18_emmc>;
228 vccio3-supply = <&vcc_io>;
229 vccio4-supply = <&vcc_18>;
230 vccio5-supply = <&vcc_io>;
231 vccio6-supply = <&vcc_io>;
232 pmuio-supply = <&vcc_io>;
237 pmic_int_l: pmic-int-l {
238 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
243 usb20_host_drv: usb20-host-drv {
244 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
249 usb30_host_drv: usb30-host-drv {
250 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
260 max-frequency = <150000000>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
263 vmmc-supply = <&vcc_sd>;
271 compatible = "jedec,spi-nor";
274 /* maximum speed for Rockchip SPI */
275 spi-max-frequency = <50000000>;