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>;
69 compatible = "audio-graph-card";
70 label = "rockchip,rk3328";
75 compatible = "linux,spdif-dit";
76 #sound-dai-cells = <0>;
80 remote-endpoint = <&spdif_p0_0>;
87 cpu-supply = <&vdd_arm>;
91 cpu-supply = <&vdd_arm>;
95 cpu-supply = <&vdd_arm>;
99 cpu-supply = <&vdd_arm>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
109 vmmc-supply = <&vcc_io>;
110 vqmmc-supply = <&vcc18_emmc>;
115 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
116 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
117 clock_in_out = "input";
118 phy-supply = <&vcc_io>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&rgmiim1_pins>;
122 snps,force_thresh_dma_mode;
123 snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
124 snps,reset-active-low;
125 snps,reset-delays-us = <0 10000 50000>;
143 compatible = "rockchip,rk805";
145 interrupt-parent = <&gpio2>;
146 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
148 clock-output-names = "xin32k", "rk805-clkout2";
149 pinctrl-names = "default";
150 pinctrl-0 = <&pmic_int_l>;
151 rockchip,system-power-controller;
154 vcc1-supply = <&vcc_sys>;
155 vcc2-supply = <&vcc_sys>;
156 vcc3-supply = <&vcc_sys>;
157 vcc4-supply = <&vcc_sys>;
158 vcc5-supply = <&vcc_io>;
159 vcc6-supply = <&vcc_sys>;
162 vdd_logic: DCDC_REG1 {
163 regulator-name = "vdd_logic";
164 regulator-min-microvolt = <712500>;
165 regulator-max-microvolt = <1450000>;
166 regulator-ramp-delay = <12500>;
169 regulator-state-mem {
170 regulator-on-in-suspend;
171 regulator-suspend-microvolt = <1000000>;
176 regulator-name = "vdd_arm";
177 regulator-min-microvolt = <712500>;
178 regulator-max-microvolt = <1450000>;
179 regulator-ramp-delay = <12500>;
182 regulator-state-mem {
183 regulator-on-in-suspend;
184 regulator-suspend-microvolt = <950000>;
189 regulator-name = "vcc_ddr";
192 regulator-state-mem {
193 regulator-on-in-suspend;
198 regulator-name = "vcc_io";
199 regulator-min-microvolt = <3300000>;
200 regulator-max-microvolt = <3300000>;
203 regulator-state-mem {
204 regulator-on-in-suspend;
205 regulator-suspend-microvolt = <3300000>;
210 regulator-name = "vdd_18";
211 regulator-min-microvolt = <1800000>;
212 regulator-max-microvolt = <1800000>;
215 regulator-state-mem {
216 regulator-on-in-suspend;
217 regulator-suspend-microvolt = <1800000>;
221 vcc18_emmc: LDO_REG2 {
222 regulator-name = "vcc_18emmc";
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <1800000>;
227 regulator-state-mem {
228 regulator-on-in-suspend;
229 regulator-suspend-microvolt = <1800000>;
234 regulator-name = "vdd_10";
235 regulator-min-microvolt = <1000000>;
236 regulator-max-microvolt = <1000000>;
239 regulator-state-mem {
240 regulator-on-in-suspend;
241 regulator-suspend-microvolt = <1000000>;
251 vccio1-supply = <&vcc_io>;
252 vccio2-supply = <&vcc18_emmc>;
253 vccio3-supply = <&vcc_io>;
254 vccio4-supply = <&vcc_18>;
255 vccio5-supply = <&vcc_io>;
256 vccio6-supply = <&vcc_io>;
257 pmuio-supply = <&vcc_io>;
262 pmic_int_l: pmic-int-l {
263 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
268 usb20_host_drv: usb20-host-drv {
269 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
274 usb30_host_drv: usb30-host-drv {
275 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
285 max-frequency = <150000000>;
286 pinctrl-names = "default";
287 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
288 vmmc-supply = <&vcc_sd>;
293 pinctrl-0 = <&spdifm0_tx>;
295 #sound-dai-cells = <0>;
298 spdif_p0_0: endpoint {
299 remote-endpoint = <&dit_p0_0>;
308 compatible = "jedec,spi-nor";
311 /* maximum speed for Rockchip SPI */
312 spi-max-frequency = <50000000>;
317 rockchip,hw-tshut-mode = <0>;
318 rockchip,hw-tshut-polarity = <0>;
329 u2phy_host: host-port {
333 u2phy_otg: otg-port {