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