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