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