Debian Codegraph @

scripts/dtc/include-prefixes/arm64/rockchip/rk3576-roc-pc.dts

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