xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3588s-roc-pc.dts (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*833e5d42SEmmanuel Vadot
3*833e5d42SEmmanuel Vadot/dts-v1/;
4*833e5d42SEmmanuel Vadot
5*833e5d42SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
6*833e5d42SEmmanuel Vadot#include <dt-bindings/leds/common.h>
7*833e5d42SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
8*833e5d42SEmmanuel Vadot#include <dt-bindings/soc/rockchip,vop2.h>
9*833e5d42SEmmanuel Vadot#include <dt-bindings/usb/pd.h>
10*833e5d42SEmmanuel Vadot#include "rk3588s.dtsi"
11*833e5d42SEmmanuel Vadot
12*833e5d42SEmmanuel Vadot/ {
13*833e5d42SEmmanuel Vadot	model = "Firefly Station M3";
14*833e5d42SEmmanuel Vadot	compatible = "firefly,rk3588s-roc-pc", "rockchip,rk3588s";
15*833e5d42SEmmanuel Vadot
16*833e5d42SEmmanuel Vadot	aliases {
17*833e5d42SEmmanuel Vadot		ethernet0 = &gmac1;
18*833e5d42SEmmanuel Vadot		mmc0 = &sdhci;
19*833e5d42SEmmanuel Vadot		mmc1 = &sdmmc;
20*833e5d42SEmmanuel Vadot	};
21*833e5d42SEmmanuel Vadot
22*833e5d42SEmmanuel Vadot	analog-sound {
23*833e5d42SEmmanuel Vadot		compatible = "simple-audio-card";
24*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
25*833e5d42SEmmanuel Vadot		pinctrl-0 = <&hp_detect>;
26*833e5d42SEmmanuel Vadot		simple-audio-card,name = "rockchip,es8388";
27*833e5d42SEmmanuel Vadot		simple-audio-card,bitclock-master = <&masterdai>;
28*833e5d42SEmmanuel Vadot		simple-audio-card,format = "i2s";
29*833e5d42SEmmanuel Vadot		simple-audio-card,frame-master = <&masterdai>;
30*833e5d42SEmmanuel Vadot		simple-audio-card,hp-det-gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_LOW>;
31*833e5d42SEmmanuel Vadot		simple-audio-card,mclk-fs = <256>;
32*833e5d42SEmmanuel Vadot		simple-audio-card,pin-switches = "Headphones";
33*833e5d42SEmmanuel Vadot		simple-audio-card,routing =
34*833e5d42SEmmanuel Vadot			"Headphones", "LOUT1",
35*833e5d42SEmmanuel Vadot			"Headphones", "ROUT1",
36*833e5d42SEmmanuel Vadot			"LINPUT1", "Microphone Jack",
37*833e5d42SEmmanuel Vadot			"RINPUT1", "Microphone Jack",
38*833e5d42SEmmanuel Vadot			"LINPUT2", "Onboard Microphone",
39*833e5d42SEmmanuel Vadot			"RINPUT2", "Onboard Microphone";
40*833e5d42SEmmanuel Vadot		simple-audio-card,widgets =
41*833e5d42SEmmanuel Vadot			"Microphone", "Microphone Jack",
42*833e5d42SEmmanuel Vadot			"Microphone", "Onboard Microphone",
43*833e5d42SEmmanuel Vadot			"Headphone", "Headphones";
44*833e5d42SEmmanuel Vadot
45*833e5d42SEmmanuel Vadot		masterdai: simple-audio-card,codec {
46*833e5d42SEmmanuel Vadot			sound-dai = <&es8388>;
47*833e5d42SEmmanuel Vadot			system-clock-frequency = <12288000>;
48*833e5d42SEmmanuel Vadot		};
49*833e5d42SEmmanuel Vadot
50*833e5d42SEmmanuel Vadot		simple-audio-card,cpu {
51*833e5d42SEmmanuel Vadot			sound-dai = <&i2s0_8ch>;
52*833e5d42SEmmanuel Vadot		};
53*833e5d42SEmmanuel Vadot	};
54*833e5d42SEmmanuel Vadot
55*833e5d42SEmmanuel Vadot	chosen {
56*833e5d42SEmmanuel Vadot		stdout-path = "serial2:1500000n8";
57*833e5d42SEmmanuel Vadot	};
58*833e5d42SEmmanuel Vadot
59*833e5d42SEmmanuel Vadot	hdmi-con {
60*833e5d42SEmmanuel Vadot		compatible = "hdmi-connector";
61*833e5d42SEmmanuel Vadot		type = "a";
62*833e5d42SEmmanuel Vadot
63*833e5d42SEmmanuel Vadot		port {
64*833e5d42SEmmanuel Vadot			hdmi_con_in: endpoint {
65*833e5d42SEmmanuel Vadot				remote-endpoint = <&hdmi0_out_con>;
66*833e5d42SEmmanuel Vadot			};
67*833e5d42SEmmanuel Vadot		};
68*833e5d42SEmmanuel Vadot	};
69*833e5d42SEmmanuel Vadot
70*833e5d42SEmmanuel Vadot	fan: fan {
71*833e5d42SEmmanuel Vadot		compatible = "pwm-fan";
72*833e5d42SEmmanuel Vadot		cooling-levels = <60 100 140 160 185 220 255>;
73*833e5d42SEmmanuel Vadot		fan-supply = <&vcc12v_dcin>;
74*833e5d42SEmmanuel Vadot		pwms = <&pwm11 0 50000 1>;
75*833e5d42SEmmanuel Vadot		#cooling-cells = <2>;
76*833e5d42SEmmanuel Vadot	};
77*833e5d42SEmmanuel Vadot
78*833e5d42SEmmanuel Vadot	leds {
79*833e5d42SEmmanuel Vadot		compatible = "gpio-leds";
80*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
81*833e5d42SEmmanuel Vadot		pinctrl-0 = <&led_pins>;
82*833e5d42SEmmanuel Vadot
83*833e5d42SEmmanuel Vadot		led-0 {
84*833e5d42SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
85*833e5d42SEmmanuel Vadot			default-state = "on";
86*833e5d42SEmmanuel Vadot			function = LED_FUNCTION_POWER;
87*833e5d42SEmmanuel Vadot			gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
88*833e5d42SEmmanuel Vadot		};
89*833e5d42SEmmanuel Vadot
90*833e5d42SEmmanuel Vadot		led-1 {
91*833e5d42SEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
92*833e5d42SEmmanuel Vadot			default-state = "off";
93*833e5d42SEmmanuel Vadot			gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_HIGH>;
94*833e5d42SEmmanuel Vadot		};
95*833e5d42SEmmanuel Vadot
96*833e5d42SEmmanuel Vadot		led-2 {
97*833e5d42SEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
98*833e5d42SEmmanuel Vadot			default-state = "off";
99*833e5d42SEmmanuel Vadot			gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
100*833e5d42SEmmanuel Vadot		};
101*833e5d42SEmmanuel Vadot	};
102*833e5d42SEmmanuel Vadot
103*833e5d42SEmmanuel Vadot	vcc12v_dcin: regulator-vcc12v-dcin {
104*833e5d42SEmmanuel Vadot		compatible = "regulator-fixed";
105*833e5d42SEmmanuel Vadot		regulator-name = "vcc12v_dcin";
106*833e5d42SEmmanuel Vadot		regulator-always-on;
107*833e5d42SEmmanuel Vadot		regulator-boot-on;
108*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <12000000>;
109*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <12000000>;
110*833e5d42SEmmanuel Vadot	};
111*833e5d42SEmmanuel Vadot
112*833e5d42SEmmanuel Vadot	vbus5v0_typec: regulator-vbus5v0-typec {
113*833e5d42SEmmanuel Vadot		compatible = "regulator-fixed";
114*833e5d42SEmmanuel Vadot		enable-active-high;
115*833e5d42SEmmanuel Vadot		gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
116*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
117*833e5d42SEmmanuel Vadot		pinctrl-0 = <&typec5v_pwren>;
118*833e5d42SEmmanuel Vadot		regulator-name = "vbus5v0_typec";
119*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
120*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
121*833e5d42SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
122*833e5d42SEmmanuel Vadot	};
123*833e5d42SEmmanuel Vadot
124*833e5d42SEmmanuel Vadot	vcc3v3_pcie20: regulator-vcc3v3-pcie20 {
125*833e5d42SEmmanuel Vadot		compatible = "regulator-fixed";
126*833e5d42SEmmanuel Vadot		gpio = <&gpio1 RK_PD7 GPIO_ACTIVE_HIGH>;
127*833e5d42SEmmanuel Vadot		regulator-name = "vcc3v3_pcie20";
128*833e5d42SEmmanuel Vadot		enable-active-high;
129*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
130*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
131*833e5d42SEmmanuel Vadot		startup-delay-us = <5000>;
132*833e5d42SEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
133*833e5d42SEmmanuel Vadot	};
134*833e5d42SEmmanuel Vadot
135*833e5d42SEmmanuel Vadot	vcc5v0_host: regulator-vcc5v0-host {
136*833e5d42SEmmanuel Vadot		compatible = "regulator-fixed";
137*833e5d42SEmmanuel Vadot		enable-active-high;
138*833e5d42SEmmanuel Vadot		gpio = <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>;
139*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
140*833e5d42SEmmanuel Vadot		pinctrl-0 = <&vcc5v0_host_en>;
141*833e5d42SEmmanuel Vadot		regulator-name = "vcc5v0_host";
142*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
143*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
144*833e5d42SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
145*833e5d42SEmmanuel Vadot	};
146*833e5d42SEmmanuel Vadot
147*833e5d42SEmmanuel Vadot	vcc5v0_sys: regulator-vcc5v0-sys {
148*833e5d42SEmmanuel Vadot		compatible = "regulator-fixed";
149*833e5d42SEmmanuel Vadot		regulator-name = "vcc5v0_sys";
150*833e5d42SEmmanuel Vadot		regulator-always-on;
151*833e5d42SEmmanuel Vadot		regulator-boot-on;
152*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
153*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
154*833e5d42SEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
155*833e5d42SEmmanuel Vadot	};
156*833e5d42SEmmanuel Vadot
157*833e5d42SEmmanuel Vadot	vcc5v0_usb: regulator-vcc5v0-usb {
158*833e5d42SEmmanuel Vadot		compatible = "regulator-fixed";
159*833e5d42SEmmanuel Vadot		regulator-name = "vcc5v0_usb";
160*833e5d42SEmmanuel Vadot		regulator-always-on;
161*833e5d42SEmmanuel Vadot		regulator-boot-on;
162*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
163*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
164*833e5d42SEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
165*833e5d42SEmmanuel Vadot	};
166*833e5d42SEmmanuel Vadot};
167*833e5d42SEmmanuel Vadot
168*833e5d42SEmmanuel Vadot&combphy0_ps {
169*833e5d42SEmmanuel Vadot	status = "okay";
170*833e5d42SEmmanuel Vadot};
171*833e5d42SEmmanuel Vadot
172*833e5d42SEmmanuel Vadot&combphy2_psu {
173*833e5d42SEmmanuel Vadot	status = "okay";
174*833e5d42SEmmanuel Vadot};
175*833e5d42SEmmanuel Vadot
176*833e5d42SEmmanuel Vadot&cpu_b0 {
177*833e5d42SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
178*833e5d42SEmmanuel Vadot};
179*833e5d42SEmmanuel Vadot
180*833e5d42SEmmanuel Vadot&cpu_b1 {
181*833e5d42SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
182*833e5d42SEmmanuel Vadot};
183*833e5d42SEmmanuel Vadot
184*833e5d42SEmmanuel Vadot&cpu_b2 {
185*833e5d42SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
186*833e5d42SEmmanuel Vadot};
187*833e5d42SEmmanuel Vadot
188*833e5d42SEmmanuel Vadot&cpu_b3 {
189*833e5d42SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
190*833e5d42SEmmanuel Vadot};
191*833e5d42SEmmanuel Vadot
192*833e5d42SEmmanuel Vadot&cpu_l0 {
193*833e5d42SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
194*833e5d42SEmmanuel Vadot};
195*833e5d42SEmmanuel Vadot
196*833e5d42SEmmanuel Vadot&cpu_l1 {
197*833e5d42SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
198*833e5d42SEmmanuel Vadot};
199*833e5d42SEmmanuel Vadot
200*833e5d42SEmmanuel Vadot&cpu_l2 {
201*833e5d42SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
202*833e5d42SEmmanuel Vadot};
203*833e5d42SEmmanuel Vadot
204*833e5d42SEmmanuel Vadot&cpu_l3 {
205*833e5d42SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
206*833e5d42SEmmanuel Vadot};
207*833e5d42SEmmanuel Vadot
208*833e5d42SEmmanuel Vadot&gmac1 {
209*833e5d42SEmmanuel Vadot	clock_in_out = "output";
210*833e5d42SEmmanuel Vadot	phy-handle = <&rgmii_phy1>;
211*833e5d42SEmmanuel Vadot	phy-mode = "rgmii-id";
212*833e5d42SEmmanuel Vadot	pinctrl-names = "default";
213*833e5d42SEmmanuel Vadot	pinctrl-0 = <&gmac1_miim
214*833e5d42SEmmanuel Vadot		     &gmac1_tx_bus2
215*833e5d42SEmmanuel Vadot		     &gmac1_rx_bus2
216*833e5d42SEmmanuel Vadot		     &gmac1_rgmii_clk
217*833e5d42SEmmanuel Vadot		     &gmac1_rgmii_bus>;
218*833e5d42SEmmanuel Vadot	status = "okay";
219*833e5d42SEmmanuel Vadot};
220*833e5d42SEmmanuel Vadot
221*833e5d42SEmmanuel Vadot&gpu {
222*833e5d42SEmmanuel Vadot	mali-supply = <&vdd_gpu_s0>;
223*833e5d42SEmmanuel Vadot	status = "okay";
224*833e5d42SEmmanuel Vadot};
225*833e5d42SEmmanuel Vadot
226*833e5d42SEmmanuel Vadot&hdmi0 {
227*833e5d42SEmmanuel Vadot	status = "okay";
228*833e5d42SEmmanuel Vadot};
229*833e5d42SEmmanuel Vadot
230*833e5d42SEmmanuel Vadot&hdmi0_in {
231*833e5d42SEmmanuel Vadot	hdmi0_in_vp0: endpoint {
232*833e5d42SEmmanuel Vadot		remote-endpoint = <&vp0_out_hdmi0>;
233*833e5d42SEmmanuel Vadot	};
234*833e5d42SEmmanuel Vadot};
235*833e5d42SEmmanuel Vadot
236*833e5d42SEmmanuel Vadot&hdmi0_out {
237*833e5d42SEmmanuel Vadot	hdmi0_out_con: endpoint {
238*833e5d42SEmmanuel Vadot		remote-endpoint = <&hdmi_con_in>;
239*833e5d42SEmmanuel Vadot	};
240*833e5d42SEmmanuel Vadot};
241*833e5d42SEmmanuel Vadot
242*833e5d42SEmmanuel Vadot&hdptxphy0 {
243*833e5d42SEmmanuel Vadot	status = "okay";
244*833e5d42SEmmanuel Vadot};
245*833e5d42SEmmanuel Vadot
246*833e5d42SEmmanuel Vadot&i2c0 {
247*833e5d42SEmmanuel Vadot	pinctrl-names = "default";
248*833e5d42SEmmanuel Vadot	pinctrl-0 = <&i2c0m2_xfer>;
249*833e5d42SEmmanuel Vadot	status = "okay";
250*833e5d42SEmmanuel Vadot
251*833e5d42SEmmanuel Vadot	vdd_cpu_big0_s0: regulator@42 {
252*833e5d42SEmmanuel Vadot		compatible = "rockchip,rk8602";
253*833e5d42SEmmanuel Vadot		reg = <0x42>;
254*833e5d42SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
255*833e5d42SEmmanuel Vadot		regulator-name = "vdd_cpu_big0_s0";
256*833e5d42SEmmanuel Vadot		regulator-always-on;
257*833e5d42SEmmanuel Vadot		regulator-boot-on;
258*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <550000>;
259*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
260*833e5d42SEmmanuel Vadot		regulator-ramp-delay = <2300>;
261*833e5d42SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
262*833e5d42SEmmanuel Vadot
263*833e5d42SEmmanuel Vadot		regulator-state-mem {
264*833e5d42SEmmanuel Vadot			regulator-off-in-suspend;
265*833e5d42SEmmanuel Vadot		};
266*833e5d42SEmmanuel Vadot	};
267*833e5d42SEmmanuel Vadot
268*833e5d42SEmmanuel Vadot	vdd_cpu_big1_s0: regulator@43 {
269*833e5d42SEmmanuel Vadot		compatible = "rockchip,rk8603", "rockchip,rk8602";
270*833e5d42SEmmanuel Vadot		reg = <0x43>;
271*833e5d42SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
272*833e5d42SEmmanuel Vadot		regulator-name = "vdd_cpu_big1_s0";
273*833e5d42SEmmanuel Vadot		regulator-always-on;
274*833e5d42SEmmanuel Vadot		regulator-boot-on;
275*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <550000>;
276*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
277*833e5d42SEmmanuel Vadot		regulator-ramp-delay = <2300>;
278*833e5d42SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
279*833e5d42SEmmanuel Vadot
280*833e5d42SEmmanuel Vadot		regulator-state-mem {
281*833e5d42SEmmanuel Vadot			regulator-off-in-suspend;
282*833e5d42SEmmanuel Vadot		};
283*833e5d42SEmmanuel Vadot	};
284*833e5d42SEmmanuel Vadot};
285*833e5d42SEmmanuel Vadot
286*833e5d42SEmmanuel Vadot&i2c2 {
287*833e5d42SEmmanuel Vadot	pinctrl-names = "default";
288*833e5d42SEmmanuel Vadot	pinctrl-0 = <&i2c2m0_xfer>;
289*833e5d42SEmmanuel Vadot	status = "okay";
290*833e5d42SEmmanuel Vadot
291*833e5d42SEmmanuel Vadot	vdd_npu_s0: regulator@42 {
292*833e5d42SEmmanuel Vadot		compatible = "rockchip,rk8602";
293*833e5d42SEmmanuel Vadot		reg = <0x42>;
294*833e5d42SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
295*833e5d42SEmmanuel Vadot		regulator-name = "vdd_npu_s0";
296*833e5d42SEmmanuel Vadot		regulator-always-on;
297*833e5d42SEmmanuel Vadot		regulator-boot-on;
298*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <550000>;
299*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <950000>;
300*833e5d42SEmmanuel Vadot		regulator-ramp-delay = <2300>;
301*833e5d42SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
302*833e5d42SEmmanuel Vadot
303*833e5d42SEmmanuel Vadot		regulator-state-mem {
304*833e5d42SEmmanuel Vadot			regulator-off-in-suspend;
305*833e5d42SEmmanuel Vadot		};
306*833e5d42SEmmanuel Vadot	};
307*833e5d42SEmmanuel Vadot
308*833e5d42SEmmanuel Vadot	hym8563: rtc@51 {
309*833e5d42SEmmanuel Vadot		compatible = "haoyu,hym8563";
310*833e5d42SEmmanuel Vadot		reg = <0x51>;
311*833e5d42SEmmanuel Vadot		#clock-cells = <0>;
312*833e5d42SEmmanuel Vadot		clock-output-names = "hym8563";
313*833e5d42SEmmanuel Vadot		interrupt-parent = <&gpio0>;
314*833e5d42SEmmanuel Vadot		interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
315*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
316*833e5d42SEmmanuel Vadot		pinctrl-0 = <&hym8563_int>;
317*833e5d42SEmmanuel Vadot	};
318*833e5d42SEmmanuel Vadot};
319*833e5d42SEmmanuel Vadot
320*833e5d42SEmmanuel Vadot&i2c3 {
321*833e5d42SEmmanuel Vadot	status = "okay";
322*833e5d42SEmmanuel Vadot
323*833e5d42SEmmanuel Vadot	es8388: audio-codec@11 {
324*833e5d42SEmmanuel Vadot		compatible = "everest,es8388", "everest,es8328";
325*833e5d42SEmmanuel Vadot		reg = <0x11>;
326*833e5d42SEmmanuel Vadot		clocks = <&cru I2S1_8CH_MCLKOUT>;
327*833e5d42SEmmanuel Vadot		AVDD-supply = <&vcc_3v3_s0>;
328*833e5d42SEmmanuel Vadot		DVDD-supply = <&vcc_1v8_s0>;
329*833e5d42SEmmanuel Vadot		HPVDD-supply = <&vcc_3v3_s0>;
330*833e5d42SEmmanuel Vadot		PVDD-supply = <&vcc_3v3_s0>;
331*833e5d42SEmmanuel Vadot		assigned-clocks = <&cru I2S1_8CH_MCLKOUT>;
332*833e5d42SEmmanuel Vadot		assigned-clock-rates = <12288000>;
333*833e5d42SEmmanuel Vadot		#sound-dai-cells = <0>;
334*833e5d42SEmmanuel Vadot	};
335*833e5d42SEmmanuel Vadot};
336*833e5d42SEmmanuel Vadot
337*833e5d42SEmmanuel Vadot&i2s0_8ch {
338*833e5d42SEmmanuel Vadot	pinctrl-names = "default";
339*833e5d42SEmmanuel Vadot	pinctrl-0 = <&i2s0_lrck
340*833e5d42SEmmanuel Vadot		     &i2s0_mclk
341*833e5d42SEmmanuel Vadot		     &i2s0_sclk
342*833e5d42SEmmanuel Vadot		     &i2s0_sdi0
343*833e5d42SEmmanuel Vadot		     &i2s0_sdo0>;
344*833e5d42SEmmanuel Vadot	status = "okay";
345*833e5d42SEmmanuel Vadot};
346*833e5d42SEmmanuel Vadot
347*833e5d42SEmmanuel Vadot&mdio1 {
348*833e5d42SEmmanuel Vadot	rgmii_phy1: ethernet-phy@1 {
349*833e5d42SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
350*833e5d42SEmmanuel Vadot		reg = <0x1>;
351*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
352*833e5d42SEmmanuel Vadot		pinctrl-0 = <&rtl8211f_rst>;
353*833e5d42SEmmanuel Vadot		reset-assert-us = <20000>;
354*833e5d42SEmmanuel Vadot		reset-deassert-us = <100000>;
355*833e5d42SEmmanuel Vadot		reset-gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_LOW>;
356*833e5d42SEmmanuel Vadot	};
357*833e5d42SEmmanuel Vadot};
358*833e5d42SEmmanuel Vadot
359*833e5d42SEmmanuel Vadot&pcie2x1l1 {
360*833e5d42SEmmanuel Vadot	reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
361*833e5d42SEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie20>;
362*833e5d42SEmmanuel Vadot	status = "okay";
363*833e5d42SEmmanuel Vadot};
364*833e5d42SEmmanuel Vadot
365*833e5d42SEmmanuel Vadot&pd_gpu {
366*833e5d42SEmmanuel Vadot	domain-supply = <&vdd_gpu_s0>;
367*833e5d42SEmmanuel Vadot};
368*833e5d42SEmmanuel Vadot
369*833e5d42SEmmanuel Vadot&pinctrl {
370*833e5d42SEmmanuel Vadot	hym8563 {
371*833e5d42SEmmanuel Vadot		hym8563_int: hym8563-int {
372*833e5d42SEmmanuel Vadot			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
373*833e5d42SEmmanuel Vadot		};
374*833e5d42SEmmanuel Vadot	};
375*833e5d42SEmmanuel Vadot
376*833e5d42SEmmanuel Vadot	headphone {
377*833e5d42SEmmanuel Vadot		hp_detect: hp-detect {
378*833e5d42SEmmanuel Vadot			rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
379*833e5d42SEmmanuel Vadot		};
380*833e5d42SEmmanuel Vadot	};
381*833e5d42SEmmanuel Vadot
382*833e5d42SEmmanuel Vadot	leds {
383*833e5d42SEmmanuel Vadot		led_pins: led-pins {
384*833e5d42SEmmanuel Vadot			rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,
385*833e5d42SEmmanuel Vadot					<3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
386*833e5d42SEmmanuel Vadot					<3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
387*833e5d42SEmmanuel Vadot		};
388*833e5d42SEmmanuel Vadot	};
389*833e5d42SEmmanuel Vadot
390*833e5d42SEmmanuel Vadot	rtl8211 {
391*833e5d42SEmmanuel Vadot		rtl8211f_rst: rtl8211f-rst {
392*833e5d42SEmmanuel Vadot			rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
393*833e5d42SEmmanuel Vadot		};
394*833e5d42SEmmanuel Vadot	};
395*833e5d42SEmmanuel Vadot
396*833e5d42SEmmanuel Vadot	usb {
397*833e5d42SEmmanuel Vadot		typec5v_pwren: typec5v-pwren {
398*833e5d42SEmmanuel Vadot			rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
399*833e5d42SEmmanuel Vadot		};
400*833e5d42SEmmanuel Vadot
401*833e5d42SEmmanuel Vadot		vcc5v0_host_en: vcc5v0-host-en {
402*833e5d42SEmmanuel Vadot			rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
403*833e5d42SEmmanuel Vadot		};
404*833e5d42SEmmanuel Vadot	};
405*833e5d42SEmmanuel Vadot};
406*833e5d42SEmmanuel Vadot
407*833e5d42SEmmanuel Vadot&pwm11 {
408*833e5d42SEmmanuel Vadot	pinctrl-names = "default";
409*833e5d42SEmmanuel Vadot	pinctrl-0 = <&pwm11m3_pins>;
410*833e5d42SEmmanuel Vadot	status = "okay";
411*833e5d42SEmmanuel Vadot};
412*833e5d42SEmmanuel Vadot
413*833e5d42SEmmanuel Vadot&saradc {
414*833e5d42SEmmanuel Vadot	vref-supply = <&vcc_1v8_s0>;
415*833e5d42SEmmanuel Vadot	status = "okay";
416*833e5d42SEmmanuel Vadot};
417*833e5d42SEmmanuel Vadot
418*833e5d42SEmmanuel Vadot&sdhci {
419*833e5d42SEmmanuel Vadot	bus-width = <8>;
420*833e5d42SEmmanuel Vadot	mmc-hs400-1_8v;
421*833e5d42SEmmanuel Vadot	mmc-hs400-enhanced-strobe;
422*833e5d42SEmmanuel Vadot	no-sdio;
423*833e5d42SEmmanuel Vadot	no-sd;
424*833e5d42SEmmanuel Vadot	non-removable;
425*833e5d42SEmmanuel Vadot	status = "okay";
426*833e5d42SEmmanuel Vadot};
427*833e5d42SEmmanuel Vadot
428*833e5d42SEmmanuel Vadot&sdmmc {
429*833e5d42SEmmanuel Vadot	bus-width = <4>;
430*833e5d42SEmmanuel Vadot	cap-sd-highspeed;
431*833e5d42SEmmanuel Vadot	disable-wp;
432*833e5d42SEmmanuel Vadot	max-frequency = <150000000>;
433*833e5d42SEmmanuel Vadot	no-sdio;
434*833e5d42SEmmanuel Vadot	no-mmc;
435*833e5d42SEmmanuel Vadot	sd-uhs-sdr104;
436*833e5d42SEmmanuel Vadot	vmmc-supply = <&vcc_3v3_s3>;
437*833e5d42SEmmanuel Vadot	vqmmc-supply = <&vccio_sd_s0>;
438*833e5d42SEmmanuel Vadot	status = "okay";
439*833e5d42SEmmanuel Vadot};
440*833e5d42SEmmanuel Vadot
441*833e5d42SEmmanuel Vadot&spi2 {
442*833e5d42SEmmanuel Vadot	assigned-clocks = <&cru CLK_SPI2>;
443*833e5d42SEmmanuel Vadot	assigned-clock-rates = <200000000>;
444*833e5d42SEmmanuel Vadot	num-cs = <1>;
445*833e5d42SEmmanuel Vadot	pinctrl-names = "default";
446*833e5d42SEmmanuel Vadot	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
447*833e5d42SEmmanuel Vadot	status = "okay";
448*833e5d42SEmmanuel Vadot
449*833e5d42SEmmanuel Vadot	pmic@0 {
450*833e5d42SEmmanuel Vadot		compatible = "rockchip,rk806";
451*833e5d42SEmmanuel Vadot		reg = <0x0>;
452*833e5d42SEmmanuel Vadot		interrupt-parent = <&gpio0>;
453*833e5d42SEmmanuel Vadot		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
454*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
455*833e5d42SEmmanuel Vadot		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
456*833e5d42SEmmanuel Vadot			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
457*833e5d42SEmmanuel Vadot		spi-max-frequency = <1000000>;
458*833e5d42SEmmanuel Vadot		system-power-controller;
459*833e5d42SEmmanuel Vadot
460*833e5d42SEmmanuel Vadot		vcc1-supply = <&vcc5v0_sys>;
461*833e5d42SEmmanuel Vadot		vcc2-supply = <&vcc5v0_sys>;
462*833e5d42SEmmanuel Vadot		vcc3-supply = <&vcc5v0_sys>;
463*833e5d42SEmmanuel Vadot		vcc4-supply = <&vcc5v0_sys>;
464*833e5d42SEmmanuel Vadot		vcc5-supply = <&vcc5v0_sys>;
465*833e5d42SEmmanuel Vadot		vcc6-supply = <&vcc5v0_sys>;
466*833e5d42SEmmanuel Vadot		vcc7-supply = <&vcc5v0_sys>;
467*833e5d42SEmmanuel Vadot		vcc8-supply = <&vcc5v0_sys>;
468*833e5d42SEmmanuel Vadot		vcc9-supply = <&vcc5v0_sys>;
469*833e5d42SEmmanuel Vadot		vcc10-supply = <&vcc5v0_sys>;
470*833e5d42SEmmanuel Vadot		vcc11-supply = <&vcc_2v0_pldo_s3>;
471*833e5d42SEmmanuel Vadot		vcc12-supply = <&vcc5v0_sys>;
472*833e5d42SEmmanuel Vadot		vcc13-supply = <&vcc_1v1_nldo_s3>;
473*833e5d42SEmmanuel Vadot		vcc14-supply = <&vcc_1v1_nldo_s3>;
474*833e5d42SEmmanuel Vadot		vcca-supply = <&vcc5v0_sys>;
475*833e5d42SEmmanuel Vadot
476*833e5d42SEmmanuel Vadot		gpio-controller;
477*833e5d42SEmmanuel Vadot		#gpio-cells = <2>;
478*833e5d42SEmmanuel Vadot
479*833e5d42SEmmanuel Vadot		rk806_dvs1_null: dvs1-null-pins {
480*833e5d42SEmmanuel Vadot			pins = "gpio_pwrctrl1";
481*833e5d42SEmmanuel Vadot			function = "pin_fun0";
482*833e5d42SEmmanuel Vadot		};
483*833e5d42SEmmanuel Vadot
484*833e5d42SEmmanuel Vadot		rk806_dvs2_null: dvs2-null-pins {
485*833e5d42SEmmanuel Vadot			pins = "gpio_pwrctrl2";
486*833e5d42SEmmanuel Vadot			function = "pin_fun0";
487*833e5d42SEmmanuel Vadot		};
488*833e5d42SEmmanuel Vadot
489*833e5d42SEmmanuel Vadot		rk806_dvs3_null: dvs3-null-pins {
490*833e5d42SEmmanuel Vadot			pins = "gpio_pwrctrl3";
491*833e5d42SEmmanuel Vadot			function = "pin_fun0";
492*833e5d42SEmmanuel Vadot		};
493*833e5d42SEmmanuel Vadot
494*833e5d42SEmmanuel Vadot		regulators {
495*833e5d42SEmmanuel Vadot			vdd_gpu_s0: dcdc-reg1 {
496*833e5d42SEmmanuel Vadot				regulator-name = "vdd_gpu_s0";
497*833e5d42SEmmanuel Vadot				regulator-boot-on;
498*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <550000>;
499*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <950000>;
500*833e5d42SEmmanuel Vadot				regulator-ramp-delay = <12500>;
501*833e5d42SEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
502*833e5d42SEmmanuel Vadot
503*833e5d42SEmmanuel Vadot				regulator-state-mem {
504*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
505*833e5d42SEmmanuel Vadot				};
506*833e5d42SEmmanuel Vadot			};
507*833e5d42SEmmanuel Vadot
508*833e5d42SEmmanuel Vadot			vdd_cpu_lit_s0: dcdc-reg2 {
509*833e5d42SEmmanuel Vadot				regulator-name = "vdd_cpu_lit_s0";
510*833e5d42SEmmanuel Vadot				regulator-always-on;
511*833e5d42SEmmanuel Vadot				regulator-boot-on;
512*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <550000>;
513*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <950000>;
514*833e5d42SEmmanuel Vadot				regulator-ramp-delay = <12500>;
515*833e5d42SEmmanuel Vadot
516*833e5d42SEmmanuel Vadot				regulator-state-mem {
517*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
518*833e5d42SEmmanuel Vadot				};
519*833e5d42SEmmanuel Vadot			};
520*833e5d42SEmmanuel Vadot
521*833e5d42SEmmanuel Vadot			vdd_log_s0: dcdc-reg3 {
522*833e5d42SEmmanuel Vadot				regulator-name = "vdd_log_s0";
523*833e5d42SEmmanuel Vadot				regulator-always-on;
524*833e5d42SEmmanuel Vadot				regulator-boot-on;
525*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <675000>;
526*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <750000>;
527*833e5d42SEmmanuel Vadot				regulator-ramp-delay = <12500>;
528*833e5d42SEmmanuel Vadot
529*833e5d42SEmmanuel Vadot				regulator-state-mem {
530*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
531*833e5d42SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
532*833e5d42SEmmanuel Vadot				};
533*833e5d42SEmmanuel Vadot			};
534*833e5d42SEmmanuel Vadot
535*833e5d42SEmmanuel Vadot			vdd_vdenc_s0: dcdc-reg4 {
536*833e5d42SEmmanuel Vadot				regulator-name = "vdd_vdenc_s0";
537*833e5d42SEmmanuel Vadot				regulator-always-on;
538*833e5d42SEmmanuel Vadot				regulator-boot-on;
539*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <550000>;
540*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <950000>;
541*833e5d42SEmmanuel Vadot				regulator-ramp-delay = <12500>;
542*833e5d42SEmmanuel Vadot
543*833e5d42SEmmanuel Vadot				regulator-state-mem {
544*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
545*833e5d42SEmmanuel Vadot				};
546*833e5d42SEmmanuel Vadot			};
547*833e5d42SEmmanuel Vadot
548*833e5d42SEmmanuel Vadot			vdd_ddr_s0: dcdc-reg5 {
549*833e5d42SEmmanuel Vadot				regulator-name = "vdd_ddr_s0";
550*833e5d42SEmmanuel Vadot				regulator-always-on;
551*833e5d42SEmmanuel Vadot				regulator-boot-on;
552*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <675000>;
553*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <900000>;
554*833e5d42SEmmanuel Vadot				regulator-ramp-delay = <12500>;
555*833e5d42SEmmanuel Vadot
556*833e5d42SEmmanuel Vadot				regulator-state-mem {
557*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
558*833e5d42SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
559*833e5d42SEmmanuel Vadot				};
560*833e5d42SEmmanuel Vadot			};
561*833e5d42SEmmanuel Vadot
562*833e5d42SEmmanuel Vadot			vcc_1v1_nldo_s3: vdd2_ddr_s3: dcdc-reg6 {
563*833e5d42SEmmanuel Vadot				regulator-name = "vdd2_ddr_s3";
564*833e5d42SEmmanuel Vadot				regulator-always-on;
565*833e5d42SEmmanuel Vadot				regulator-boot-on;
566*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <1100000>;
567*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <1100000>;
568*833e5d42SEmmanuel Vadot
569*833e5d42SEmmanuel Vadot				regulator-state-mem {
570*833e5d42SEmmanuel Vadot					regulator-on-in-suspend;
571*833e5d42SEmmanuel Vadot				};
572*833e5d42SEmmanuel Vadot			};
573*833e5d42SEmmanuel Vadot
574*833e5d42SEmmanuel Vadot			vcc_2v0_pldo_s3: dcdc-reg7 {
575*833e5d42SEmmanuel Vadot				regulator-name = "vdd_2v0_pldo_s3";
576*833e5d42SEmmanuel Vadot				regulator-always-on;
577*833e5d42SEmmanuel Vadot				regulator-boot-on;
578*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <2000000>;
579*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <2000000>;
580*833e5d42SEmmanuel Vadot				regulator-ramp-delay = <12500>;
581*833e5d42SEmmanuel Vadot
582*833e5d42SEmmanuel Vadot				regulator-state-mem {
583*833e5d42SEmmanuel Vadot					regulator-on-in-suspend;
584*833e5d42SEmmanuel Vadot					regulator-suspend-microvolt = <2000000>;
585*833e5d42SEmmanuel Vadot				};
586*833e5d42SEmmanuel Vadot			};
587*833e5d42SEmmanuel Vadot
588*833e5d42SEmmanuel Vadot			vcc_3v3_s3: dcdc-reg8 {
589*833e5d42SEmmanuel Vadot				regulator-name = "vcc_3v3_s3";
590*833e5d42SEmmanuel Vadot				regulator-always-on;
591*833e5d42SEmmanuel Vadot				regulator-boot-on;
592*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
593*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
594*833e5d42SEmmanuel Vadot
595*833e5d42SEmmanuel Vadot				regulator-state-mem {
596*833e5d42SEmmanuel Vadot					regulator-on-in-suspend;
597*833e5d42SEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
598*833e5d42SEmmanuel Vadot				};
599*833e5d42SEmmanuel Vadot			};
600*833e5d42SEmmanuel Vadot
601*833e5d42SEmmanuel Vadot			vddq_ddr_s0: dcdc-reg9 {
602*833e5d42SEmmanuel Vadot				regulator-name = "vddq_ddr_s0";
603*833e5d42SEmmanuel Vadot				regulator-always-on;
604*833e5d42SEmmanuel Vadot				regulator-boot-on;
605*833e5d42SEmmanuel Vadot
606*833e5d42SEmmanuel Vadot				regulator-state-mem {
607*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
608*833e5d42SEmmanuel Vadot				};
609*833e5d42SEmmanuel Vadot			};
610*833e5d42SEmmanuel Vadot
611*833e5d42SEmmanuel Vadot			vcc_1v8_s3: dcdc-reg10 {
612*833e5d42SEmmanuel Vadot				regulator-name = "vcc_1v8_s3";
613*833e5d42SEmmanuel Vadot				regulator-always-on;
614*833e5d42SEmmanuel Vadot				regulator-boot-on;
615*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
616*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
617*833e5d42SEmmanuel Vadot
618*833e5d42SEmmanuel Vadot				regulator-state-mem {
619*833e5d42SEmmanuel Vadot					regulator-on-in-suspend;
620*833e5d42SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
621*833e5d42SEmmanuel Vadot				};
622*833e5d42SEmmanuel Vadot			};
623*833e5d42SEmmanuel Vadot
624*833e5d42SEmmanuel Vadot			avcc_1v8_s0: pldo-reg1 {
625*833e5d42SEmmanuel Vadot				regulator-name = "avcc_1v8_s0";
626*833e5d42SEmmanuel Vadot				regulator-always-on;
627*833e5d42SEmmanuel Vadot				regulator-boot-on;
628*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
629*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
630*833e5d42SEmmanuel Vadot
631*833e5d42SEmmanuel Vadot				regulator-state-mem {
632*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
633*833e5d42SEmmanuel Vadot				};
634*833e5d42SEmmanuel Vadot			};
635*833e5d42SEmmanuel Vadot
636*833e5d42SEmmanuel Vadot			vcc_1v8_s0: pldo-reg2 {
637*833e5d42SEmmanuel Vadot				regulator-name = "vcc_1v8_s0";
638*833e5d42SEmmanuel Vadot				regulator-always-on;
639*833e5d42SEmmanuel Vadot				regulator-boot-on;
640*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
641*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
642*833e5d42SEmmanuel Vadot
643*833e5d42SEmmanuel Vadot				regulator-state-mem {
644*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
645*833e5d42SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
646*833e5d42SEmmanuel Vadot				};
647*833e5d42SEmmanuel Vadot			};
648*833e5d42SEmmanuel Vadot
649*833e5d42SEmmanuel Vadot			avdd_1v2_s0: pldo-reg3 {
650*833e5d42SEmmanuel Vadot				regulator-name = "avdd_1v2_s0";
651*833e5d42SEmmanuel Vadot				regulator-always-on;
652*833e5d42SEmmanuel Vadot				regulator-boot-on;
653*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <1200000>;
654*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <1200000>;
655*833e5d42SEmmanuel Vadot
656*833e5d42SEmmanuel Vadot				regulator-state-mem {
657*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
658*833e5d42SEmmanuel Vadot				};
659*833e5d42SEmmanuel Vadot			};
660*833e5d42SEmmanuel Vadot
661*833e5d42SEmmanuel Vadot			vcc_3v3_s0: pldo-reg4 {
662*833e5d42SEmmanuel Vadot				regulator-name = "vcc_3v3_s0";
663*833e5d42SEmmanuel Vadot				regulator-always-on;
664*833e5d42SEmmanuel Vadot				regulator-boot-on;
665*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
666*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
667*833e5d42SEmmanuel Vadot				regulator-ramp-delay = <12500>;
668*833e5d42SEmmanuel Vadot
669*833e5d42SEmmanuel Vadot				regulator-state-mem {
670*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
671*833e5d42SEmmanuel Vadot				};
672*833e5d42SEmmanuel Vadot			};
673*833e5d42SEmmanuel Vadot
674*833e5d42SEmmanuel Vadot			vccio_sd_s0: pldo-reg5 {
675*833e5d42SEmmanuel Vadot				regulator-name = "vccio_sd_s0";
676*833e5d42SEmmanuel Vadot				regulator-always-on;
677*833e5d42SEmmanuel Vadot				regulator-boot-on;
678*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
679*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
680*833e5d42SEmmanuel Vadot				regulator-ramp-delay = <12500>;
681*833e5d42SEmmanuel Vadot
682*833e5d42SEmmanuel Vadot				regulator-state-mem {
683*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
684*833e5d42SEmmanuel Vadot				};
685*833e5d42SEmmanuel Vadot			};
686*833e5d42SEmmanuel Vadot
687*833e5d42SEmmanuel Vadot			pldo6_s3: pldo-reg6 {
688*833e5d42SEmmanuel Vadot				regulator-name = "pldo6_s3";
689*833e5d42SEmmanuel Vadot				regulator-always-on;
690*833e5d42SEmmanuel Vadot				regulator-boot-on;
691*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
692*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
693*833e5d42SEmmanuel Vadot
694*833e5d42SEmmanuel Vadot				regulator-state-mem {
695*833e5d42SEmmanuel Vadot					regulator-on-in-suspend;
696*833e5d42SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
697*833e5d42SEmmanuel Vadot				};
698*833e5d42SEmmanuel Vadot			};
699*833e5d42SEmmanuel Vadot
700*833e5d42SEmmanuel Vadot			vdd_0v75_s3: nldo-reg1 {
701*833e5d42SEmmanuel Vadot				regulator-name = "vdd_0v75_s3";
702*833e5d42SEmmanuel Vadot				regulator-always-on;
703*833e5d42SEmmanuel Vadot				regulator-boot-on;
704*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <750000>;
705*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <750000>;
706*833e5d42SEmmanuel Vadot
707*833e5d42SEmmanuel Vadot				regulator-state-mem {
708*833e5d42SEmmanuel Vadot					regulator-on-in-suspend;
709*833e5d42SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
710*833e5d42SEmmanuel Vadot				};
711*833e5d42SEmmanuel Vadot			};
712*833e5d42SEmmanuel Vadot
713*833e5d42SEmmanuel Vadot			vdd_ddr_pll_s0: nldo-reg2 {
714*833e5d42SEmmanuel Vadot				regulator-name = "vdd_ddr_pll_s0";
715*833e5d42SEmmanuel Vadot				regulator-always-on;
716*833e5d42SEmmanuel Vadot				regulator-boot-on;
717*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <850000>;
718*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <850000>;
719*833e5d42SEmmanuel Vadot
720*833e5d42SEmmanuel Vadot				regulator-state-mem {
721*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
722*833e5d42SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
723*833e5d42SEmmanuel Vadot				};
724*833e5d42SEmmanuel Vadot			};
725*833e5d42SEmmanuel Vadot
726*833e5d42SEmmanuel Vadot			avdd_0v75_s0: nldo-reg3 {
727*833e5d42SEmmanuel Vadot				regulator-name = "avdd_0v75_s0";
728*833e5d42SEmmanuel Vadot				regulator-always-on;
729*833e5d42SEmmanuel Vadot				regulator-boot-on;
730*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <750000>;
731*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <750000>;
732*833e5d42SEmmanuel Vadot
733*833e5d42SEmmanuel Vadot				regulator-state-mem {
734*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
735*833e5d42SEmmanuel Vadot				};
736*833e5d42SEmmanuel Vadot			};
737*833e5d42SEmmanuel Vadot
738*833e5d42SEmmanuel Vadot			vdd_0v85_s0: nldo-reg4 {
739*833e5d42SEmmanuel Vadot				regulator-name = "vdd_0v85_s0";
740*833e5d42SEmmanuel Vadot				regulator-always-on;
741*833e5d42SEmmanuel Vadot				regulator-boot-on;
742*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <850000>;
743*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <850000>;
744*833e5d42SEmmanuel Vadot
745*833e5d42SEmmanuel Vadot				regulator-state-mem {
746*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
747*833e5d42SEmmanuel Vadot				};
748*833e5d42SEmmanuel Vadot			};
749*833e5d42SEmmanuel Vadot
750*833e5d42SEmmanuel Vadot			vdd_0v75_s0: nldo-reg5 {
751*833e5d42SEmmanuel Vadot				regulator-name = "vdd_0v75_s0";
752*833e5d42SEmmanuel Vadot				regulator-always-on;
753*833e5d42SEmmanuel Vadot				regulator-boot-on;
754*833e5d42SEmmanuel Vadot				regulator-min-microvolt = <750000>;
755*833e5d42SEmmanuel Vadot				regulator-max-microvolt = <750000>;
756*833e5d42SEmmanuel Vadot
757*833e5d42SEmmanuel Vadot				regulator-state-mem {
758*833e5d42SEmmanuel Vadot					regulator-off-in-suspend;
759*833e5d42SEmmanuel Vadot				};
760*833e5d42SEmmanuel Vadot			};
761*833e5d42SEmmanuel Vadot		};
762*833e5d42SEmmanuel Vadot	};
763*833e5d42SEmmanuel Vadot};
764*833e5d42SEmmanuel Vadot
765*833e5d42SEmmanuel Vadot&tsadc {
766*833e5d42SEmmanuel Vadot	status = "okay";
767*833e5d42SEmmanuel Vadot};
768*833e5d42SEmmanuel Vadot
769*833e5d42SEmmanuel Vadot&u2phy0 {
770*833e5d42SEmmanuel Vadot	status = "okay";
771*833e5d42SEmmanuel Vadot};
772*833e5d42SEmmanuel Vadot
773*833e5d42SEmmanuel Vadot&u2phy0_otg {
774*833e5d42SEmmanuel Vadot	status = "okay";
775*833e5d42SEmmanuel Vadot};
776*833e5d42SEmmanuel Vadot
777*833e5d42SEmmanuel Vadot&u2phy2 {
778*833e5d42SEmmanuel Vadot	status = "okay";
779*833e5d42SEmmanuel Vadot};
780*833e5d42SEmmanuel Vadot
781*833e5d42SEmmanuel Vadot&u2phy3 {
782*833e5d42SEmmanuel Vadot	status = "okay";
783*833e5d42SEmmanuel Vadot};
784*833e5d42SEmmanuel Vadot
785*833e5d42SEmmanuel Vadot&u2phy2_host {
786*833e5d42SEmmanuel Vadot	phy-supply = <&vcc5v0_host>;
787*833e5d42SEmmanuel Vadot	status = "okay";
788*833e5d42SEmmanuel Vadot};
789*833e5d42SEmmanuel Vadot
790*833e5d42SEmmanuel Vadot&u2phy3_host {
791*833e5d42SEmmanuel Vadot	phy-supply = <&vcc5v0_host>;
792*833e5d42SEmmanuel Vadot	status = "okay";
793*833e5d42SEmmanuel Vadot};
794*833e5d42SEmmanuel Vadot
795*833e5d42SEmmanuel Vadot&uart2 {
796*833e5d42SEmmanuel Vadot	pinctrl-names = "default";
797*833e5d42SEmmanuel Vadot	pinctrl-0 = <&uart2m0_xfer>;
798*833e5d42SEmmanuel Vadot	status = "okay";
799*833e5d42SEmmanuel Vadot};
800*833e5d42SEmmanuel Vadot
801*833e5d42SEmmanuel Vadot&uart7 {
802*833e5d42SEmmanuel Vadot	pinctrl-0 = <&uart7m2_xfer>;
803*833e5d42SEmmanuel Vadot	status = "okay";
804*833e5d42SEmmanuel Vadot};
805*833e5d42SEmmanuel Vadot
806*833e5d42SEmmanuel Vadot&usb_host0_ehci {
807*833e5d42SEmmanuel Vadot	status = "okay";
808*833e5d42SEmmanuel Vadot};
809*833e5d42SEmmanuel Vadot
810*833e5d42SEmmanuel Vadot&usb_host0_ohci {
811*833e5d42SEmmanuel Vadot	status = "okay";
812*833e5d42SEmmanuel Vadot};
813*833e5d42SEmmanuel Vadot
814*833e5d42SEmmanuel Vadot&usb_host0_xhci {
815*833e5d42SEmmanuel Vadot	extcon = <&u2phy0>;
816*833e5d42SEmmanuel Vadot	status = "okay";
817*833e5d42SEmmanuel Vadot};
818*833e5d42SEmmanuel Vadot
819*833e5d42SEmmanuel Vadot&usb_host1_ehci {
820*833e5d42SEmmanuel Vadot	status = "okay";
821*833e5d42SEmmanuel Vadot};
822*833e5d42SEmmanuel Vadot
823*833e5d42SEmmanuel Vadot&usb_host1_ohci {
824*833e5d42SEmmanuel Vadot	status = "okay";
825*833e5d42SEmmanuel Vadot};
826*833e5d42SEmmanuel Vadot
827*833e5d42SEmmanuel Vadot&vop {
828*833e5d42SEmmanuel Vadot	status = "okay";
829*833e5d42SEmmanuel Vadot};
830*833e5d42SEmmanuel Vadot
831*833e5d42SEmmanuel Vadot&vop_mmu {
832*833e5d42SEmmanuel Vadot	status = "okay";
833*833e5d42SEmmanuel Vadot};
834*833e5d42SEmmanuel Vadot
835*833e5d42SEmmanuel Vadot&vp0 {
836*833e5d42SEmmanuel Vadot	vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
837*833e5d42SEmmanuel Vadot		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
838*833e5d42SEmmanuel Vadot		remote-endpoint = <&hdmi0_in_vp0>;
839*833e5d42SEmmanuel Vadot	};
840*833e5d42SEmmanuel Vadot};
841