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";
37 gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&usb20_host_drv>;
40 regulator-name = "vcc_host_5v";
43 vin-supply = <&vcc_sys>;
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>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
79 vmmc-supply = <&vcc_io>;
80 vqmmc-supply = <&vcc18_emmc>;
85 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
86 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
87 clock_in_out = "input";
88 phy-supply = <&vcc_io>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&rgmiim1_pins>;
92 snps,force_thresh_dma_mode;
93 snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
94 snps,reset-active-low;
95 snps,reset-delays-us = <0 10000 50000>;
105 compatible = "rockchip,rk805";
107 interrupt-parent = <&gpio2>;
108 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
110 clock-output-names = "xin32k", "rk805-clkout2";
111 pinctrl-names = "default";
112 pinctrl-0 = <&pmic_int_l>;
113 rockchip,system-power-controller;
116 vcc1-supply = <&vcc_sys>;
117 vcc2-supply = <&vcc_sys>;
118 vcc3-supply = <&vcc_sys>;
119 vcc4-supply = <&vcc_sys>;
120 vcc5-supply = <&vcc_io>;
121 vcc6-supply = <&vcc_sys>;
124 vdd_logic: DCDC_REG1 {
125 regulator-name = "vdd_logic";
126 regulator-min-microvolt = <712500>;
127 regulator-max-microvolt = <1450000>;
128 regulator-ramp-delay = <12500>;
131 regulator-state-mem {
132 regulator-on-in-suspend;
133 regulator-suspend-microvolt = <1000000>;
138 regulator-name = "vdd_arm";
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 = <950000>;
151 regulator-name = "vcc_ddr";
154 regulator-state-mem {
155 regulator-on-in-suspend;
160 regulator-name = "vcc_io";
161 regulator-min-microvolt = <3300000>;
162 regulator-max-microvolt = <3300000>;
165 regulator-state-mem {
166 regulator-on-in-suspend;
167 regulator-suspend-microvolt = <3300000>;
172 regulator-name = "vdd_18";
173 regulator-min-microvolt = <1800000>;
174 regulator-max-microvolt = <1800000>;
177 regulator-state-mem {
178 regulator-on-in-suspend;
179 regulator-suspend-microvolt = <1800000>;
183 vcc18_emmc: LDO_REG2 {
184 regulator-name = "vcc_18emmc";
185 regulator-min-microvolt = <1800000>;
186 regulator-max-microvolt = <1800000>;
189 regulator-state-mem {
190 regulator-on-in-suspend;
191 regulator-suspend-microvolt = <1800000>;
196 regulator-name = "vdd_10";
197 regulator-min-microvolt = <1000000>;
198 regulator-max-microvolt = <1000000>;
201 regulator-state-mem {
202 regulator-on-in-suspend;
203 regulator-suspend-microvolt = <1000000>;
213 vccio1-supply = <&vcc_io>;
214 vccio2-supply = <&vcc18_emmc>;
215 vccio3-supply = <&vcc_io>;
216 vccio4-supply = <&vcc_18>;
217 vccio5-supply = <&vcc_io>;
218 vccio6-supply = <&vcc_io>;
219 pmuio-supply = <&vcc_io>;
224 pmic_int_l: pmic-int-l {
225 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
230 usb20_host_drv: usb20-host-drv {
231 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
241 max-frequency = <150000000>;
242 pinctrl-names = "default";
243 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
244 vmmc-supply = <&vcc_sd>;
252 compatible = "jedec,spi-nor";
255 /* maximum speed for Rockchip SPI */
256 spi-max-frequency = <50000000>;