xref: /linux/arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts (revision ec71f661a572a770d7c861cd52a50cbbb0e1a8d1)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2024 Firefly Technology Co. Ltd
4 * Copyright (c) 2024 Heiko Stuebner <heiko@sntech.de>
5 */
6
7/dts-v1/;
8
9#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/input/input.h>
11#include <dt-bindings/pinctrl/rockchip.h>
12#include <dt-bindings/pwm/pwm.h>
13#include <dt-bindings/soc/rockchip,vop2.h>
14#include <dt-bindings/usb/pd.h>
15#include "rk3576.dtsi"
16
17/ {
18	model = "Firefly ROC-RK3576-PC";
19	compatible = "firefly,roc-rk3576-pc", "rockchip,rk3576";
20
21	aliases {
22		mmc0 = &sdhci;
23		mmc1 = &sdmmc;
24	};
25
26	chosen {
27		stdout-path = "serial0:1500000n8";
28	};
29
30	adc-keys-0 {
31		compatible = "adc-keys";
32		io-channels = <&saradc 0>;
33		io-channel-names = "buttons";
34		keyup-threshold-microvolt = <1800000>;
35		poll-interval = <100>;
36
37		button-maskrom {
38			label = "Maskrom";
39			linux,code = <KEY_SETUP>;
40			press-threshold-microvolt = <17000>;
41		};
42	};
43
44	adc-keys-1 {
45		compatible = "adc-keys";
46		io-channels = <&saradc 1>;
47		io-channel-names = "buttons";
48		keyup-threshold-microvolt = <1800000>;
49		poll-interval = <100>;
50
51		button-recovery {
52			label = "Recovery";
53			linux,code = <KEY_VENDOR>;
54			press-threshold-microvolt = <17000>;
55		};
56	};
57
58	hdmi-con {
59		compatible = "hdmi-connector";
60		type = "a";
61
62		port {
63			hdmi_con_in: endpoint {
64				remote-endpoint = <&hdmi_out_con>;
65			};
66		};
67	};
68
69	vbus5v0_typec: regulator-vbus5v0-typec {
70		compatible = "regulator-fixed";
71		enable-active-high;
72		gpio = <&gpio0 RK_PD1 GPIO_ACTIVE_HIGH>;
73		pinctrl-names = "default";
74		pinctrl-0 = <&usb_otg0_pwren_h>;
75		regulator-name = "vbus5v0_typec";
76		regulator-min-microvolt = <5000000>;
77		regulator-max-microvolt = <5000000>;
78		vin-supply = <&vcc5v0_device_s0>;
79	};
80
81	vcc12v_dcin: regulator-vcc12v-dcin {
82		compatible = "regulator-fixed";
83		regulator-name = "vcc12v_dcin";
84		regulator-always-on;
85		regulator-boot-on;
86		regulator-min-microvolt = <12000000>;
87		regulator-max-microvolt = <12000000>;
88	};
89
90	vcc1v2_ufs_vccq_s0: regulator-vcc1v2-ufs-vccq-s0 {
91		compatible = "regulator-fixed";
92		regulator-name = "vcc1v2_ufs_vccq_s0";
93		regulator-boot-on;
94		regulator-always-on;
95		regulator-min-microvolt = <1200000>;
96		regulator-max-microvolt = <1200000>;
97		vin-supply = <&vcc5v0_sys_s5>;
98	};
99
100	vcc1v8_ufs_vccq2_s0: regulator-vcc1v8-ufs-vccq2-s0 {
101		compatible = "regulator-fixed";
102		regulator-name = "vcc1v8_ufs_vccq2_s0";
103		regulator-boot-on;
104		regulator-always-on;
105		regulator-min-microvolt = <1800000>;
106		regulator-max-microvolt = <1800000>;
107		vin-supply = <&vcc_1v8_s3>;
108	};
109
110	vcc3v3_pcie: regulator-vcc3v3-pcie {
111		compatible = "regulator-fixed";
112		enable-active-high;
113		gpio = <&gpio2 RK_PB3 GPIO_ACTIVE_HIGH>;
114		pinctrl-names = "default";
115		pinctrl-0 = <&pcie_pwren_h>;
116		regulator-name = "vcc3v3_pcie";
117		regulator-min-microvolt = <3300000>;
118		regulator-max-microvolt = <3300000>;
119		startup-delay-us = <5000>;
120		vin-supply = <&vcc12v_dcin>;
121	};
122
123	vcc3v3_rtc_s5: regulator-vcc3v3-rtc-s5 {
124		compatible = "regulator-fixed";
125		regulator-name = "vcc3v3_rtc_s5";
126		regulator-boot-on;
127		regulator-always-on;
128		regulator-min-microvolt = <3300000>;
129		regulator-max-microvolt = <3300000>;
130		vin-supply = <&vcc5v0_sys_s5>;
131	};
132
133	vcc5v0_device_s0: regulator-vcc5v0-device-s0 {
134		compatible = "regulator-fixed";
135		enable-active-high;
136		gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
137		pinctrl-names = "default";
138		pinctrl-0 = <&vcc5vd_en>;
139		regulator-name = "vcc5v0_device";
140		regulator-always-on;
141		regulator-boot-on;
142		regulator-min-microvolt = <5000000>;
143		regulator-max-microvolt = <5000000>;
144		vin-supply = <&vcc12v_dcin>;
145	};
146
147	vcc5v0_sys_s5: regulator-vcc5v0-sys-s5 {
148		compatible = "regulator-fixed";
149		regulator-name = "vcc_sys";
150		regulator-always-on;
151		regulator-boot-on;
152		regulator-min-microvolt = <5000000>;
153		regulator-max-microvolt = <5000000>;
154		vin-supply = <&vcc12v_dcin>;
155	};
156
157	vcc5v0_usb20_host1: regulator-vcc5v0-usb20-host1 {
158		compatible = "regulator-fixed";
159		enable-active-high;
160		gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
161		pinctrl-names = "default";
162		pinctrl-0 = <&usb3_host_pwren_h>;
163		regulator-name = "vcc5v0_host1";
164		regulator-min-microvolt = <5000000>;
165		regulator-max-microvolt = <5000000>;
166		vin-supply = <&vcc5v0_device_s0>;
167	};
168
169	vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 {
170		compatible = "regulator-fixed";
171		regulator-name = "vcc_1v1_nldo_s3";
172		regulator-boot-on;
173		regulator-always-on;
174		regulator-min-microvolt = <1100000>;
175		regulator-max-microvolt = <1100000>;
176		vin-supply = <&vcc5v0_sys_s5>;
177	};
178
179	vcc_1v8_s0: regulator-vcc-1v8-s0 {
180		compatible = "regulator-fixed";
181		regulator-name = "vcc_1v8_s0";
182		regulator-boot-on;
183		regulator-always-on;
184		regulator-min-microvolt = <1800000>;
185		regulator-max-microvolt = <1800000>;
186		vin-supply = <&vcc_1v8_s3>;
187	};
188
189	vcc_2v0_pldo_s3: regulator-vcc-2v0-pldo-s3 {
190		compatible = "regulator-fixed";
191		regulator-name = "vcc_2v0_pldo_s3";
192		regulator-boot-on;
193		regulator-always-on;
194		regulator-min-microvolt = <2000000>;
195		regulator-max-microvolt = <2000000>;
196		vin-supply = <&vcc5v0_sys_s5>;
197	};
198
199	vcc_3v3_s0: regulator-vcc-3v3-s0 {
200		compatible = "regulator-fixed";
201		regulator-name = "vcc_3v3_s0";
202		regulator-boot-on;
203		regulator-always-on;
204		regulator-min-microvolt = <3300000>;
205		regulator-max-microvolt = <3300000>;
206		vin-supply = <&vcc_3v3_s3>;
207	};
208
209	vcc_ufs_s0: regulator-vcc-ufs-s0 {
210		compatible = "regulator-fixed";
211		regulator-name = "vcc_ufs_s0";
212		regulator-boot-on;
213		regulator-always-on;
214		regulator-min-microvolt = <3300000>;
215		regulator-max-microvolt = <3300000>;
216		vin-supply = <&vcc5v0_sys_s5>;
217	};
218};
219
220&cpu_l0 {
221	cpu-supply = <&vdd_cpu_lit_s0>;
222};
223
224&cpu_l1 {
225	cpu-supply = <&vdd_cpu_lit_s0>;
226};
227
228&cpu_l2 {
229	cpu-supply = <&vdd_cpu_lit_s0>;
230};
231
232&cpu_l3 {
233	cpu-supply = <&vdd_cpu_lit_s0>;
234};
235
236&cpu_b0 {
237	cpu-supply = <&vdd_cpu_big_s0>;
238};
239
240&cpu_b1 {
241	cpu-supply = <&vdd_cpu_big_s0>;
242};
243
244&cpu_b2 {
245	cpu-supply = <&vdd_cpu_big_s0>;
246};
247
248&cpu_b3 {
249	cpu-supply = <&vdd_cpu_big_s0>;
250};
251
252&gpu {
253	mali-supply = <&vdd_gpu_s0>;
254	status = "okay";
255};
256
257&gmac0 {
258	clock_in_out = "output";
259	pinctrl-names = "default";
260	pinctrl-0 = <&eth0m0_miim
261		     &eth0m0_tx_bus2
262		     &eth0m0_rx_bus2
263		     &eth0m0_rgmii_clk
264		     &eth0m0_rgmii_bus
265		     &ethm0_clk0_25m_out>;
266	/* Use rgmii-rxid mode to disable rx delay inside Soc */
267	phy-mode = "rgmii-rxid";
268	phy-handle = <&rgmii_phy0>;
269	tx_delay = <0x21>;
270	status = "okay";
271};
272
273&hdmi {
274	status = "okay";
275};
276
277&hdmi_in {
278	hdmi_in_vp0: endpoint {
279		remote-endpoint = <&vp0_out_hdmi>;
280	};
281};
282
283&hdmi_out {
284	hdmi_out_con: endpoint {
285		remote-endpoint = <&hdmi_con_in>;
286	};
287};
288
289&hdptxphy {
290	status = "okay";
291};
292
293&mdio0 {
294	status = "okay";
295
296	rgmii_phy0: phy@1 {
297		compatible = "ethernet-phy-ieee802.3-c22";
298		reg = <0x1>;
299		clocks = <&cru REFCLKO25M_GMAC0_OUT>;
300		/* Reset time is 20ms, 100ms for rtl8211f */
301		reset-delay-us = <20000>;
302		reset-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
303		reset-post-delay-us = <100000>;
304	};
305};
306
307&i2c1 {
308	status = "okay";
309
310	pmic@23 {
311		compatible = "rockchip,rk806";
312		reg = <0x23>;
313		interrupt-parent = <&gpio0>;
314		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
315		gpio-controller;
316		#gpio-cells = <2>;
317		pinctrl-names = "default";
318		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
319			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
320		system-power-controller;
321
322		vcc1-supply = <&vcc5v0_sys_s5>;
323		vcc2-supply = <&vcc5v0_sys_s5>;
324		vcc3-supply = <&vcc5v0_sys_s5>;
325		vcc4-supply = <&vcc5v0_sys_s5>;
326		vcc5-supply = <&vcc5v0_sys_s5>;
327		vcc6-supply = <&vcc5v0_sys_s5>;
328		vcc7-supply = <&vcc5v0_sys_s5>;
329		vcc8-supply = <&vcc5v0_sys_s5>;
330		vcc9-supply = <&vcc5v0_sys_s5>;
331		vcc10-supply = <&vcc5v0_sys_s5>;
332		vcc11-supply = <&vcc_2v0_pldo_s3>;
333		vcc12-supply = <&vcc5v0_sys_s5>;
334		vcc13-supply = <&vcc_1v1_nldo_s3>;
335		vcc14-supply = <&vcc_1v1_nldo_s3>;
336		vcca-supply = <&vcc5v0_sys_s5>;
337
338		rk806_dvs1_null: dvs1-null-pins {
339			pins = "gpio_pwrctrl1";
340			function = "pin_fun0";
341		};
342
343		rk806_dvs2_null: dvs2-null-pins {
344			pins = "gpio_pwrctrl2";
345			function = "pin_fun0";
346		};
347
348		rk806_dvs3_null: dvs3-null-pins {
349			pins = "gpio_pwrctrl3";
350			function = "pin_fun0";
351		};
352
353		rk806_dvs1_slp: dvs1-slp-pins {
354			pins = "gpio_pwrctrl1";
355			function = "pin_fun1";
356		};
357
358		rk806_dvs1_pwrdn: dvs1-pwrdn-pins {
359			pins = "gpio_pwrctrl1";
360			function = "pin_fun2";
361		};
362
363		rk806_dvs1_rst: dvs1-rst-pins {
364			pins = "gpio_pwrctrl1";
365			function = "pin_fun3";
366		};
367
368		rk806_dvs2_slp: dvs2-slp-pins {
369			pins = "gpio_pwrctrl2";
370			function = "pin_fun1";
371		};
372
373		rk806_dvs2_pwrdn: dvs2-pwrdn-pins {
374			pins = "gpio_pwrctrl2";
375			function = "pin_fun2";
376		};
377
378		rk806_dvs2_rst: dvs2-rst-pins {
379			pins = "gpio_pwrctrl2";
380			function = "pin_fun3";
381		};
382
383		rk806_dvs2_dvs: dvs2-dvs-pins {
384			pins = "gpio_pwrctrl2";
385			function = "pin_fun4";
386		};
387
388		rk806_dvs2_gpio: dvs2-gpio-pins {
389			pins = "gpio_pwrctrl2";
390			function = "pin_fun5";
391		};
392
393		rk806_dvs3_slp: dvs3-slp-pins {
394			pins = "gpio_pwrctrl3";
395			function = "pin_fun1";
396		};
397
398		rk806_dvs3_pwrdn: dvs3-pwrdn-pins {
399			pins = "gpio_pwrctrl3";
400			function = "pin_fun2";
401		};
402
403		rk806_dvs3_rst: dvs3-rst-pins {
404			pins = "gpio_pwrctrl3";
405			function = "pin_fun3";
406		};
407
408		rk806_dvs3_dvs: dvs3-dvs-pins {
409			pins = "gpio_pwrctrl3";
410			function = "pin_fun4";
411		};
412
413		rk806_dvs3_gpio: dvs3-gpio-pins {
414			pins = "gpio_pwrctrl3";
415			function = "pin_fun5";
416		};
417
418		regulators {
419			vdd_cpu_big_s0: dcdc-reg1 {
420				regulator-always-on;
421				regulator-boot-on;
422				regulator-min-microvolt = <550000>;
423				regulator-max-microvolt = <950000>;
424				regulator-ramp-delay = <12500>;
425				regulator-name = "vdd_cpu_big_s0";
426				regulator-enable-ramp-delay = <400>;
427				regulator-state-mem {
428					regulator-off-in-suspend;
429				};
430			};
431
432			vdd_npu_s0: dcdc-reg2 {
433				regulator-boot-on;
434				regulator-min-microvolt = <550000>;
435				regulator-max-microvolt = <950000>;
436				regulator-ramp-delay = <12500>;
437				regulator-name = "vdd_npu_s0";
438				regulator-enable-ramp-delay = <400>;
439				regulator-state-mem {
440					regulator-off-in-suspend;
441				};
442			};
443
444			vdd_cpu_lit_s0: dcdc-reg3 {
445				regulator-always-on;
446				regulator-boot-on;
447				regulator-min-microvolt = <550000>;
448				regulator-max-microvolt = <950000>;
449				regulator-ramp-delay = <12500>;
450				regulator-name = "vdd_cpu_lit_s0";
451				regulator-state-mem {
452					regulator-off-in-suspend;
453					regulator-suspend-microvolt = <750000>;
454				};
455			};
456
457			vcc_3v3_s3: dcdc-reg4 {
458				regulator-always-on;
459				regulator-boot-on;
460				regulator-min-microvolt = <3300000>;
461				regulator-max-microvolt = <3300000>;
462				regulator-name = "vcc_3v3_s3";
463				regulator-state-mem {
464					regulator-on-in-suspend;
465					regulator-suspend-microvolt = <3300000>;
466				};
467			};
468
469			vdd_gpu_s0: dcdc-reg5 {
470				regulator-boot-on;
471				regulator-min-microvolt = <550000>;
472				regulator-max-microvolt = <900000>;
473				regulator-ramp-delay = <12500>;
474				regulator-name = "vdd_gpu_s0";
475				regulator-enable-ramp-delay = <400>;
476				regulator-state-mem {
477					regulator-off-in-suspend;
478					regulator-suspend-microvolt = <850000>;
479				};
480			};
481
482			vddq_ddr_s0: dcdc-reg6 {
483				regulator-always-on;
484				regulator-boot-on;
485				regulator-name = "vddq_ddr_s0";
486				regulator-state-mem {
487					regulator-off-in-suspend;
488				};
489			};
490
491			vdd_logic_s0: dcdc-reg7 {
492				regulator-always-on;
493				regulator-boot-on;
494				regulator-min-microvolt = <550000>;
495				regulator-max-microvolt = <800000>;
496				regulator-name = "vdd_logic_s0";
497				regulator-state-mem {
498					regulator-off-in-suspend;
499				};
500			};
501
502			vcc_1v8_s3: dcdc-reg8 {
503				regulator-always-on;
504				regulator-boot-on;
505				regulator-min-microvolt = <1800000>;
506				regulator-max-microvolt = <1800000>;
507				regulator-name = "vcc_1v8_s3";
508				regulator-state-mem {
509					regulator-on-in-suspend;
510					regulator-suspend-microvolt = <1800000>;
511				};
512			};
513
514			vdd2_ddr_s3: dcdc-reg9 {
515				regulator-always-on;
516				regulator-boot-on;
517				regulator-name = "vdd2_ddr_s3";
518				regulator-state-mem {
519					regulator-on-in-suspend;
520				};
521			};
522
523			vdd_ddr_s0: dcdc-reg10 {
524				regulator-always-on;
525				regulator-boot-on;
526				regulator-min-microvolt = <550000>;
527				regulator-max-microvolt = <1200000>;
528				regulator-name = "vdd_ddr_s0";
529				regulator-state-mem {
530					regulator-off-in-suspend;
531				};
532			};
533
534			vcca_1v8_s0: pldo-reg1 {
535				regulator-always-on;
536				regulator-boot-on;
537				regulator-min-microvolt = <1800000>;
538				regulator-max-microvolt = <1800000>;
539				regulator-name = "vcca_1v8_s0";
540				regulator-state-mem {
541					regulator-off-in-suspend;
542				};
543			};
544
545			vcca1v8_pldo2_s0: pldo-reg2 {
546				regulator-always-on;
547				regulator-boot-on;
548				regulator-min-microvolt = <1800000>;
549				regulator-max-microvolt = <1800000>;
550				regulator-name = "vcca1v8_pldo2_s0";
551				regulator-state-mem {
552					regulator-off-in-suspend;
553				};
554			};
555
556			vdda_1v2_s0: pldo-reg3 {
557				regulator-always-on;
558				regulator-boot-on;
559				regulator-min-microvolt = <1200000>;
560				regulator-max-microvolt = <1200000>;
561				regulator-name = "vdda_1v2_s0";
562				regulator-state-mem {
563					regulator-off-in-suspend;
564				};
565			};
566
567			vcca_3v3_s0: pldo-reg4 {
568				regulator-always-on;
569				regulator-boot-on;
570				regulator-min-microvolt = <3300000>;
571				regulator-max-microvolt = <3300000>;
572				regulator-name = "vcca_3v3_s0";
573				regulator-state-mem {
574					regulator-off-in-suspend;
575				};
576			};
577
578			vccio_sd_s0: pldo-reg5 {
579				regulator-always-on;
580				regulator-boot-on;
581				regulator-min-microvolt = <1800000>;
582				regulator-max-microvolt = <3300000>;
583				regulator-name = "vccio_sd_s0";
584				regulator-state-mem {
585					regulator-off-in-suspend;
586				};
587			};
588
589			vcca1v8_pldo6_s3: pldo-reg6 {
590				regulator-always-on;
591				regulator-boot-on;
592				regulator-min-microvolt = <1800000>;
593				regulator-max-microvolt = <1800000>;
594				regulator-name = "vcca1v8_pldo6_s3";
595				regulator-state-mem {
596					regulator-on-in-suspend;
597					regulator-suspend-microvolt = <1800000>;
598				};
599			};
600
601			vdd_0v75_s3: nldo-reg1 {
602				regulator-always-on;
603				regulator-boot-on;
604				regulator-min-microvolt = <750000>;
605				regulator-max-microvolt = <750000>;
606				regulator-name = "vdd_0v75_s3";
607				regulator-state-mem {
608					regulator-on-in-suspend;
609					regulator-suspend-microvolt = <750000>;
610				};
611			};
612
613			vdda_ddr_pll_s0: nldo-reg2 {
614				regulator-always-on;
615				regulator-boot-on;
616				regulator-min-microvolt = <850000>;
617				regulator-max-microvolt = <850000>;
618				regulator-name = "vdda_ddr_pll_s0";
619				regulator-state-mem {
620					regulator-off-in-suspend;
621				};
622			};
623
624			vdda0v75_hdmi_s0: nldo-reg3 {
625				regulator-always-on;
626				regulator-boot-on;
627				regulator-min-microvolt = <837500>;
628				regulator-max-microvolt = <837500>;
629				regulator-name = "vdda0v75_hdmi_s0";
630				regulator-state-mem {
631					regulator-off-in-suspend;
632				};
633			};
634
635			vdda_0v85_s0: nldo-reg4 {
636				regulator-always-on;
637				regulator-boot-on;
638				regulator-min-microvolt = <850000>;
639				regulator-max-microvolt = <850000>;
640				regulator-name = "vdda_0v85_s0";
641				regulator-state-mem {
642					regulator-off-in-suspend;
643				};
644			};
645
646			vdda_0v75_s0: nldo-reg5 {
647				regulator-always-on;
648				regulator-boot-on;
649				regulator-min-microvolt = <750000>;
650				regulator-max-microvolt = <750000>;
651				regulator-name = "vdda_0v75_s0";
652				regulator-state-mem {
653					regulator-off-in-suspend;
654				};
655			};
656		};
657	};
658};
659
660&i2c2 {
661	status = "okay";
662
663	/* pc9202 watchdog@3c with enable-gpio gpio0-c3 */
664
665	/* hnyetek,husb311 typec-portc@4e */
666
667	hym8563: rtc@51 {
668		compatible = "haoyu,hym8563";
669		reg = <0x51>;
670		#clock-cells = <0>;
671		clock-output-names = "hym8563";
672		pinctrl-names = "default";
673		pinctrl-0 = <&rtc_int_l>;
674		interrupt-parent = <&gpio0>;
675		interrupts = <RK_PA0 IRQ_TYPE_LEVEL_LOW>;
676		wakeup-source;
677	};
678};
679
680&saradc {
681	vref-supply = <&vcca_1v8_s0>;
682	status = "okay";
683};
684
685&sdhci {
686	bus-width = <8>;
687	no-sdio;
688	no-sd;
689	non-removable;
690	max-frequency = <200000000>;
691	mmc-hs400-1_8v;
692	mmc-hs400-enhanced-strobe;
693	full-pwr-cycle-in-suspend;
694	status = "okay";
695};
696
697&sdmmc {
698	max-frequency = <200000000>;
699	no-sdio;
700	no-mmc;
701	bus-width = <4>;
702	cap-mmc-highspeed;
703	cap-sd-highspeed;
704	disable-wp;
705	sd-uhs-sdr104;
706	vqmmc-supply = <&vccio_sd_s0>;
707	status = "okay";
708};
709
710&pinctrl {
711	hym8563 {
712		rtc_int_l: rtc-int-l {
713			rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
714		};
715	};
716
717	power {
718		vcc5vd_en: vcc5vd-en {
719			rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
720		};
721
722		pcie_pwren_h: pcie-pwren-h {
723			rockchip,pins = <2 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
724		};
725	};
726
727	usb {
728		hub_reset_h: hub-reset-h {
729			rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
730		};
731
732		usb3_host_pwren_h: usb3-host-pwren-h {
733			rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
734		};
735
736		usb_otg0_pwren_h: usb-otg0-pwren-h {
737			rockchip,pins = <0 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
738		};
739
740		usbc0_int_l: usbc0-int-l {
741			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
742		};
743	};
744
745	watchdog {
746		wd_en: wd-en {
747			rockchip,pins = <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
748		};
749	};
750};
751
752&uart0 {
753	pinctrl-0 = <&uart0m0_xfer>;
754	status = "okay";
755};
756
757&uart4 {
758	pinctrl-names = "default";
759	pinctrl-0 = <&uart4m1_xfer &uart4m1_ctsn>;
760	status = "okay";
761};
762
763/* On the extension pin header */
764&uart6 {
765	pinctrl-names = "default";
766	pinctrl-0 = <&uart6m3_xfer>;
767	status = "okay";
768};
769
770&vop {
771	status = "okay";
772};
773
774&vop_mmu {
775	status = "okay";
776};
777
778&vp0 {
779	vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
780		reg = <ROCKCHIP_VOP2_EP_HDMI0>;
781		remote-endpoint = <&hdmi_in_vp0>;
782	};
783};
784