xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3568-roc-pc.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*aa1a8ff2SEmmanuel Vadot/*
3*aa1a8ff2SEmmanuel Vadot * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
4*aa1a8ff2SEmmanuel Vadot */
5*aa1a8ff2SEmmanuel Vadot
6*aa1a8ff2SEmmanuel Vadot/dts-v1/;
7*aa1a8ff2SEmmanuel Vadot
8*aa1a8ff2SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
9*aa1a8ff2SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
10*aa1a8ff2SEmmanuel Vadot#include <dt-bindings/soc/rockchip,vop2.h>
11*aa1a8ff2SEmmanuel Vadot#include "rk3568.dtsi"
12*aa1a8ff2SEmmanuel Vadot
13*aa1a8ff2SEmmanuel Vadot/ {
14*aa1a8ff2SEmmanuel Vadot	model = "Firefly Station P2";
15*aa1a8ff2SEmmanuel Vadot	compatible = "firefly,rk3568-roc-pc", "rockchip,rk3568";
16*aa1a8ff2SEmmanuel Vadot
17*aa1a8ff2SEmmanuel Vadot	aliases {
18*aa1a8ff2SEmmanuel Vadot		ethernet0 = &gmac0;
19*aa1a8ff2SEmmanuel Vadot		ethernet1 = &gmac1;
20*aa1a8ff2SEmmanuel Vadot		mmc0 = &sdmmc0;
21*aa1a8ff2SEmmanuel Vadot		mmc1 = &sdhci;
22*aa1a8ff2SEmmanuel Vadot	};
23*aa1a8ff2SEmmanuel Vadot
24*aa1a8ff2SEmmanuel Vadot	chosen: chosen {
25*aa1a8ff2SEmmanuel Vadot		stdout-path = "serial2:1500000n8";
26*aa1a8ff2SEmmanuel Vadot	};
27*aa1a8ff2SEmmanuel Vadot
28*aa1a8ff2SEmmanuel Vadot	dc_12v: dc-12v-regulator {
29*aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
30*aa1a8ff2SEmmanuel Vadot		regulator-name = "dc_12v";
31*aa1a8ff2SEmmanuel Vadot		regulator-always-on;
32*aa1a8ff2SEmmanuel Vadot		regulator-boot-on;
33*aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <12000000>;
34*aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <12000000>;
35*aa1a8ff2SEmmanuel Vadot	};
36*aa1a8ff2SEmmanuel Vadot
37*aa1a8ff2SEmmanuel Vadot	gmac0_clkin: external-gmac0-clock {
38*aa1a8ff2SEmmanuel Vadot		compatible = "fixed-clock";
39*aa1a8ff2SEmmanuel Vadot		clock-frequency = <125000000>;
40*aa1a8ff2SEmmanuel Vadot		clock-output-names = "gmac0_clkin";
41*aa1a8ff2SEmmanuel Vadot		#clock-cells = <0>;
42*aa1a8ff2SEmmanuel Vadot	};
43*aa1a8ff2SEmmanuel Vadot
44*aa1a8ff2SEmmanuel Vadot	gmac1_clkin: external-gmac1-clock {
45*aa1a8ff2SEmmanuel Vadot		compatible = "fixed-clock";
46*aa1a8ff2SEmmanuel Vadot		clock-frequency = <125000000>;
47*aa1a8ff2SEmmanuel Vadot		clock-output-names = "gmac1_clkin";
48*aa1a8ff2SEmmanuel Vadot		#clock-cells = <0>;
49*aa1a8ff2SEmmanuel Vadot	};
50*aa1a8ff2SEmmanuel Vadot
51*aa1a8ff2SEmmanuel Vadot	leds {
52*aa1a8ff2SEmmanuel Vadot		compatible = "gpio-leds";
53*aa1a8ff2SEmmanuel Vadot
54*aa1a8ff2SEmmanuel Vadot		led-user {
55*aa1a8ff2SEmmanuel Vadot			label = "user-led";
56*aa1a8ff2SEmmanuel Vadot			default-state = "on";
57*aa1a8ff2SEmmanuel Vadot			gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
58*aa1a8ff2SEmmanuel Vadot			linux,default-trigger = "heartbeat";
59*aa1a8ff2SEmmanuel Vadot			pinctrl-names = "default";
60*aa1a8ff2SEmmanuel Vadot			pinctrl-0 = <&user_led_enable_h>;
61*aa1a8ff2SEmmanuel Vadot			retain-state-suspended;
62*aa1a8ff2SEmmanuel Vadot		};
63*aa1a8ff2SEmmanuel Vadot	};
64*aa1a8ff2SEmmanuel Vadot
65*aa1a8ff2SEmmanuel Vadot	hdmi-con {
66*aa1a8ff2SEmmanuel Vadot		compatible = "hdmi-connector";
67*aa1a8ff2SEmmanuel Vadot		type = "a";
68*aa1a8ff2SEmmanuel Vadot
69*aa1a8ff2SEmmanuel Vadot		port {
70*aa1a8ff2SEmmanuel Vadot			hdmi_con_in: endpoint {
71*aa1a8ff2SEmmanuel Vadot				remote-endpoint = <&hdmi_out_con>;
72*aa1a8ff2SEmmanuel Vadot			};
73*aa1a8ff2SEmmanuel Vadot		};
74*aa1a8ff2SEmmanuel Vadot	};
75*aa1a8ff2SEmmanuel Vadot
76*aa1a8ff2SEmmanuel Vadot	pcie30_avdd0v9: pcie30-avdd0v9-regulator {
77*aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
78*aa1a8ff2SEmmanuel Vadot		regulator-name = "pcie30_avdd0v9";
79*aa1a8ff2SEmmanuel Vadot		regulator-always-on;
80*aa1a8ff2SEmmanuel Vadot		regulator-boot-on;
81*aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <900000>;
82*aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <900000>;
83*aa1a8ff2SEmmanuel Vadot		vin-supply = <&vcc3v3_sys>;
84*aa1a8ff2SEmmanuel Vadot	};
85*aa1a8ff2SEmmanuel Vadot
86*aa1a8ff2SEmmanuel Vadot	pcie30_avdd1v8: pcie30-avdd1v8-regulator {
87*aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
88*aa1a8ff2SEmmanuel Vadot		regulator-name = "pcie30_avdd1v8";
89*aa1a8ff2SEmmanuel Vadot		regulator-always-on;
90*aa1a8ff2SEmmanuel Vadot		regulator-boot-on;
91*aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
92*aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
93*aa1a8ff2SEmmanuel Vadot		vin-supply = <&vcc3v3_sys>;
94*aa1a8ff2SEmmanuel Vadot	};
95*aa1a8ff2SEmmanuel Vadot
96*aa1a8ff2SEmmanuel Vadot	vcc3v3_sys: vcc3v3-sys-regulator {
97*aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
98*aa1a8ff2SEmmanuel Vadot		regulator-name = "vcc3v3_sys";
99*aa1a8ff2SEmmanuel Vadot		regulator-always-on;
100*aa1a8ff2SEmmanuel Vadot		regulator-boot-on;
101*aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
102*aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
103*aa1a8ff2SEmmanuel Vadot		vin-supply = <&dc_12v>;
104*aa1a8ff2SEmmanuel Vadot	};
105*aa1a8ff2SEmmanuel Vadot
106*aa1a8ff2SEmmanuel Vadot	vcc3v3_pcie: vcc3v3-pcie-regulator {
107*aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
108*aa1a8ff2SEmmanuel Vadot		regulator-name = "vcc3v3_pcie";
109*aa1a8ff2SEmmanuel Vadot		enable-active-high;
110*aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
111*aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
112*aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
113*aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&vcc3v3_pcie_en_pin>;
114*aa1a8ff2SEmmanuel Vadot		gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
115*aa1a8ff2SEmmanuel Vadot		startup-delay-us = <5000>;
116*aa1a8ff2SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
117*aa1a8ff2SEmmanuel Vadot	};
118*aa1a8ff2SEmmanuel Vadot
119*aa1a8ff2SEmmanuel Vadot	vcc5v0_sys: vcc5v0-sys-regulator {
120*aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
121*aa1a8ff2SEmmanuel Vadot		regulator-name = "vcc5v0_sys";
122*aa1a8ff2SEmmanuel Vadot		regulator-always-on;
123*aa1a8ff2SEmmanuel Vadot		regulator-boot-on;
124*aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
125*aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
126*aa1a8ff2SEmmanuel Vadot		vin-supply = <&dc_12v>;
127*aa1a8ff2SEmmanuel Vadot	};
128*aa1a8ff2SEmmanuel Vadot
129*aa1a8ff2SEmmanuel Vadot	vcc5v0_usb: vcc5v0-usb-regulator {
130*aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
131*aa1a8ff2SEmmanuel Vadot		regulator-name = "vcc5v0_usb";
132*aa1a8ff2SEmmanuel Vadot		regulator-always-on;
133*aa1a8ff2SEmmanuel Vadot		regulator-boot-on;
134*aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
135*aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
136*aa1a8ff2SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
137*aa1a8ff2SEmmanuel Vadot	};
138*aa1a8ff2SEmmanuel Vadot
139*aa1a8ff2SEmmanuel Vadot	vcc5v0_host: vcc5v0-host-regulator {
140*aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
141*aa1a8ff2SEmmanuel Vadot		regulator-name = "vcc5v0_host";
142*aa1a8ff2SEmmanuel Vadot		enable-active-high;
143*aa1a8ff2SEmmanuel Vadot		gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
144*aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
145*aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&vcc5v0_host_en>;
146*aa1a8ff2SEmmanuel Vadot		regulator-always-on;
147*aa1a8ff2SEmmanuel Vadot		vin-supply = <&vcc5v0_usb>;
148*aa1a8ff2SEmmanuel Vadot	};
149*aa1a8ff2SEmmanuel Vadot
150*aa1a8ff2SEmmanuel Vadot	vcc5v0_otg: vcc5v0-otg-regulator {
151*aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
152*aa1a8ff2SEmmanuel Vadot		regulator-name = "vcc5v0_otg";
153*aa1a8ff2SEmmanuel Vadot		enable-active-high;
154*aa1a8ff2SEmmanuel Vadot		gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
155*aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
156*aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&vcc5v0_otg_en>;
157*aa1a8ff2SEmmanuel Vadot		vin-supply = <&vcc5v0_usb>;
158*aa1a8ff2SEmmanuel Vadot	};
159*aa1a8ff2SEmmanuel Vadot};
160*aa1a8ff2SEmmanuel Vadot
161*aa1a8ff2SEmmanuel Vadot&combphy0 {
162*aa1a8ff2SEmmanuel Vadot	/* used for USB3 */
163*aa1a8ff2SEmmanuel Vadot	status = "okay";
164*aa1a8ff2SEmmanuel Vadot};
165*aa1a8ff2SEmmanuel Vadot
166*aa1a8ff2SEmmanuel Vadot&combphy1 {
167*aa1a8ff2SEmmanuel Vadot	/* used for USB3 */
168*aa1a8ff2SEmmanuel Vadot	status = "okay";
169*aa1a8ff2SEmmanuel Vadot};
170*aa1a8ff2SEmmanuel Vadot
171*aa1a8ff2SEmmanuel Vadot&combphy2 {
172*aa1a8ff2SEmmanuel Vadot	/* used for SATA */
173*aa1a8ff2SEmmanuel Vadot	status = "okay";
174*aa1a8ff2SEmmanuel Vadot};
175*aa1a8ff2SEmmanuel Vadot
176*aa1a8ff2SEmmanuel Vadot&gmac0 {
177*aa1a8ff2SEmmanuel Vadot	assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
178*aa1a8ff2SEmmanuel Vadot	assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&gmac0_clkin>;
179*aa1a8ff2SEmmanuel Vadot	clock_in_out = "input";
180*aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
181*aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&gmac0_miim
182*aa1a8ff2SEmmanuel Vadot			&gmac0_tx_bus2
183*aa1a8ff2SEmmanuel Vadot			&gmac0_rx_bus2
184*aa1a8ff2SEmmanuel Vadot			&gmac0_rgmii_clk
185*aa1a8ff2SEmmanuel Vadot			&gmac0_rgmii_bus
186*aa1a8ff2SEmmanuel Vadot			&gmac0_clkinout>;
187*aa1a8ff2SEmmanuel Vadot	phy-handle = <&rgmii_phy0>;
188*aa1a8ff2SEmmanuel Vadot	phy-mode = "rgmii";
189*aa1a8ff2SEmmanuel Vadot	snps,reset-gpio = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
190*aa1a8ff2SEmmanuel Vadot	snps,reset-active-low;
191*aa1a8ff2SEmmanuel Vadot	/* Reset time is 20ms, 100ms for rtl8211f */
192*aa1a8ff2SEmmanuel Vadot	snps,reset-delays-us = <0 20000 100000>;
193*aa1a8ff2SEmmanuel Vadot	tx_delay = <0x3c>;
194*aa1a8ff2SEmmanuel Vadot	rx_delay = <0x2f>;
195*aa1a8ff2SEmmanuel Vadot	status = "okay";
196*aa1a8ff2SEmmanuel Vadot};
197*aa1a8ff2SEmmanuel Vadot
198*aa1a8ff2SEmmanuel Vadot&gmac1 {
199*aa1a8ff2SEmmanuel Vadot	assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
200*aa1a8ff2SEmmanuel Vadot	assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&gmac1_clkin>;
201*aa1a8ff2SEmmanuel Vadot	clock_in_out = "input";
202*aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
203*aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&gmac1m1_miim
204*aa1a8ff2SEmmanuel Vadot			&gmac1m1_tx_bus2
205*aa1a8ff2SEmmanuel Vadot			&gmac1m1_rx_bus2
206*aa1a8ff2SEmmanuel Vadot			&gmac1m1_rgmii_clk
207*aa1a8ff2SEmmanuel Vadot			&gmac1m1_rgmii_bus
208*aa1a8ff2SEmmanuel Vadot			&gmac1m1_clkinout>;
209*aa1a8ff2SEmmanuel Vadot	phy-handle = <&rgmii_phy1>;
210*aa1a8ff2SEmmanuel Vadot	phy-mode = "rgmii";
211*aa1a8ff2SEmmanuel Vadot	snps,reset-gpio = <&gpio2 RK_PD1 GPIO_ACTIVE_LOW>;
212*aa1a8ff2SEmmanuel Vadot	snps,reset-active-low;
213*aa1a8ff2SEmmanuel Vadot	/* Reset time is 20ms, 100ms for rtl8211f */
214*aa1a8ff2SEmmanuel Vadot	snps,reset-delays-us = <0 20000 100000>;
215*aa1a8ff2SEmmanuel Vadot	tx_delay = <0x4f>;
216*aa1a8ff2SEmmanuel Vadot	rx_delay = <0x26>;
217*aa1a8ff2SEmmanuel Vadot	status = "okay";
218*aa1a8ff2SEmmanuel Vadot};
219*aa1a8ff2SEmmanuel Vadot
220*aa1a8ff2SEmmanuel Vadot&gpu {
221*aa1a8ff2SEmmanuel Vadot	mali-supply = <&vdd_gpu>;
222*aa1a8ff2SEmmanuel Vadot	status = "okay";
223*aa1a8ff2SEmmanuel Vadot};
224*aa1a8ff2SEmmanuel Vadot
225*aa1a8ff2SEmmanuel Vadot&hdmi {
226*aa1a8ff2SEmmanuel Vadot	avdd-0v9-supply = <&vdda0v9_image>;
227*aa1a8ff2SEmmanuel Vadot	avdd-1v8-supply = <&vcca1v8_image>;
228*aa1a8ff2SEmmanuel Vadot	status = "okay";
229*aa1a8ff2SEmmanuel Vadot};
230*aa1a8ff2SEmmanuel Vadot
231*aa1a8ff2SEmmanuel Vadot&hdmi_in {
232*aa1a8ff2SEmmanuel Vadot	hdmi_in_vp0: endpoint {
233*aa1a8ff2SEmmanuel Vadot		remote-endpoint = <&vp0_out_hdmi>;
234*aa1a8ff2SEmmanuel Vadot	};
235*aa1a8ff2SEmmanuel Vadot};
236*aa1a8ff2SEmmanuel Vadot
237*aa1a8ff2SEmmanuel Vadot&hdmi_out {
238*aa1a8ff2SEmmanuel Vadot	hdmi_out_con: endpoint {
239*aa1a8ff2SEmmanuel Vadot		remote-endpoint = <&hdmi_con_in>;
240*aa1a8ff2SEmmanuel Vadot	};
241*aa1a8ff2SEmmanuel Vadot};
242*aa1a8ff2SEmmanuel Vadot
243*aa1a8ff2SEmmanuel Vadot&hdmi_sound {
244*aa1a8ff2SEmmanuel Vadot	status = "okay";
245*aa1a8ff2SEmmanuel Vadot};
246*aa1a8ff2SEmmanuel Vadot
247*aa1a8ff2SEmmanuel Vadot&i2c0 {
248*aa1a8ff2SEmmanuel Vadot	status = "okay";
249*aa1a8ff2SEmmanuel Vadot
250*aa1a8ff2SEmmanuel Vadot	rk809: pmic@20 {
251*aa1a8ff2SEmmanuel Vadot		compatible = "rockchip,rk809";
252*aa1a8ff2SEmmanuel Vadot		reg = <0x20>;
253*aa1a8ff2SEmmanuel Vadot		interrupt-parent = <&gpio0>;
254*aa1a8ff2SEmmanuel Vadot		interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
255*aa1a8ff2SEmmanuel Vadot		#clock-cells = <1>;
256*aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
257*aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&pmic_int>;
258*aa1a8ff2SEmmanuel Vadot		rockchip,system-power-controller;
259*aa1a8ff2SEmmanuel Vadot		vcc1-supply = <&vcc3v3_sys>;
260*aa1a8ff2SEmmanuel Vadot		vcc2-supply = <&vcc3v3_sys>;
261*aa1a8ff2SEmmanuel Vadot		vcc3-supply = <&vcc3v3_sys>;
262*aa1a8ff2SEmmanuel Vadot		vcc4-supply = <&vcc3v3_sys>;
263*aa1a8ff2SEmmanuel Vadot		vcc5-supply = <&vcc3v3_sys>;
264*aa1a8ff2SEmmanuel Vadot		vcc6-supply = <&vcc3v3_sys>;
265*aa1a8ff2SEmmanuel Vadot		vcc7-supply = <&vcc3v3_sys>;
266*aa1a8ff2SEmmanuel Vadot		vcc8-supply = <&vcc3v3_sys>;
267*aa1a8ff2SEmmanuel Vadot		vcc9-supply = <&vcc3v3_sys>;
268*aa1a8ff2SEmmanuel Vadot		wakeup-source;
269*aa1a8ff2SEmmanuel Vadot
270*aa1a8ff2SEmmanuel Vadot		regulators {
271*aa1a8ff2SEmmanuel Vadot			vdd_logic: DCDC_REG1 {
272*aa1a8ff2SEmmanuel Vadot				regulator-name = "vdd_logic";
273*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
274*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
275*aa1a8ff2SEmmanuel Vadot				regulator-init-microvolt = <900000>;
276*aa1a8ff2SEmmanuel Vadot				regulator-initial-mode = <0x2>;
277*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <500000>;
278*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <1350000>;
279*aa1a8ff2SEmmanuel Vadot				regulator-ramp-delay = <6001>;
280*aa1a8ff2SEmmanuel Vadot
281*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
282*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
283*aa1a8ff2SEmmanuel Vadot				};
284*aa1a8ff2SEmmanuel Vadot			};
285*aa1a8ff2SEmmanuel Vadot
286*aa1a8ff2SEmmanuel Vadot			vdd_gpu: DCDC_REG2 {
287*aa1a8ff2SEmmanuel Vadot				regulator-name = "vdd_gpu";
288*aa1a8ff2SEmmanuel Vadot				regulator-init-microvolt = <900000>;
289*aa1a8ff2SEmmanuel Vadot				regulator-initial-mode = <0x2>;
290*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <500000>;
291*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <1350000>;
292*aa1a8ff2SEmmanuel Vadot				regulator-ramp-delay = <6001>;
293*aa1a8ff2SEmmanuel Vadot
294*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
295*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
296*aa1a8ff2SEmmanuel Vadot				};
297*aa1a8ff2SEmmanuel Vadot			};
298*aa1a8ff2SEmmanuel Vadot
299*aa1a8ff2SEmmanuel Vadot			vcc_ddr: DCDC_REG3 {
300*aa1a8ff2SEmmanuel Vadot				regulator-name = "vcc_ddr";
301*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
302*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
303*aa1a8ff2SEmmanuel Vadot				regulator-initial-mode = <0x2>;
304*aa1a8ff2SEmmanuel Vadot
305*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
306*aa1a8ff2SEmmanuel Vadot					regulator-on-in-suspend;
307*aa1a8ff2SEmmanuel Vadot				};
308*aa1a8ff2SEmmanuel Vadot			};
309*aa1a8ff2SEmmanuel Vadot
310*aa1a8ff2SEmmanuel Vadot			vdd_npu: DCDC_REG4 {
311*aa1a8ff2SEmmanuel Vadot				regulator-name = "vdd_npu";
312*aa1a8ff2SEmmanuel Vadot				regulator-init-microvolt = <900000>;
313*aa1a8ff2SEmmanuel Vadot				regulator-initial-mode = <0x2>;
314*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <500000>;
315*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <1350000>;
316*aa1a8ff2SEmmanuel Vadot				regulator-ramp-delay = <6001>;
317*aa1a8ff2SEmmanuel Vadot
318*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
319*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
320*aa1a8ff2SEmmanuel Vadot				};
321*aa1a8ff2SEmmanuel Vadot			};
322*aa1a8ff2SEmmanuel Vadot
323*aa1a8ff2SEmmanuel Vadot			vcc_1v8: DCDC_REG5 {
324*aa1a8ff2SEmmanuel Vadot				regulator-name = "vcc_1v8";
325*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
326*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
327*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
328*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
329*aa1a8ff2SEmmanuel Vadot
330*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
331*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
332*aa1a8ff2SEmmanuel Vadot				};
333*aa1a8ff2SEmmanuel Vadot			};
334*aa1a8ff2SEmmanuel Vadot
335*aa1a8ff2SEmmanuel Vadot			vdda0v9_image: LDO_REG1 {
336*aa1a8ff2SEmmanuel Vadot				regulator-name = "vdda0v9_image";
337*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <900000>;
338*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <900000>;
339*aa1a8ff2SEmmanuel Vadot
340*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
341*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
342*aa1a8ff2SEmmanuel Vadot				};
343*aa1a8ff2SEmmanuel Vadot			};
344*aa1a8ff2SEmmanuel Vadot
345*aa1a8ff2SEmmanuel Vadot			vdda_0v9: LDO_REG2 {
346*aa1a8ff2SEmmanuel Vadot				regulator-name = "vdda_0v9";
347*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
348*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
349*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <900000>;
350*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <900000>;
351*aa1a8ff2SEmmanuel Vadot
352*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
353*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
354*aa1a8ff2SEmmanuel Vadot				};
355*aa1a8ff2SEmmanuel Vadot			};
356*aa1a8ff2SEmmanuel Vadot
357*aa1a8ff2SEmmanuel Vadot			vdda0v9_pmu: LDO_REG3 {
358*aa1a8ff2SEmmanuel Vadot				regulator-name = "vdda0v9_pmu";
359*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
360*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
361*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <900000>;
362*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <900000>;
363*aa1a8ff2SEmmanuel Vadot
364*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
365*aa1a8ff2SEmmanuel Vadot					regulator-on-in-suspend;
366*aa1a8ff2SEmmanuel Vadot					regulator-suspend-microvolt = <900000>;
367*aa1a8ff2SEmmanuel Vadot				};
368*aa1a8ff2SEmmanuel Vadot			};
369*aa1a8ff2SEmmanuel Vadot
370*aa1a8ff2SEmmanuel Vadot			vccio_acodec: LDO_REG4 {
371*aa1a8ff2SEmmanuel Vadot				regulator-name = "vccio_acodec";
372*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
373*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
374*aa1a8ff2SEmmanuel Vadot
375*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
376*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
377*aa1a8ff2SEmmanuel Vadot				};
378*aa1a8ff2SEmmanuel Vadot			};
379*aa1a8ff2SEmmanuel Vadot
380*aa1a8ff2SEmmanuel Vadot			vccio_sd: LDO_REG5 {
381*aa1a8ff2SEmmanuel Vadot				regulator-name = "vccio_sd";
382*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
383*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
384*aa1a8ff2SEmmanuel Vadot
385*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
386*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
387*aa1a8ff2SEmmanuel Vadot				};
388*aa1a8ff2SEmmanuel Vadot			};
389*aa1a8ff2SEmmanuel Vadot
390*aa1a8ff2SEmmanuel Vadot			vcc3v3_pmu: LDO_REG6 {
391*aa1a8ff2SEmmanuel Vadot				regulator-name = "vcc3v3_pmu";
392*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
393*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
394*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
395*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
396*aa1a8ff2SEmmanuel Vadot
397*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
398*aa1a8ff2SEmmanuel Vadot					regulator-on-in-suspend;
399*aa1a8ff2SEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
400*aa1a8ff2SEmmanuel Vadot				};
401*aa1a8ff2SEmmanuel Vadot			};
402*aa1a8ff2SEmmanuel Vadot
403*aa1a8ff2SEmmanuel Vadot			vcca_1v8: LDO_REG7 {
404*aa1a8ff2SEmmanuel Vadot				regulator-name = "vcca_1v8";
405*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
406*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
407*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
408*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
409*aa1a8ff2SEmmanuel Vadot
410*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
411*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
412*aa1a8ff2SEmmanuel Vadot				};
413*aa1a8ff2SEmmanuel Vadot			};
414*aa1a8ff2SEmmanuel Vadot
415*aa1a8ff2SEmmanuel Vadot			vcca1v8_pmu: LDO_REG8 {
416*aa1a8ff2SEmmanuel Vadot				regulator-name = "vcca1v8_pmu";
417*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
418*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
419*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
420*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
421*aa1a8ff2SEmmanuel Vadot
422*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
423*aa1a8ff2SEmmanuel Vadot					regulator-on-in-suspend;
424*aa1a8ff2SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
425*aa1a8ff2SEmmanuel Vadot				};
426*aa1a8ff2SEmmanuel Vadot			};
427*aa1a8ff2SEmmanuel Vadot
428*aa1a8ff2SEmmanuel Vadot			vcca1v8_image: LDO_REG9 {
429*aa1a8ff2SEmmanuel Vadot				regulator-name = "vcca1v8_image";
430*aa1a8ff2SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
431*aa1a8ff2SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
432*aa1a8ff2SEmmanuel Vadot
433*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
434*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
435*aa1a8ff2SEmmanuel Vadot				};
436*aa1a8ff2SEmmanuel Vadot			};
437*aa1a8ff2SEmmanuel Vadot
438*aa1a8ff2SEmmanuel Vadot			vcc_3v3: SWITCH_REG1 {
439*aa1a8ff2SEmmanuel Vadot				regulator-name = "vcc_3v3";
440*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
441*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
442*aa1a8ff2SEmmanuel Vadot
443*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
444*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
445*aa1a8ff2SEmmanuel Vadot				};
446*aa1a8ff2SEmmanuel Vadot			};
447*aa1a8ff2SEmmanuel Vadot
448*aa1a8ff2SEmmanuel Vadot			vcc3v3_sd: SWITCH_REG2 {
449*aa1a8ff2SEmmanuel Vadot				regulator-name = "vcc3v3_sd";
450*aa1a8ff2SEmmanuel Vadot				regulator-always-on;
451*aa1a8ff2SEmmanuel Vadot				regulator-boot-on;
452*aa1a8ff2SEmmanuel Vadot
453*aa1a8ff2SEmmanuel Vadot				regulator-state-mem {
454*aa1a8ff2SEmmanuel Vadot					regulator-off-in-suspend;
455*aa1a8ff2SEmmanuel Vadot				};
456*aa1a8ff2SEmmanuel Vadot			};
457*aa1a8ff2SEmmanuel Vadot		};
458*aa1a8ff2SEmmanuel Vadot	};
459*aa1a8ff2SEmmanuel Vadot};
460*aa1a8ff2SEmmanuel Vadot
461*aa1a8ff2SEmmanuel Vadot&i2s0_8ch {
462*aa1a8ff2SEmmanuel Vadot	status = "okay";
463*aa1a8ff2SEmmanuel Vadot};
464*aa1a8ff2SEmmanuel Vadot
465*aa1a8ff2SEmmanuel Vadot&mdio0 {
466*aa1a8ff2SEmmanuel Vadot	rgmii_phy0: phy@0 {
467*aa1a8ff2SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
468*aa1a8ff2SEmmanuel Vadot		reg = <0x0>;
469*aa1a8ff2SEmmanuel Vadot	};
470*aa1a8ff2SEmmanuel Vadot};
471*aa1a8ff2SEmmanuel Vadot
472*aa1a8ff2SEmmanuel Vadot&mdio1 {
473*aa1a8ff2SEmmanuel Vadot	rgmii_phy1: phy@0 {
474*aa1a8ff2SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
475*aa1a8ff2SEmmanuel Vadot		reg = <0x0>;
476*aa1a8ff2SEmmanuel Vadot	};
477*aa1a8ff2SEmmanuel Vadot};
478*aa1a8ff2SEmmanuel Vadot
479*aa1a8ff2SEmmanuel Vadot&pcie30phy {
480*aa1a8ff2SEmmanuel Vadot	status = "okay";
481*aa1a8ff2SEmmanuel Vadot};
482*aa1a8ff2SEmmanuel Vadot
483*aa1a8ff2SEmmanuel Vadot&pcie3x2 {
484*aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
485*aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pcie_reset_pin>;
486*aa1a8ff2SEmmanuel Vadot	reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
487*aa1a8ff2SEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie>;
488*aa1a8ff2SEmmanuel Vadot	status = "okay";
489*aa1a8ff2SEmmanuel Vadot};
490*aa1a8ff2SEmmanuel Vadot
491*aa1a8ff2SEmmanuel Vadot&pinctrl {
492*aa1a8ff2SEmmanuel Vadot	leds {
493*aa1a8ff2SEmmanuel Vadot		user_led_enable_h: user-led-enable-h {
494*aa1a8ff2SEmmanuel Vadot			rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
495*aa1a8ff2SEmmanuel Vadot		};
496*aa1a8ff2SEmmanuel Vadot	};
497*aa1a8ff2SEmmanuel Vadot
498*aa1a8ff2SEmmanuel Vadot	usb {
499*aa1a8ff2SEmmanuel Vadot		vcc5v0_host_en: vcc5v0-host-en {
500*aa1a8ff2SEmmanuel Vadot			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
501*aa1a8ff2SEmmanuel Vadot		};
502*aa1a8ff2SEmmanuel Vadot
503*aa1a8ff2SEmmanuel Vadot		vcc5v0_otg_en: vcc5v0-otg-en {
504*aa1a8ff2SEmmanuel Vadot			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
505*aa1a8ff2SEmmanuel Vadot		};
506*aa1a8ff2SEmmanuel Vadot	};
507*aa1a8ff2SEmmanuel Vadot
508*aa1a8ff2SEmmanuel Vadot	pcie {
509*aa1a8ff2SEmmanuel Vadot		pcie_reset_pin: pcie-reset-pin {
510*aa1a8ff2SEmmanuel Vadot			rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
511*aa1a8ff2SEmmanuel Vadot		};
512*aa1a8ff2SEmmanuel Vadot		vcc3v3_pcie_en_pin: vcc3v3-pcie-en-pin {
513*aa1a8ff2SEmmanuel Vadot			rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
514*aa1a8ff2SEmmanuel Vadot		};
515*aa1a8ff2SEmmanuel Vadot	};
516*aa1a8ff2SEmmanuel Vadot
517*aa1a8ff2SEmmanuel Vadot	pmic {
518*aa1a8ff2SEmmanuel Vadot		pmic_int: pmic-int {
519*aa1a8ff2SEmmanuel Vadot			rockchip,pins =
520*aa1a8ff2SEmmanuel Vadot				<0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
521*aa1a8ff2SEmmanuel Vadot		};
522*aa1a8ff2SEmmanuel Vadot	};
523*aa1a8ff2SEmmanuel Vadot};
524*aa1a8ff2SEmmanuel Vadot
525*aa1a8ff2SEmmanuel Vadot&pmu_io_domains {
526*aa1a8ff2SEmmanuel Vadot	pmuio1-supply = <&vcc3v3_pmu>;
527*aa1a8ff2SEmmanuel Vadot	pmuio2-supply = <&vcc3v3_pmu>;
528*aa1a8ff2SEmmanuel Vadot	vccio1-supply = <&vccio_acodec>;
529*aa1a8ff2SEmmanuel Vadot	vccio2-supply = <&vcc_1v8>;
530*aa1a8ff2SEmmanuel Vadot	vccio3-supply = <&vccio_sd>;
531*aa1a8ff2SEmmanuel Vadot	vccio4-supply = <&vcc_1v8>;
532*aa1a8ff2SEmmanuel Vadot	vccio5-supply = <&vcc_3v3>;
533*aa1a8ff2SEmmanuel Vadot	vccio6-supply = <&vcc_1v8>;
534*aa1a8ff2SEmmanuel Vadot	vccio7-supply = <&vcc_3v3>;
535*aa1a8ff2SEmmanuel Vadot	status = "okay";
536*aa1a8ff2SEmmanuel Vadot};
537*aa1a8ff2SEmmanuel Vadot
538*aa1a8ff2SEmmanuel Vadot&saradc {
539*aa1a8ff2SEmmanuel Vadot	vref-supply = <&vcca_1v8>;
540*aa1a8ff2SEmmanuel Vadot	status = "okay";
541*aa1a8ff2SEmmanuel Vadot};
542*aa1a8ff2SEmmanuel Vadot
543*aa1a8ff2SEmmanuel Vadot&sata2 {
544*aa1a8ff2SEmmanuel Vadot	status = "okay";
545*aa1a8ff2SEmmanuel Vadot};
546*aa1a8ff2SEmmanuel Vadot
547*aa1a8ff2SEmmanuel Vadot&sdhci {
548*aa1a8ff2SEmmanuel Vadot	bus-width = <8>;
549*aa1a8ff2SEmmanuel Vadot	max-frequency = <200000000>;
550*aa1a8ff2SEmmanuel Vadot	non-removable;
551*aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
552*aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
553*aa1a8ff2SEmmanuel Vadot	status = "okay";
554*aa1a8ff2SEmmanuel Vadot};
555*aa1a8ff2SEmmanuel Vadot
556*aa1a8ff2SEmmanuel Vadot&sdmmc0 {
557*aa1a8ff2SEmmanuel Vadot	bus-width = <4>;
558*aa1a8ff2SEmmanuel Vadot	cap-sd-highspeed;
559*aa1a8ff2SEmmanuel Vadot	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
560*aa1a8ff2SEmmanuel Vadot	disable-wp;
561*aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
562*aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
563*aa1a8ff2SEmmanuel Vadot	sd-uhs-sdr104;
564*aa1a8ff2SEmmanuel Vadot	vmmc-supply = <&vcc3v3_sd>;
565*aa1a8ff2SEmmanuel Vadot	vqmmc-supply = <&vccio_sd>;
566*aa1a8ff2SEmmanuel Vadot	status = "okay";
567*aa1a8ff2SEmmanuel Vadot};
568*aa1a8ff2SEmmanuel Vadot
569*aa1a8ff2SEmmanuel Vadot&tsadc {
570*aa1a8ff2SEmmanuel Vadot	status = "okay";
571*aa1a8ff2SEmmanuel Vadot};
572*aa1a8ff2SEmmanuel Vadot
573*aa1a8ff2SEmmanuel Vadot&uart2 {
574*aa1a8ff2SEmmanuel Vadot	status = "okay";
575*aa1a8ff2SEmmanuel Vadot};
576*aa1a8ff2SEmmanuel Vadot
577*aa1a8ff2SEmmanuel Vadot&usb2phy0_host {
578*aa1a8ff2SEmmanuel Vadot	phy-supply = <&vcc5v0_host>;
579*aa1a8ff2SEmmanuel Vadot	status = "okay";
580*aa1a8ff2SEmmanuel Vadot};
581*aa1a8ff2SEmmanuel Vadot
582*aa1a8ff2SEmmanuel Vadot&usb2phy0 {
583*aa1a8ff2SEmmanuel Vadot	status = "okay";
584*aa1a8ff2SEmmanuel Vadot};
585*aa1a8ff2SEmmanuel Vadot
586*aa1a8ff2SEmmanuel Vadot&usb2phy1 {
587*aa1a8ff2SEmmanuel Vadot	status = "okay";
588*aa1a8ff2SEmmanuel Vadot};
589*aa1a8ff2SEmmanuel Vadot
590*aa1a8ff2SEmmanuel Vadot&usb2phy0_otg {
591*aa1a8ff2SEmmanuel Vadot	status = "okay";
592*aa1a8ff2SEmmanuel Vadot};
593*aa1a8ff2SEmmanuel Vadot
594*aa1a8ff2SEmmanuel Vadot&usb2phy1_host {
595*aa1a8ff2SEmmanuel Vadot	phy-supply = <&vcc5v0_host>;
596*aa1a8ff2SEmmanuel Vadot	status = "okay";
597*aa1a8ff2SEmmanuel Vadot};
598*aa1a8ff2SEmmanuel Vadot
599*aa1a8ff2SEmmanuel Vadot&usb2phy1_otg {
600*aa1a8ff2SEmmanuel Vadot	phy-supply = <&vcc5v0_host>;
601*aa1a8ff2SEmmanuel Vadot	status = "okay";
602*aa1a8ff2SEmmanuel Vadot};
603*aa1a8ff2SEmmanuel Vadot
604*aa1a8ff2SEmmanuel Vadot&usb_host0_ehci {
605*aa1a8ff2SEmmanuel Vadot	status = "okay";
606*aa1a8ff2SEmmanuel Vadot};
607*aa1a8ff2SEmmanuel Vadot
608*aa1a8ff2SEmmanuel Vadot&usb_host0_ohci {
609*aa1a8ff2SEmmanuel Vadot	status = "okay";
610*aa1a8ff2SEmmanuel Vadot};
611*aa1a8ff2SEmmanuel Vadot
612*aa1a8ff2SEmmanuel Vadot&usb_host1_ehci {
613*aa1a8ff2SEmmanuel Vadot	status = "okay";
614*aa1a8ff2SEmmanuel Vadot};
615*aa1a8ff2SEmmanuel Vadot
616*aa1a8ff2SEmmanuel Vadot&usb_host1_ohci {
617*aa1a8ff2SEmmanuel Vadot	status = "okay";
618*aa1a8ff2SEmmanuel Vadot};
619*aa1a8ff2SEmmanuel Vadot
620*aa1a8ff2SEmmanuel Vadot&usb_host0_xhci {
621*aa1a8ff2SEmmanuel Vadot	status = "okay";
622*aa1a8ff2SEmmanuel Vadot};
623*aa1a8ff2SEmmanuel Vadot
624*aa1a8ff2SEmmanuel Vadot&usb_host1_xhci {
625*aa1a8ff2SEmmanuel Vadot	status = "okay";
626*aa1a8ff2SEmmanuel Vadot};
627*aa1a8ff2SEmmanuel Vadot
628*aa1a8ff2SEmmanuel Vadot&vp0 {
629*aa1a8ff2SEmmanuel Vadot	vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
630*aa1a8ff2SEmmanuel Vadot		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
631*aa1a8ff2SEmmanuel Vadot		remote-endpoint = <&hdmi_in_vp0>;
632*aa1a8ff2SEmmanuel Vadot	};
633*aa1a8ff2SEmmanuel Vadot};
634*aa1a8ff2SEmmanuel Vadot
635*aa1a8ff2SEmmanuel Vadot&vop {
636*aa1a8ff2SEmmanuel Vadot	assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
637*aa1a8ff2SEmmanuel Vadot	assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
638*aa1a8ff2SEmmanuel Vadot	status = "okay";
639*aa1a8ff2SEmmanuel Vadot};
640*aa1a8ff2SEmmanuel Vadot
641*aa1a8ff2SEmmanuel Vadot&vop_mmu {
642*aa1a8ff2SEmmanuel Vadot	status = "okay";
643*aa1a8ff2SEmmanuel Vadot};
644