Debian Codegraph @

scripts/dtc/include-prefixes/arm64/rockchip/rk3588-evb2-v10.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3 * Copyright (c) 2025 Rockchip Electronics Co., Ltd.
4 *
5 */
6
7 /dts-v1/;
8
9 #include <dt-bindings/clock/rockchip,rk3588-cru.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/soc/rockchip,vop2.h>
13 #include "rk3588.dtsi"
14
15 / {
16 model = "Rockchip RK3588 EVB2 V10 Board";
17 compatible = "rockchip,rk3588-evb2-v10", "rockchip,rk3588";
18
19 aliases {
20 mmc0 = &sdhci;
21 serial2 = &uart2;
22 };
23
24 chosen {
25 stdout-path = "serial2:1500000n8";
26 };
27
28 dp-con {
29 compatible = "dp-connector";
30 label = "DP OUT";
31 type = "full-size";
32
33 port {
34 dp_con_in: endpoint {
35 remote-endpoint = <&dp0_out_con>;
36 };
37 };
38 };
39
40 hdmi-con {
41 compatible = "hdmi-connector";
42 type = "a";
43
44 port {
45 hdmi_con_in: endpoint {
46 remote-endpoint = <&hdmi0_out_con>;
47 };
48 };
49 };
50
51 sdio_pwrseq: sdio-pwrseq {
52 compatible = "mmc-pwrseq-simple";
53 clocks = <&hym8563>;
54 clock-names = "ext_clock";
55 pinctrl-names = "default";
56 pinctrl-0 = <&wifi_enable_h>;
57 /*
58 * On the module itself this is one of these (depending
59 * on the actual card populated):
60 * - SDIO_RESET_L_WL_REG_ON
61 * - PDN (power down when low)
62 */
63 post-power-on-delay-ms = <200>;
64 reset-gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_LOW>;
65 };
66
67 vcc12v_dcin: vcc12v-dcin-regulator {
68 compatible = "regulator-fixed";
69 regulator-name = "vcc12v_dcin";
70 regulator-always-on;
71 regulator-boot-on;
72 regulator-min-microvolt = <12000000>;
73 regulator-max-microvolt = <12000000>;
74 };
75
76 vcc5v0_host: vcc5v0-host {
77 compatible = "regulator-fixed";
78 regulator-name = "vcc5v0_host";
79 regulator-boot-on;
80 regulator-always-on;
81 regulator-min-microvolt = <5000000>;
82 regulator-max-microvolt = <5000000>;
83 enable-active-high;
84 gpio = <&gpio4 RK_PA1 GPIO_ACTIVE_HIGH>;
85 vin-supply = <&vcc5v0_usb>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&vcc5v0_host_en>;
88 };
89
90 vcc5v0_usb: regulator-vcc5v0-usb {
91 compatible = "regulator-fixed";
92 regulator-name = "vcc5v0_usb";
93 regulator-always-on;
94 regulator-boot-on;
95 regulator-min-microvolt = <5000000>;
96 regulator-max-microvolt = <5000000>;
97 vin-supply = <&vcc5v0_usbdcin>;
98 };
99
100 vcc5v0_sys: vcc5v0-sys-regulator {
101 compatible = "regulator-fixed";
102 regulator-name = "vcc5v0_sys";
103 regulator-always-on;
104 regulator-boot-on;
105 regulator-min-microvolt = <5000000>;
106 regulator-max-microvolt = <5000000>;
107 vin-supply = <&vcc12v_dcin>;
108 };
109
110 vcc5v0_usbdcin: regulator-vcc5v0-usbdcin {
111 compatible = "regulator-fixed";
112 regulator-name = "vcc5v0_usbdcin";
113 regulator-always-on;
114 regulator-boot-on;
115 regulator-min-microvolt = <5000000>;
116 regulator-max-microvolt = <5000000>;
117 vin-supply = <&vcc12v_dcin>;
118 };
119 };
120
121 &dp0 {
122 pinctrl-0 = <&dp0m0_pins>;
123 pinctrl-names = "default";
124 status = "okay";
125 };
126
127 &dp0_in {
128 dp0_in_vp2: endpoint {
129 remote-endpoint = <&vp2_out_dp0>;
130 };
131 };
132
133 &dp0_out {
134 dp0_out_con: endpoint {
135 remote-endpoint = <&dp_con_in>;
136 };
137 };
138
139 &gpu {
140 mali-supply = <&vdd_gpu_s0>;
141 sram-supply = <&vdd_gpu_mem_s0>;
142 status = "okay";
143 };
144
145 &hdmi0 {
146 status = "okay";
147 };
148
149 &hdmi0_in {
150 hdmi0_in_vp0: endpoint {
151 remote-endpoint = <&vp0_out_hdmi0>;
152 };
153 };
154
155 &hdmi0_out {
156 hdmi0_out_con: endpoint {
157 remote-endpoint = <&hdmi_con_in>;
158 };
159 };
160
161 &hdptxphy0 {
162 status = "okay";
163 };
164
165 &i2c2 {
166 status = "okay";
167
168 hym8563: rtc@51 {
169 compatible = "haoyu,hym8563";
170 reg = <0x51>;
171 #clock-cells = <0>;
172 clock-output-names = "hym8563";
173 interrupt-parent = <&gpio0>;
174 interrupts = <RK_PD4 IRQ_TYPE_LEVEL_LOW>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&hym8563_int>;
177 wakeup-source;
178 };
179 };
180
181 &pd_gpu {
182 domain-supply = <&vdd_gpu_s0>;
183 };
184
185 &pinctrl {
186 hym8563 {
187 hym8563_int: hym8563-int {
188 rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>;
189 };
190 };
191
192 usb {
193 vcc5v0_host_en: vcc5v0-host-en {
194 rockchip,pins = <4 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
195 };
196 };
197
198 wifi {
199 wifi_enable_h: wifi-enable-h {
200 rockchip,pins = <2 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up>;
201 };
202
203 wifi_host_wake_irq: wifi-host-wake-irq {
204 rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
205 };
206 };
207
208 };
209
210 &sdhci {
211 bus-width = <8>;
212 max-frequency = <200000000>;
213 mmc-hs400-1_8v;
214 mmc-hs400-enhanced-strobe;
215 non-removable;
216 no-sd;
217 no-sdio;
218 status = "okay";
219 };
220
221 &sdio {
222 #address-cells = <1>;
223 #size-cells = <0>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&sdiom0_pins>;
226 bus-width = <4>;
227 cap-sd-highspeed;
228 cap-sdio-irq;
229 disable-wp;
230 keep-power-in-suspend;
231 max-frequency = <150000000>;
232 mmc-pwrseq = <&sdio_pwrseq>;
233 no-mmc;
234 non-removable;
235 no-sd;
236 sd-uhs-sdr104;
237 status = "okay";
238
239 brcmf: wifi@1 {
240 compatible = "brcm,bcm4329-fmac";
241 reg = <1>;
242 interrupt-parent = <&gpio2>;
243 interrupts = <RK_PB4 IRQ_TYPE_LEVEL_HIGH>;
244 interrupt-names = "host-wake";
245 pinctrl-0 = <&wifi_host_wake_irq>;
246 pinctrl-names = "default";
247 };
248 };
249
250 &spi2 {
251 status = "okay";
252 assigned-clocks = <&cru CLK_SPI2>;
253 assigned-clock-rates = <200000000>;
254 num-cs = <2>;
255
256 pmic@0 {
257 compatible = "rockchip,rk806";
258 reg = <0x0>;
259 #gpio-cells = <2>;
260 gpio-controller;
261 interrupt-parent = <&gpio0>;
262 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
263 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
264 <&rk806_dvs2_null>, <&rk806_dvs3_null>;
265 pinctrl-names = "default";
266 spi-max-frequency = <1000000>;
267 system-power-controller;
268
269 vcc1-supply = <&vcc5v0_sys>;
270 vcc2-supply = <&vcc5v0_sys>;
271 vcc3-supply = <&vcc5v0_sys>;
272 vcc4-supply = <&vcc5v0_sys>;
273 vcc5-supply = <&vcc5v0_sys>;
274 vcc6-supply = <&vcc5v0_sys>;
275 vcc7-supply = <&vcc5v0_sys>;
276 vcc8-supply = <&vcc5v0_sys>;
277 vcc9-supply = <&vcc5v0_sys>;
278 vcc10-supply = <&vcc5v0_sys>;
279 vcc11-supply = <&vcc_2v0_pldo_s3>;
280 vcc12-supply = <&vcc5v0_sys>;
281 vcc13-supply = <&vcc5v0_sys>;
282 vcc14-supply = <&vcc_1v1_nldo_s3>;
283 vcca-supply = <&vcc5v0_sys>;
284
285 rk806_dvs1_null: dvs1-null-pins {
286 pins = "gpio_pwrctrl1";
287 function = "pin_fun0";
288 };
289
290 rk806_dvs2_null: dvs2-null-pins {
291 pins = "gpio_pwrctrl2";
292 function = "pin_fun0";
293 };
294
295 rk806_dvs3_null: dvs3-null-pins {
296 pins = "gpio_pwrctrl3";
297 function = "pin_fun0";
298 };
299
300
301 regulators {
302 vdd_gpu_s0: dcdc-reg1 {
303 /* regulator coupling requires always-on */
304 regulator-always-on;
305 regulator-boot-on;
306 regulator-min-microvolt = <550000>;
307 regulator-max-microvolt = <950000>;
308 regulator-ramp-delay = <12500>;
309 regulator-name = "vdd_gpu_s0";
310 regulator-enable-ramp-delay = <400>;
311 regulator-coupled-with = <&vdd_gpu_mem_s0>;
312 regulator-coupled-max-spread = <10000>;
313 regulator-state-mem {
314 regulator-off-in-suspend;
315 };
316 };
317
318 vdd_npu_s0: dcdc-reg2 {
319 regulator-always-on;
320 regulator-boot-on;
321 regulator-min-microvolt = <550000>;
322 regulator-max-microvolt = <950000>;
323 regulator-ramp-delay = <12500>;
324 regulator-name = "vdd_npu_s0";
325 regulator-state-mem {
326 regulator-off-in-suspend;
327 };
328 };
329
330 vdd_log_s0: dcdc-reg3 {
331 regulator-always-on;
332 regulator-boot-on;
333 regulator-min-microvolt = <675000>;
334 regulator-max-microvolt = <750000>;
335 regulator-ramp-delay = <12500>;
336 regulator-name = "vdd_log_s0";
337 regulator-state-mem {
338 regulator-off-in-suspend;
339 regulator-suspend-microvolt = <750000>;
340 };
341 };
342
343 vdd_vdenc_s0: dcdc-reg4 {
344 regulator-always-on;
345 regulator-boot-on;
346 regulator-min-microvolt = <550000>;
347 regulator-max-microvolt = <950000>;
348 regulator-ramp-delay = <12500>;
349 regulator-name = "vdd_vdenc_s0";
350 regulator-state-mem {
351 regulator-off-in-suspend;
352 };
353
354 };
355
356 vdd_gpu_mem_s0: dcdc-reg5 {
357 /* regulator coupling requires always-on */
358 regulator-always-on;
359 regulator-boot-on;
360 regulator-min-microvolt = <675000>;
361 regulator-max-microvolt = <950000>;
362 regulator-ramp-delay = <12500>;
363 regulator-enable-ramp-delay = <400>;
364 regulator-name = "vdd_gpu_mem_s0";
365 regulator-coupled-with = <&vdd_gpu_s0>;
366 regulator-coupled-max-spread = <10000>;
367 regulator-state-mem {
368 regulator-off-in-suspend;
369 };
370
371 };
372
373 vdd_npu_mem_s0: dcdc-reg6 {
374 regulator-always-on;
375 regulator-boot-on;
376 regulator-min-microvolt = <675000>;
377 regulator-max-microvolt = <950000>;
378 regulator-ramp-delay = <12500>;
379 regulator-name = "vdd_npu_mem_s0";
380 regulator-state-mem {
381 regulator-off-in-suspend;
382 };
383
384 };
385
386 vcc_2v0_pldo_s3: dcdc-reg7 {
387 regulator-always-on;
388 regulator-boot-on;
389 regulator-min-microvolt = <2000000>;
390 regulator-max-microvolt = <2000000>;
391 regulator-ramp-delay = <12500>;
392 regulator-name = "vdd_2v0_pldo_s3";
393 regulator-state-mem {
394 regulator-on-in-suspend;
395 regulator-suspend-microvolt = <2000000>;
396 };
397 };
398
399 vdd_vdenc_mem_s0: dcdc-reg8 {
400 regulator-always-on;
401 regulator-boot-on;
402 regulator-min-microvolt = <675000>;
403 regulator-max-microvolt = <950000>;
404 regulator-ramp-delay = <12500>;
405 regulator-name = "vdd_vdenc_mem_s0";
406 regulator-state-mem {
407 regulator-off-in-suspend;
408 };
409 };
410
411 vdd2_ddr_s3: dcdc-reg9 {
412 regulator-always-on;
413 regulator-boot-on;
414 regulator-name = "vdd2_ddr_s3";
415 regulator-state-mem {
416 regulator-on-in-suspend;
417 };
418 };
419
420 vcc_1v1_nldo_s3: dcdc-reg10 {
421 regulator-always-on;
422 regulator-boot-on;
423 regulator-min-microvolt = <1100000>;
424 regulator-max-microvolt = <1100000>;
425 regulator-ramp-delay = <12500>;
426 regulator-name = "vcc_1v1_nldo_s3";
427 regulator-state-mem {
428 regulator-on-in-suspend;
429 regulator-suspend-microvolt = <1100000>;
430 };
431 };
432
433 avcc_1v8_s0: pldo-reg1 {
434 regulator-always-on;
435 regulator-boot-on;
436 regulator-min-microvolt = <1800000>;
437 regulator-max-microvolt = <1800000>;
438 regulator-ramp-delay = <12500>;
439 regulator-name = "avcc_1v8_s0";
440 regulator-state-mem {
441 regulator-off-in-suspend;
442 };
443 };
444
445 vdd1_1v8_ddr_s3: pldo-reg2 {
446 regulator-always-on;
447 regulator-boot-on;
448 regulator-min-microvolt = <1800000>;
449 regulator-max-microvolt = <1800000>;
450 regulator-ramp-delay = <12500>;
451 regulator-name = "vdd1_1v8_ddr_s3";
452 regulator-state-mem {
453 regulator-on-in-suspend;
454 regulator-suspend-microvolt = <1800000>;
455 };
456 };
457
458 avcc_1v8_codec_s0: pldo-reg3 {
459 regulator-always-on;
460 regulator-boot-on;
461 regulator-min-microvolt = <1800000>;
462 regulator-max-microvolt = <1800000>;
463 regulator-ramp-delay = <12500>;
464 regulator-name = "avcc_1v8_codec_s0";
465 regulator-state-mem {
466 regulator-off-in-suspend;
467 };
468 };
469
470 vcc_3v3_s3: pldo-reg4 {
471 regulator-always-on;
472 regulator-boot-on;
473 regulator-min-microvolt = <3300000>;
474 regulator-max-microvolt = <3300000>;
475 regulator-ramp-delay = <12500>;
476 regulator-name = "vcc_3v3_s3";
477 regulator-state-mem {
478 regulator-on-in-suspend;
479 regulator-suspend-microvolt = <3300000>;
480 };
481 };
482
483 vccio_sd_s0: pldo-reg5 {
484 regulator-always-on;
485 regulator-boot-on;
486 regulator-min-microvolt = <1800000>;
487 regulator-max-microvolt = <3300000>;
488 regulator-ramp-delay = <12500>;
489 regulator-name = "vccio_sd_s0";
490 regulator-state-mem {
491 regulator-off-in-suspend;
492 };
493 };
494
495 vccio_1v8_s3: pldo-reg6 {
496 regulator-always-on;
497 regulator-boot-on;
498 regulator-min-microvolt = <1800000>;
499 regulator-max-microvolt = <1800000>;
500 regulator-ramp-delay = <12500>;
501 regulator-name = "vccio_1v8_s3";
502 regulator-state-mem {
503 regulator-on-in-suspend;
504 regulator-suspend-microvolt = <1800000>;
505 };
506 };
507
508 vdd_0v75_s3: nldo-reg1 {
509 regulator-always-on;
510 regulator-boot-on;
511 regulator-min-microvolt = <750000>;
512 regulator-max-microvolt = <750000>;
513 regulator-ramp-delay = <12500>;
514 regulator-name = "vdd_0v75_s3";
515 regulator-state-mem {
516 regulator-on-in-suspend;
517 regulator-suspend-microvolt = <750000>;
518 };
519 };
520
521 vdd2l_0v9_ddr_s3: nldo-reg2 {
522 regulator-always-on;
523 regulator-boot-on;
524 regulator-min-microvolt = <900000>;
525 regulator-max-microvolt = <900000>;
526 regulator-name = "vdd2l_0v9_ddr_s3";
527 regulator-state-mem {
528 regulator-on-in-suspend;
529 regulator-suspend-microvolt = <900000>;
530 };
531 };
532
533 vdd_0v75_hdmi_edp_s0: nldo-reg3 {
534 regulator-always-on;
535 regulator-boot-on;
536 regulator-min-microvolt = <750000>;
537 regulator-max-microvolt = <750000>;
538 regulator-name = "vdd_0v75_hdmi_edp_s0";
539 regulator-state-mem {
540 regulator-off-in-suspend;
541 };
542 };
543
544 avdd_0v75_s0: nldo-reg4 {
545 regulator-always-on;
546 regulator-boot-on;
547 regulator-min-microvolt = <750000>;
548 regulator-max-microvolt = <750000>;
549 regulator-name = "avdd_0v75_s0";
550 regulator-state-mem {
551 regulator-off-in-suspend;
552 };
553 };
554
555 vdd_0v85_s0: nldo-reg5 {
556 regulator-always-on;
557 regulator-boot-on;
558 regulator-min-microvolt = <850000>;
559 regulator-max-microvolt = <850000>;
560 regulator-name = "vdd_0v85_s0";
561 regulator-state-mem {
562 regulator-off-in-suspend;
563 };
564 };
565 };
566 };
567
568 pmic@1 {
569 compatible = "rockchip,rk806";
570 reg = <0x01>;
571 #gpio-cells = <2>;
572 gpio-controller;
573 interrupt-parent = <&gpio0>;
574 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
575 pinctrl-0 = <&rk806_slave_dvs1_null>, <&rk806_slave_dvs2_null>,
576 <&rk806_slave_dvs3_null>;
577 pinctrl-names = "default";
578 spi-max-frequency = <1000000>;
579
580 vcc1-supply = <&vcc5v0_sys>;
581 vcc2-supply = <&vcc5v0_sys>;
582 vcc3-supply = <&vcc5v0_sys>;
583 vcc4-supply = <&vcc5v0_sys>;
584 vcc5-supply = <&vcc5v0_sys>;
585 vcc6-supply = <&vcc5v0_sys>;
586 vcc7-supply = <&vcc5v0_sys>;
587 vcc8-supply = <&vcc5v0_sys>;
588 vcc9-supply = <&vcc5v0_sys>;
589 vcc10-supply = <&vcc5v0_sys>;
590 vcc11-supply = <&vcc_2v0_pldo_s3>;
591 vcc12-supply = <&vcc5v0_sys>;
592 vcc13-supply = <&vcc_1v1_nldo_s3>;
593 vcc14-supply = <&vcc_2v0_pldo_s3>;
594 vcca-supply = <&vcc5v0_sys>;
595
596 rk806_slave_dvs1_null: dvs1-null-pins {
597 pins = "gpio_pwrctrl1";
598 function = "pin_fun0";
599 };
600
601 rk806_slave_dvs2_null: dvs2-null-pins {
602 pins = "gpio_pwrctrl2";
603 function = "pin_fun0";
604 };
605
606 rk806_slave_dvs3_null: dvs3-null-pins {
607 pins = "gpio_pwrctrl3";
608 function = "pin_fun0";
609 };
610
611 regulators {
612 vdd_cpu_big1_s0: dcdc-reg1 {
613 regulator-always-on;
614 regulator-boot-on;
615 regulator-coupled-with = <&vdd_cpu_big1_mem_s0>;
616 regulator-coupled-max-spread = <10000>;
617 regulator-min-microvolt = <550000>;
618 regulator-max-microvolt = <1050000>;
619 regulator-ramp-delay = <12500>;
620 regulator-name = "vdd_cpu_big1_s0";
621 regulator-state-mem {
622 regulator-off-in-suspend;
623 };
624 };
625
626 vdd_cpu_big0_s0: dcdc-reg2 {
627 regulator-always-on;
628 regulator-boot-on;
629 regulator-coupled-with = <&vdd_cpu_big0_mem_s0>;
630 regulator-coupled-max-spread = <10000>;
631 regulator-min-microvolt = <550000>;
632 regulator-max-microvolt = <1050000>;
633 regulator-ramp-delay = <12500>;
634 regulator-name = "vdd_cpu_big0_s0";
635 regulator-state-mem {
636 regulator-off-in-suspend;
637 };
638 };
639
640 vdd_cpu_lit_s0: dcdc-reg3 {
641 regulator-always-on;
642 regulator-boot-on;
643 regulator-coupled-with = <&vdd_cpu_lit_mem_s0>;
644 regulator-coupled-max-spread = <10000>;
645 regulator-min-microvolt = <550000>;
646 regulator-max-microvolt = <950000>;
647 regulator-ramp-delay = <12500>;
648 regulator-name = "vdd_cpu_lit_s0";
649 regulator-state-mem {
650 regulator-off-in-suspend;
651 };
652 };
653
654 vcc_3v3_s0: dcdc-reg4 {
655 regulator-always-on;
656 regulator-boot-on;
657 regulator-min-microvolt = <3300000>;
658 regulator-max-microvolt = <3300000>;
659 regulator-ramp-delay = <12500>;
660 regulator-name = "vcc_3v3_s0";
661 regulator-state-mem {
662 regulator-off-in-suspend;
663 };
664 };
665
666 vdd_cpu_big1_mem_s0: dcdc-reg5 {
667 regulator-always-on;
668 regulator-boot-on;
669 regulator-coupled-with = <&vdd_cpu_big1_s0>;
670 regulator-coupled-max-spread = <10000>;
671 regulator-min-microvolt = <675000>;
672 regulator-max-microvolt = <1050000>;
673 regulator-ramp-delay = <12500>;
674 regulator-name = "vdd_cpu_big1_mem_s0";
675 regulator-state-mem {
676 regulator-off-in-suspend;
677 };
678 };
679
680
681 vdd_cpu_big0_mem_s0: dcdc-reg6 {
682 regulator-always-on;
683 regulator-boot-on;
684 regulator-coupled-with = <&vdd_cpu_big0_s0>;
685 regulator-coupled-max-spread = <10000>;
686 regulator-min-microvolt = <675000>;
687 regulator-max-microvolt = <1050000>;
688 regulator-ramp-delay = <12500>;
689 regulator-name = "vdd_cpu_big0_mem_s0";
690 regulator-state-mem {
691 regulator-off-in-suspend;
692 };
693 };
694
695 vcc_1v8_s0: dcdc-reg7 {
696 regulator-always-on;
697 regulator-boot-on;
698 regulator-min-microvolt = <1800000>;
699 regulator-max-microvolt = <1800000>;
700 regulator-ramp-delay = <12500>;
701 regulator-name = "vcc_1v8_s0";
702 regulator-state-mem {
703 regulator-off-in-suspend;
704 };
705 };
706
707 vdd_cpu_lit_mem_s0: dcdc-reg8 {
708 regulator-always-on;
709 regulator-boot-on;
710 regulator-coupled-with = <&vdd_cpu_lit_s0>;
711 regulator-coupled-max-spread = <10000>;
712 regulator-min-microvolt = <675000>;
713 regulator-max-microvolt = <950000>;
714 regulator-ramp-delay = <12500>;
715 regulator-name = "vdd_cpu_lit_mem_s0";
716 regulator-state-mem {
717 regulator-off-in-suspend;
718 };
719 };
720
721 vddq_ddr_s0: dcdc-reg9 {
722 regulator-always-on;
723 regulator-boot-on;
724 regulator-name = "vddq_ddr_s0";
725 regulator-state-mem {
726 regulator-off-in-suspend;
727 };
728 };
729
730 vdd_ddr_s0: dcdc-reg10 {
731 regulator-always-on;
732 regulator-boot-on;
733 regulator-min-microvolt = <675000>;
734 regulator-max-microvolt = <900000>;
735 regulator-ramp-delay = <12500>;
736 regulator-name = "vdd_ddr_s0";
737 regulator-state-mem {
738 regulator-off-in-suspend;
739 };
740 };
741
742 vcc_1v8_cam_s0: pldo-reg1 {
743 regulator-always-on;
744 regulator-boot-on;
745 regulator-min-microvolt = <1800000>;
746 regulator-max-microvolt = <1800000>;
747 regulator-ramp-delay = <12500>;
748 regulator-name = "vcc_1v8_cam_s0";
749 regulator-state-mem {
750 regulator-off-in-suspend;
751 };
752 };
753
754 avdd1v8_ddr_pll_s0: pldo-reg2 {
755 regulator-always-on;
756 regulator-boot-on;
757 regulator-min-microvolt = <1800000>;
758 regulator-max-microvolt = <1800000>;
759 regulator-ramp-delay = <12500>;
760 regulator-name = "avdd1v8_ddr_pll_s0";
761 regulator-state-mem {
762 regulator-off-in-suspend;
763 };
764 };
765
766 vdd_1v8_pll_s0: pldo-reg3 {
767 regulator-always-on;
768 regulator-boot-on;
769 regulator-min-microvolt = <1800000>;
770 regulator-max-microvolt = <1800000>;
771 regulator-ramp-delay = <12500>;
772 regulator-name = "vdd_1v8_pll_s0";
773 regulator-state-mem {
774 regulator-off-in-suspend;
775 };
776 };
777
778 vcc_3v3_sd_s0: pldo-reg4 {
779 regulator-always-on;
780 regulator-boot-on;
781 regulator-min-microvolt = <3300000>;
782 regulator-max-microvolt = <3300000>;
783 regulator-ramp-delay = <12500>;
784 regulator-name = "vcc_3v3_sd_s0";
785 regulator-state-mem {
786 regulator-off-in-suspend;
787 };
788 };
789
790 vcc_2v8_cam_s0: pldo-reg5 {
791 regulator-always-on;
792 regulator-boot-on;
793 regulator-min-microvolt = <2800000>;
794 regulator-max-microvolt = <2800000>;
795 regulator-ramp-delay = <12500>;
796 regulator-name = "vcc_2v8_cam_s0";
797 regulator-state-mem {
798 regulator-off-in-suspend;
799 };
800 };
801
802 pldo6_s3: pldo-reg6 {
803 regulator-always-on;
804 regulator-boot-on;
805 regulator-min-microvolt = <1800000>;
806 regulator-max-microvolt = <1800000>;
807 regulator-name = "pldo6_s3";
808 regulator-state-mem {
809 regulator-on-in-suspend;
810 regulator-suspend-microvolt = <1800000>;
811 };
812 };
813
814 vdd_0v75_pll_s0: nldo-reg1 {
815 regulator-always-on;
816 regulator-boot-on;
817 regulator-min-microvolt = <750000>;
818 regulator-max-microvolt = <750000>;
819 regulator-ramp-delay = <12500>;
820 regulator-name = "vdd_0v75_pll_s0";
821 regulator-state-mem {
822 regulator-off-in-suspend;
823 };
824 };
825
826 vdd_ddr_pll_s0: nldo-reg2 {
827 regulator-always-on;
828 regulator-boot-on;
829 regulator-min-microvolt = <850000>;
830 regulator-max-microvolt = <850000>;
831 regulator-name = "vdd_ddr_pll_s0";
832 regulator-state-mem {
833 regulator-off-in-suspend;
834 };
835 };
836
837 avdd_0v85_s0: nldo-reg3 {
838 regulator-always-on;
839 regulator-boot-on;
840 regulator-min-microvolt = <850000>;
841 regulator-max-microvolt = <850000>;
842 regulator-ramp-delay = <12500>;
843 regulator-name = "avdd_0v85_s0";
844 regulator-state-mem {
845 regulator-off-in-suspend;
846 };
847 };
848
849 avdd_1v2_cam_s0: nldo-reg4 {
850 regulator-always-on;
851 regulator-boot-on;
852 regulator-min-microvolt = <1200000>;
853 regulator-max-microvolt = <1200000>;
854 regulator-ramp-delay = <12500>;
855 regulator-name = "avdd_1v2_cam_s0";
856 regulator-state-mem {
857 regulator-off-in-suspend;
858 };
859 };
860
861 avdd_1v2_s0: nldo-reg5 {
862 regulator-always-on;
863 regulator-boot-on;
864 regulator-min-microvolt = <1200000>;
865 regulator-max-microvolt = <1200000>;
866 regulator-ramp-delay = <12500>;
867 regulator-name = "avdd_1v2_s0";
868 regulator-state-mem {
869 regulator-off-in-suspend;
870 };
871 };
872 };
873 };
874 };
875
876 &u2phy0 {
877 status = "okay";
878 };
879
880 &u2phy0_otg {
881 phy-supply = <&vcc5v0_host>;
882 status = "okay";
883 };
884
885 &u2phy1 {
886 status = "okay";
887 };
888
889 &u2phy1_otg {
890 phy-supply = <&vcc5v0_host>;
891 status = "okay";
892 };
893
894 &u2phy2 {
895 status = "okay";
896 };
897
898 &u2phy2_host {
899 phy-supply = <&vcc5v0_host>;
900 status = "okay";
901 };
902
903 &u2phy3 {
904 status = "okay";
905 };
906
907 &u2phy3_host {
908 phy-supply = <&vcc5v0_host>;
909 status = "okay";
910 };
911
912 &uart2 {
913 pinctrl-0 = <&uart2m0_xfer>;
914 status = "okay";
915 };
916
917 &usbdp_phy0 {
918 rockchip,dp-lane-mux = <2 3>;
919 status = "okay";
920 };
921
922 &usbdp_phy1 {
923 rockchip,dp-lane-mux = <2 3>;
924 status = "okay";
925 };
926
927 &usb_host0_ehci {
928 status = "okay";
929 };
930
931 &usb_host0_ohci {
932 status = "okay";
933 };
934
935 &usb_host1_ehci {
936 status = "okay";
937 };
938
939 &usb_host1_ohci {
940 status = "okay";
941 };
942
943 &usb_host1_xhci {
944 dr_mode = "host";
945 status = "okay";
946 };
947
948 &vop {
949 /*
950 * If no dedicated PLL was specified, the GPLL would be automatically
951 * assigned as the PLL source for dclk_vop2. As the frequency of GPLL
952 * is 1188 MHz, we can only get typical clock frequencies such as
953 * 74.25MHz, 148.5MHz, 297MHz, 594MHz.
954 *
955 * So here we set the parent clock of VP2 to V0PLL so that we can get
956 * any frequency.
957 */
958 assigned-clocks = <&cru DCLK_VOP2_SRC>;
959 assigned-clock-parents = <&cru PLL_V0PLL>;
960 status = "okay";
961 };
962
963 &vop_mmu {
964 status = "okay";
965 };
966
967 &vp0 {
968 vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
969 reg = <ROCKCHIP_VOP2_EP_HDMI0>;
970 remote-endpoint = <&hdmi0_in_vp0>;
971 };
972 };
973
974 &vp2 {
975 vp2_out_dp0: endpoint@a {
976 reg = <ROCKCHIP_VOP2_EP_DP0>;
977 remote-endpoint = <&dp0_in_vp2>;
978 };
979 };