1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (C) 2017 Jagan Teki <jagan@amarulasolutions.com>
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/dts-v1/;
7*724ba675SRob Herring#include "rk3288.dtsi"
8*724ba675SRob Herring
9*724ba675SRob Herring/ {
10*724ba675SRob Herring	model = "Amarula Vyasa-RK3288";
11*724ba675SRob Herring	compatible = "amarula,vyasa-rk3288", "rockchip,rk3288";
12*724ba675SRob Herring
13*724ba675SRob Herring	chosen {
14*724ba675SRob Herring		stdout-path = &uart2;
15*724ba675SRob Herring	};
16*724ba675SRob Herring
17*724ba675SRob Herring	memory {
18*724ba675SRob Herring		reg = <0x0 0x0 0x0 0x80000000>;
19*724ba675SRob Herring		device_type = "memory";
20*724ba675SRob Herring	};
21*724ba675SRob Herring
22*724ba675SRob Herring	dc12_vbat: dc12-vbat {
23*724ba675SRob Herring		compatible = "regulator-fixed";
24*724ba675SRob Herring		regulator-name = "dc12_vbat";
25*724ba675SRob Herring		regulator-min-microvolt = <12000000>;
26*724ba675SRob Herring		regulator-max-microvolt = <12000000>;
27*724ba675SRob Herring		regulator-always-on;
28*724ba675SRob Herring		regulator-boot-on;
29*724ba675SRob Herring	};
30*724ba675SRob Herring
31*724ba675SRob Herring	vboot_3v3: vboot-3v3 {
32*724ba675SRob Herring		compatible = "regulator-fixed";
33*724ba675SRob Herring		regulator-name = "vboot_3v3";
34*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
35*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
36*724ba675SRob Herring		regulator-always-on;
37*724ba675SRob Herring		regulator-boot-on;
38*724ba675SRob Herring		vin-supply = <&dc12_vbat>;
39*724ba675SRob Herring	};
40*724ba675SRob Herring
41*724ba675SRob Herring	vcc_sys: vsys-regulator {
42*724ba675SRob Herring		compatible = "regulator-fixed";
43*724ba675SRob Herring		regulator-name = "vcc_sys";
44*724ba675SRob Herring		regulator-min-microvolt = <3700000>;
45*724ba675SRob Herring		regulator-max-microvolt = <3700000>;
46*724ba675SRob Herring		regulator-always-on;
47*724ba675SRob Herring		regulator-boot-on;
48*724ba675SRob Herring		vin-supply = <&dc12_vbat>;
49*724ba675SRob Herring	};
50*724ba675SRob Herring
51*724ba675SRob Herring	vboot_5v: vboot-5v {
52*724ba675SRob Herring		compatible = "regulator-fixed";
53*724ba675SRob Herring		regulator-name = "vboot_sv";
54*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
55*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
56*724ba675SRob Herring		regulator-always-on;
57*724ba675SRob Herring		regulator-boot-on;
58*724ba675SRob Herring		vin-supply = <&dc12_vbat>;
59*724ba675SRob Herring	};
60*724ba675SRob Herring
61*724ba675SRob Herring	v3g_3v3: v3g-3v3 {
62*724ba675SRob Herring		compatible = "regulator-fixed";
63*724ba675SRob Herring		regulator-name = "v3g_3v3";
64*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
65*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
66*724ba675SRob Herring		regulator-always-on;
67*724ba675SRob Herring		regulator-boot-on;
68*724ba675SRob Herring		vin-supply = <&dc12_vbat>;
69*724ba675SRob Herring	};
70*724ba675SRob Herring
71*724ba675SRob Herring	vsus_5v: vsus-5v {
72*724ba675SRob Herring		compatible = "regulator-fixed";
73*724ba675SRob Herring		regulator-name = "vsus_5v";
74*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
75*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
76*724ba675SRob Herring		regulator-always-on;
77*724ba675SRob Herring		regulator-boot-on;
78*724ba675SRob Herring		vin-supply = <&vcc_io>;
79*724ba675SRob Herring	};
80*724ba675SRob Herring
81*724ba675SRob Herring	vcc50_hdmi: vcc50-hdmi {
82*724ba675SRob Herring		compatible = "regulator-fixed";
83*724ba675SRob Herring		regulator-name = "vcc50_hdmi";
84*724ba675SRob Herring		enable-active-high;
85*724ba675SRob Herring		gpio = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>; /* HDMI_EN */
86*724ba675SRob Herring		pinctrl-names = "default";
87*724ba675SRob Herring		pinctrl-0 = <&vcc50_hdmi_en>;
88*724ba675SRob Herring		regulator-always-on;
89*724ba675SRob Herring		regulator-boot-on;
90*724ba675SRob Herring		vin-supply = <&vsus_5v>;
91*724ba675SRob Herring	};
92*724ba675SRob Herring
93*724ba675SRob Herring	vusb1_5v: vusb1-5v {
94*724ba675SRob Herring		compatible = "regulator-fixed";
95*724ba675SRob Herring		regulator-name = "vusb1_5v";
96*724ba675SRob Herring		enable-active-high;
97*724ba675SRob Herring		gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; /* OTG_VBUS_DRV */
98*724ba675SRob Herring		pinctrl-names = "default";
99*724ba675SRob Herring		pinctrl-0 = <&otg_vbus_drv>;
100*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
101*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
102*724ba675SRob Herring		vin-supply = <&vsus_5v>;
103*724ba675SRob Herring	};
104*724ba675SRob Herring
105*724ba675SRob Herring	vusb2_5v: vusb2-5v {
106*724ba675SRob Herring		compatible = "regulator-fixed";
107*724ba675SRob Herring		regulator-name = "vusb2_5v";
108*724ba675SRob Herring		enable-active-high;
109*724ba675SRob Herring		gpio = <&gpio8 RK_PB1 GPIO_ACTIVE_HIGH>; /* USB2_PWR_EN */
110*724ba675SRob Herring		pinctrl-names = "default";
111*724ba675SRob Herring		pinctrl-0 = <&usb2_pwr_en>;
112*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
113*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
114*724ba675SRob Herring		regulator-always-on;
115*724ba675SRob Herring		regulator-boot-on;
116*724ba675SRob Herring		vin-supply = <&vsus_5v>;
117*724ba675SRob Herring	};
118*724ba675SRob Herring
119*724ba675SRob Herring	ext_gmac: external-gmac-clock {
120*724ba675SRob Herring		compatible = "fixed-clock";
121*724ba675SRob Herring		#clock-cells = <0>;
122*724ba675SRob Herring		clock-frequency = <125000000>;
123*724ba675SRob Herring		clock-output-names = "ext_gmac";
124*724ba675SRob Herring	};
125*724ba675SRob Herring};
126*724ba675SRob Herring
127*724ba675SRob Herring&cpu0 {
128*724ba675SRob Herring	cpu-supply = <&vdd_cpu>;
129*724ba675SRob Herring};
130*724ba675SRob Herring
131*724ba675SRob Herring&cpu1 {
132*724ba675SRob Herring	cpu-supply = <&vdd_cpu>;
133*724ba675SRob Herring};
134*724ba675SRob Herring
135*724ba675SRob Herring&cpu2 {
136*724ba675SRob Herring	cpu-supply = <&vdd_cpu>;
137*724ba675SRob Herring};
138*724ba675SRob Herring
139*724ba675SRob Herring&cpu3 {
140*724ba675SRob Herring	cpu-supply = <&vdd_cpu>;
141*724ba675SRob Herring};
142*724ba675SRob Herring
143*724ba675SRob Herring&emmc {
144*724ba675SRob Herring	bus-width = <8>;
145*724ba675SRob Herring	cap-mmc-highspeed;
146*724ba675SRob Herring	non-removable;
147*724ba675SRob Herring	pinctrl-names = "default";
148*724ba675SRob Herring	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
149*724ba675SRob Herring	vmmc-supply = <&vcc_io>;
150*724ba675SRob Herring	status = "okay";
151*724ba675SRob Herring};
152*724ba675SRob Herring
153*724ba675SRob Herring&gmac {
154*724ba675SRob Herring	assigned-clocks = <&cru SCLK_MAC>;
155*724ba675SRob Herring	assigned-clock-parents = <&ext_gmac>;
156*724ba675SRob Herring	clock_in_out = "input";
157*724ba675SRob Herring	pinctrl-names = "default";
158*724ba675SRob Herring	pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
159*724ba675SRob Herring	phy-supply = <&vcc_lan>;
160*724ba675SRob Herring	phy-mode = "rgmii";
161*724ba675SRob Herring	snps,reset-active-low;
162*724ba675SRob Herring	snps,reset-delays-us = <0 10000 1000000>;
163*724ba675SRob Herring	snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
164*724ba675SRob Herring	tx_delay = <0x30>;
165*724ba675SRob Herring	rx_delay = <0x10>;
166*724ba675SRob Herring	status = "okay";
167*724ba675SRob Herring};
168*724ba675SRob Herring
169*724ba675SRob Herring&gpu {
170*724ba675SRob Herring	mali-supply = <&vdd_gpu>;
171*724ba675SRob Herring	status = "okay";
172*724ba675SRob Herring};
173*724ba675SRob Herring
174*724ba675SRob Herring&hdmi {
175*724ba675SRob Herring	ddc-i2c-bus = <&i2c5>;
176*724ba675SRob Herring	status = "okay";
177*724ba675SRob Herring};
178*724ba675SRob Herring
179*724ba675SRob Herring&i2c0 {
180*724ba675SRob Herring	clock-frequency = <400000>;
181*724ba675SRob Herring	status = "okay";
182*724ba675SRob Herring
183*724ba675SRob Herring	rk808: pmic@1b {
184*724ba675SRob Herring		compatible = "rockchip,rk808";
185*724ba675SRob Herring		reg = <0x1b>;
186*724ba675SRob Herring		interrupt-parent = <&gpio0>;
187*724ba675SRob Herring		interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
188*724ba675SRob Herring		#clock-cells = <1>;
189*724ba675SRob Herring		clock-output-names = "xin32k", "rk808-clkout2";
190*724ba675SRob Herring		pinctrl-names = "default";
191*724ba675SRob Herring		pinctrl-0 = <&pmic_int &global_pwroff>;
192*724ba675SRob Herring		rockchip,system-power-controller;
193*724ba675SRob Herring		wakeup-source;
194*724ba675SRob Herring
195*724ba675SRob Herring		vcc1-supply = <&vcc_sys>;
196*724ba675SRob Herring		vcc2-supply = <&vcc_sys>;
197*724ba675SRob Herring		vcc3-supply = <&vcc_sys>;
198*724ba675SRob Herring		vcc4-supply = <&vcc_sys>;
199*724ba675SRob Herring		vcc6-supply = <&vcc_sys>;
200*724ba675SRob Herring		vcc7-supply = <&vcc_sys>;
201*724ba675SRob Herring		vcc8-supply = <&vcc_io>;
202*724ba675SRob Herring		vcc9-supply = <&vcc_sys>;
203*724ba675SRob Herring		vcc10-supply = <&vcc_sys>;
204*724ba675SRob Herring		vcc11-supply = <&vcc_sys>;
205*724ba675SRob Herring		vcc12-supply = <&vcc_io>;
206*724ba675SRob Herring
207*724ba675SRob Herring		regulators {
208*724ba675SRob Herring			vdd_cpu: DCDC_REG1 {
209*724ba675SRob Herring				regulator-name = "vdd_arm";
210*724ba675SRob Herring				regulator-min-microvolt = <750000>;
211*724ba675SRob Herring				regulator-max-microvolt = <1350000>;
212*724ba675SRob Herring				regulator-always-on;
213*724ba675SRob Herring				regulator-boot-on;
214*724ba675SRob Herring				regulator-state-mem {
215*724ba675SRob Herring					regulator-off-in-suspend;
216*724ba675SRob Herring				};
217*724ba675SRob Herring			};
218*724ba675SRob Herring
219*724ba675SRob Herring			vdd_gpu: DCDC_REG2 {
220*724ba675SRob Herring				regulator-name = "vdd_gpu";
221*724ba675SRob Herring				regulator-min-microvolt = <850000>;
222*724ba675SRob Herring				regulator-max-microvolt = <1250000>;
223*724ba675SRob Herring				regulator-always-on;
224*724ba675SRob Herring				regulator-boot-on;
225*724ba675SRob Herring				regulator-state-mem {
226*724ba675SRob Herring					regulator-on-in-suspend;
227*724ba675SRob Herring					regulator-suspend-microvolt = <1000000>;
228*724ba675SRob Herring				};
229*724ba675SRob Herring			};
230*724ba675SRob Herring
231*724ba675SRob Herring			vcc_ddr: DCDC_REG3 {
232*724ba675SRob Herring				regulator-name = "vcc_ddr";
233*724ba675SRob Herring				regulator-always-on;
234*724ba675SRob Herring				regulator-boot-on;
235*724ba675SRob Herring				regulator-state-mem {
236*724ba675SRob Herring					regulator-on-in-suspend;
237*724ba675SRob Herring				};
238*724ba675SRob Herring			};
239*724ba675SRob Herring
240*724ba675SRob Herring			vcc_io: DCDC_REG4 {
241*724ba675SRob Herring				regulator-name = "vcc_io";
242*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
243*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
244*724ba675SRob Herring				regulator-always-on;
245*724ba675SRob Herring				regulator-boot-on;
246*724ba675SRob Herring				regulator-state-mem {
247*724ba675SRob Herring					regulator-on-in-suspend;
248*724ba675SRob Herring					regulator-suspend-microvolt = <3300000>;
249*724ba675SRob Herring				};
250*724ba675SRob Herring			};
251*724ba675SRob Herring
252*724ba675SRob Herring			vcca_tp: LDO_REG1 {
253*724ba675SRob Herring				regulator-name = "vcc_tp";
254*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
255*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
256*724ba675SRob Herring				regulator-always-on;
257*724ba675SRob Herring				regulator-boot-on;
258*724ba675SRob Herring				regulator-state-mem {
259*724ba675SRob Herring					regulator-on-in-suspend;
260*724ba675SRob Herring					regulator-suspend-microvolt = <3300000>;
261*724ba675SRob Herring				};
262*724ba675SRob Herring			};
263*724ba675SRob Herring
264*724ba675SRob Herring			vcc_codec: LDO_REG2 {
265*724ba675SRob Herring				regulator-name = "vcc_codec";
266*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
267*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
268*724ba675SRob Herring				regulator-always-on;
269*724ba675SRob Herring				regulator-boot-on;
270*724ba675SRob Herring				regulator-state-mem {
271*724ba675SRob Herring					regulator-off-in-suspend;
272*724ba675SRob Herring				};
273*724ba675SRob Herring			};
274*724ba675SRob Herring
275*724ba675SRob Herring			vdd_10: LDO_REG3 {
276*724ba675SRob Herring				regulator-name = "vdd_10";
277*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
278*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
279*724ba675SRob Herring				regulator-always-on;
280*724ba675SRob Herring				regulator-boot-on;
281*724ba675SRob Herring				regulator-state-mem {
282*724ba675SRob Herring					regulator-on-in-suspend;
283*724ba675SRob Herring					regulator-suspend-microvolt = <1000000>;
284*724ba675SRob Herring				};
285*724ba675SRob Herring			};
286*724ba675SRob Herring
287*724ba675SRob Herring			vcc_gps: LDO_REG4 {
288*724ba675SRob Herring				regulator-name = "vcc_gps";
289*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
290*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
291*724ba675SRob Herring				regulator-always-on;
292*724ba675SRob Herring				regulator-boot-on;
293*724ba675SRob Herring				regulator-state-mem {
294*724ba675SRob Herring					regulator-on-in-suspend;
295*724ba675SRob Herring					regulator-suspend-microvolt = <1800000>;
296*724ba675SRob Herring				};
297*724ba675SRob Herring			};
298*724ba675SRob Herring
299*724ba675SRob Herring			vccio_sd: LDO_REG5 {
300*724ba675SRob Herring				regulator-name = "vccio_sd";
301*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
302*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
303*724ba675SRob Herring				regulator-always-on;
304*724ba675SRob Herring				regulator-boot-on;
305*724ba675SRob Herring				regulator-state-mem {
306*724ba675SRob Herring					regulator-on-in-suspend;
307*724ba675SRob Herring					regulator-suspend-microvolt = <3300000>;
308*724ba675SRob Herring				};
309*724ba675SRob Herring			};
310*724ba675SRob Herring
311*724ba675SRob Herring			vdd10_lcd: LDO_REG6 {
312*724ba675SRob Herring				regulator-name = "vdd10_lcd";
313*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
314*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
315*724ba675SRob Herring				regulator-always-on;
316*724ba675SRob Herring				regulator-boot-on;
317*724ba675SRob Herring				regulator-state-mem {
318*724ba675SRob Herring					regulator-on-in-suspend;
319*724ba675SRob Herring					regulator-suspend-microvolt = <1000000>;
320*724ba675SRob Herring				};
321*724ba675SRob Herring			};
322*724ba675SRob Herring
323*724ba675SRob Herring			vcc_18: LDO_REG7 {
324*724ba675SRob Herring				regulator-name = "vcc_18";
325*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
326*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
327*724ba675SRob Herring				regulator-always-on;
328*724ba675SRob Herring				regulator-boot-on;
329*724ba675SRob Herring				regulator-state-mem {
330*724ba675SRob Herring					regulator-on-in-suspend;
331*724ba675SRob Herring					regulator-suspend-microvolt = <1800000>;
332*724ba675SRob Herring				};
333*724ba675SRob Herring			};
334*724ba675SRob Herring
335*724ba675SRob Herring			vcc18_lcd: LDO_REG8 {
336*724ba675SRob Herring				regulator-name = "vcc18_lcd";
337*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
338*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
339*724ba675SRob Herring				regulator-always-on;
340*724ba675SRob Herring				regulator-boot-on;
341*724ba675SRob Herring				regulator-state-mem {
342*724ba675SRob Herring					regulator-on-in-suspend;
343*724ba675SRob Herring					regulator-suspend-microvolt = <1800000>;
344*724ba675SRob Herring				};
345*724ba675SRob Herring			};
346*724ba675SRob Herring
347*724ba675SRob Herring			vcc_sd: SWITCH_REG1 {
348*724ba675SRob Herring				regulator-name = "vcc_sd";
349*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
350*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
351*724ba675SRob Herring				regulator-always-on;
352*724ba675SRob Herring				regulator-boot-on;
353*724ba675SRob Herring				regulator-state-mem {
354*724ba675SRob Herring					regulator-on-in-suspend;
355*724ba675SRob Herring				};
356*724ba675SRob Herring			};
357*724ba675SRob Herring
358*724ba675SRob Herring			vcc_lan: SWITCH_REG2 {
359*724ba675SRob Herring				regulator-name = "vcc_lan";
360*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
361*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
362*724ba675SRob Herring				regulator-always-on;
363*724ba675SRob Herring				regulator-boot-on;
364*724ba675SRob Herring				regulator-state-mem {
365*724ba675SRob Herring					regulator-on-in-suspend;
366*724ba675SRob Herring				};
367*724ba675SRob Herring			};
368*724ba675SRob Herring		};
369*724ba675SRob Herring	};
370*724ba675SRob Herring};
371*724ba675SRob Herring
372*724ba675SRob Herring&i2c5 {
373*724ba675SRob Herring	status = "okay";
374*724ba675SRob Herring};
375*724ba675SRob Herring
376*724ba675SRob Herring&io_domains {
377*724ba675SRob Herring	status = "okay";
378*724ba675SRob Herring
379*724ba675SRob Herring	audio-supply = <&vcc_18>;
380*724ba675SRob Herring	bb-supply = <&vcc_io>;
381*724ba675SRob Herring	dvp-supply = <&vcc_io>;
382*724ba675SRob Herring	flash0-supply = <&vcc_18>;
383*724ba675SRob Herring	flash1-supply = <&vcc_lan>;
384*724ba675SRob Herring	gpio30-supply = <&vcc_io>;
385*724ba675SRob Herring	gpio1830-supply = <&vcc_io>;
386*724ba675SRob Herring	lcdc-supply = <&vcc_io>;
387*724ba675SRob Herring	sdcard-supply = <&vccio_sd>;
388*724ba675SRob Herring	wifi-supply = <&vcc_18>;
389*724ba675SRob Herring};
390*724ba675SRob Herring
391*724ba675SRob Herring&sdmmc {
392*724ba675SRob Herring	bus-width = <4>;
393*724ba675SRob Herring	cap-mmc-highspeed;
394*724ba675SRob Herring	cap-sd-highspeed;
395*724ba675SRob Herring	card-detect-delay = <200>;
396*724ba675SRob Herring	disable-wp;
397*724ba675SRob Herring	pinctrl-names = "default";
398*724ba675SRob Herring	pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
399*724ba675SRob Herring	vmmc-supply = <&vcc_sd>;
400*724ba675SRob Herring	vqmmc-supply = <&vccio_sd>;
401*724ba675SRob Herring	status = "okay";
402*724ba675SRob Herring};
403*724ba675SRob Herring
404*724ba675SRob Herring&tsadc {
405*724ba675SRob Herring	rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
406*724ba675SRob Herring	rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
407*724ba675SRob Herring	status = "okay";
408*724ba675SRob Herring};
409*724ba675SRob Herring
410*724ba675SRob Herring&uart2 {
411*724ba675SRob Herring	status = "okay";
412*724ba675SRob Herring};
413*724ba675SRob Herring
414*724ba675SRob Herring&usbphy {
415*724ba675SRob Herring	status = "okay";
416*724ba675SRob Herring};
417*724ba675SRob Herring
418*724ba675SRob Herring&usb_host0_ehci {
419*724ba675SRob Herring	status = "okay";
420*724ba675SRob Herring};
421*724ba675SRob Herring
422*724ba675SRob Herring&usb_host1 {
423*724ba675SRob Herring	pinctrl-names = "default";
424*724ba675SRob Herring	pinctrl-0 = <&phy_pwr_en>;
425*724ba675SRob Herring	status = "okay";
426*724ba675SRob Herring};
427*724ba675SRob Herring
428*724ba675SRob Herring&usb_otg {
429*724ba675SRob Herring	vbus-supply = <&vusb1_5v>;
430*724ba675SRob Herring	status = "okay";
431*724ba675SRob Herring};
432*724ba675SRob Herring
433*724ba675SRob Herring&vopb {
434*724ba675SRob Herring	status = "okay";
435*724ba675SRob Herring};
436*724ba675SRob Herring
437*724ba675SRob Herring&vopb_mmu {
438*724ba675SRob Herring	status = "okay";
439*724ba675SRob Herring};
440*724ba675SRob Herring
441*724ba675SRob Herring&vopl {
442*724ba675SRob Herring	status = "okay";
443*724ba675SRob Herring};
444*724ba675SRob Herring
445*724ba675SRob Herring&vopl_mmu {
446*724ba675SRob Herring	status = "okay";
447*724ba675SRob Herring};
448*724ba675SRob Herring
449*724ba675SRob Herring&wdt {
450*724ba675SRob Herring	status = "okay";
451*724ba675SRob Herring};
452*724ba675SRob Herring
453*724ba675SRob Herring&pinctrl {
454*724ba675SRob Herring	pcfg_output_high: pcfg-output-high {
455*724ba675SRob Herring		output-high;
456*724ba675SRob Herring	};
457*724ba675SRob Herring
458*724ba675SRob Herring	gmac {
459*724ba675SRob Herring		phy_int: phy-int {
460*724ba675SRob Herring			rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>;
461*724ba675SRob Herring		};
462*724ba675SRob Herring
463*724ba675SRob Herring		phy_pmeb: phy-pmeb {
464*724ba675SRob Herring			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
465*724ba675SRob Herring		};
466*724ba675SRob Herring
467*724ba675SRob Herring		phy_rst: phy-rst {
468*724ba675SRob Herring			rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>;
469*724ba675SRob Herring		};
470*724ba675SRob Herring	};
471*724ba675SRob Herring
472*724ba675SRob Herring	hdmi {
473*724ba675SRob Herring		vcc50_hdmi_en: vcc50-hdmi-en {
474*724ba675SRob Herring			rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
475*724ba675SRob Herring		};
476*724ba675SRob Herring	};
477*724ba675SRob Herring
478*724ba675SRob Herring	pmic {
479*724ba675SRob Herring		pmic_int: pmic-int {
480*724ba675SRob Herring			rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
481*724ba675SRob Herring		};
482*724ba675SRob Herring	};
483*724ba675SRob Herring
484*724ba675SRob Herring	usb_host {
485*724ba675SRob Herring		phy_pwr_en: phy-pwr-en {
486*724ba675SRob Herring			rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_output_high>;
487*724ba675SRob Herring		};
488*724ba675SRob Herring
489*724ba675SRob Herring		usb2_pwr_en: usb2-pwr-en {
490*724ba675SRob Herring			rockchip,pins = <8 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
491*724ba675SRob Herring		};
492*724ba675SRob Herring	};
493*724ba675SRob Herring
494*724ba675SRob Herring	usb_otg {
495*724ba675SRob Herring		otg_vbus_drv: otg-vbus-drv {
496*724ba675SRob Herring			rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
497*724ba675SRob Herring
498*724ba675SRob Herring		};
499*724ba675SRob Herring	};
500*724ba675SRob Herring};
501