Lines Matching +full:rk3588 +full:- +full:cru
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include "rk3588.dtsi"
11 compatible = "radxa,rock-5b", "rockchip,rk3588";
20 stdout-path = "serial2:1500000n8";
23 analog-sound {
24 compatible = "audio-graph-card";
25 label = "rk3588-es8316";
35 hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
36 pinctrl-names = "default";
37 pinctrl-0 = <&hp_detect>;
41 compatible = "gpio-leds";
42 pinctrl-names = "default";
43 pinctrl-0 = <&led_rgb_b>;
49 linux,default-trigger = "heartbeat";
53 fan: pwm-fan {
54 compatible = "pwm-fan";
55 cooling-levels = <0 95 145 195 255>;
56 fan-supply = <&vcc5v0_sys>;
58 #cooling-cells = <2>;
61 vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
62 compatible = "regulator-fixed";
63 enable-active-high;
65 pinctrl-names = "default";
66 pinctrl-0 = <&pcie2_0_vcc3v3_en>;
67 regulator-name = "vcc3v3_pcie2x1l0";
68 regulator-always-on;
69 regulator-boot-on;
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 startup-delay-us = <50000>;
73 vin-supply = <&vcc5v0_sys>;
76 vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2-regulator {
77 compatible = "regulator-fixed";
78 regulator-name = "vcc3v3_pcie2x1l2";
79 regulator-min-microvolt = <3300000>;
80 regulator-max-microvolt = <3300000>;
81 startup-delay-us = <5000>;
82 vin-supply = <&vcc_3v3_s3>;
85 vcc3v3_pcie30: vcc3v3-pcie30-regulator {
86 compatible = "regulator-fixed";
87 enable-active-high;
89 pinctrl-names = "default";
90 pinctrl-0 = <&pcie3_vcc3v3_en>;
91 regulator-name = "vcc3v3_pcie30";
92 regulator-min-microvolt = <3300000>;
93 regulator-max-microvolt = <3300000>;
94 startup-delay-us = <5000>;
95 vin-supply = <&vcc5v0_sys>;
98 vcc5v0_host: vcc5v0-host-regulator {
99 compatible = "regulator-fixed";
100 regulator-name = "vcc5v0_host";
101 regulator-boot-on;
102 regulator-always-on;
103 regulator-min-microvolt = <5000000>;
104 regulator-max-microvolt = <5000000>;
105 enable-active-high;
107 pinctrl-names = "default";
108 pinctrl-0 = <&vcc5v0_host_en>;
109 vin-supply = <&vcc5v0_sys>;
112 vcc5v0_sys: vcc5v0-sys-regulator {
113 compatible = "regulator-fixed";
114 regulator-name = "vcc5v0_sys";
115 regulator-always-on;
116 regulator-boot-on;
117 regulator-min-microvolt = <5000000>;
118 regulator-max-microvolt = <5000000>;
121 vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
122 compatible = "regulator-fixed";
123 regulator-name = "vcc_1v1_nldo_s3";
124 regulator-always-on;
125 regulator-boot-on;
126 regulator-min-microvolt = <1100000>;
127 regulator-max-microvolt = <1100000>;
128 vin-supply = <&vcc5v0_sys>;
145 cpu-supply = <&vdd_cpu_big0_s0>;
149 cpu-supply = <&vdd_cpu_big0_s0>;
153 cpu-supply = <&vdd_cpu_big1_s0>;
157 cpu-supply = <&vdd_cpu_big1_s0>;
161 cpu-supply = <&vdd_cpu_lit_s0>;
165 cpu-supply = <&vdd_cpu_lit_s0>;
169 cpu-supply = <&vdd_cpu_lit_s0>;
173 cpu-supply = <&vdd_cpu_lit_s0>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&i2c0m2_xfer>;
184 fcs,suspend-voltage-selector = <1>;
185 regulator-name = "vdd_cpu_big0_s0";
186 regulator-always-on;
187 regulator-boot-on;
188 regulator-min-microvolt = <550000>;
189 regulator-max-microvolt = <1050000>;
190 regulator-ramp-delay = <2300>;
191 vin-supply = <&vcc5v0_sys>;
193 regulator-state-mem {
194 regulator-off-in-suspend;
201 fcs,suspend-voltage-selector = <1>;
202 regulator-name = "vdd_cpu_big1_s0";
203 regulator-always-on;
204 regulator-boot-on;
205 regulator-min-microvolt = <550000>;
206 regulator-max-microvolt = <1050000>;
207 regulator-ramp-delay = <2300>;
208 vin-supply = <&vcc5v0_sys>;
210 regulator-state-mem {
211 regulator-off-in-suspend;
222 #clock-cells = <0>;
223 clock-output-names = "hym8563";
224 pinctrl-names = "default";
225 pinctrl-0 = <&hym8563_int>;
226 interrupt-parent = <&gpio0>;
228 wakeup-source;
235 es8316: audio-codec@11 {
238 clocks = <&cru I2S0_8CH_MCLKOUT>;
239 clock-names = "mclk";
240 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
241 assigned-clock-rates = <12288000>;
242 #sound-dai-cells = <0>;
246 remote-endpoint = <&i2s0_8ch_p0_0>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&i2s0_lrck
263 dai-format = "i2s";
264 mclk-fs = <256>;
265 remote-endpoint = <&es8316_p0_0>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&pcie2_0_rst>;
273 reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
274 vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;
279 pinctrl-names = "default";
280 pinctrl-0 = <&pcie2_2_rst>;
281 reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
282 vpcie3v3-supply = <&vcc3v3_pcie2x1l2>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&pcie3_rst>;
293 reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
294 vpcie3v3-supply = <&vcc3v3_pcie30>;
300 hym8563_int: hym8563-int {
306 led_rgb_b: led-rgb-b {
312 hp_detect: hp-detect {
318 pcie2_0_rst: pcie2-0-rst {
322 pcie2_0_vcc3v3_en: pcie2-0-vcc-en {
326 pcie2_2_rst: pcie2-2-rst {
332 pcie3_rst: pcie3-rst {
336 pcie3_vcc3v3_en: pcie3-vcc3v3-en {
342 vcc5v0_host_en: vcc5v0-host-en {
353 vref-supply = <&avcc_1v8_s0>;
358 bus-width = <8>;
359 no-sdio;
360 no-sd;
361 non-removable;
362 mmc-hs400-1_8v;
363 mmc-hs400-enhanced-strobe;
368 max-frequency = <200000000>;
369 no-sdio;
370 no-mmc;
371 bus-width = <4>;
372 cap-mmc-highspeed;
373 cap-sd-highspeed;
374 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
375 disable-wp;
376 sd-uhs-sdr104;
377 vmmc-supply = <&vcc_3v3_s3>;
378 vqmmc-supply = <&vccio_sd_s0>;
383 max-frequency = <200000000>;
384 no-sd;
385 no-mmc;
386 non-removable;
387 bus-width = <4>;
388 cap-sdio-irq;
389 disable-wp;
390 keep-power-in-suspend;
391 wakeup-source;
392 sd-uhs-sdr12;
393 sd-uhs-sdr25;
394 sd-uhs-sdr50;
395 sd-uhs-sdr104;
396 vmmc-supply = <&vcc3v3_pcie2x1l0>;
397 vqmmc-supply = <&vcc_1v8_s3>;
398 pinctrl-names = "default";
399 pinctrl-0 = <&sdiom0_pins>;
404 pinctrl-names = "default";
405 pinctrl-0 = <&uart6m1_xfer &uart6m1_ctsn &uart6m1_rtsn>;
411 assigned-clocks = <&cru CLK_SPI2>;
412 assigned-clock-rates = <200000000>;
413 pinctrl-names = "default";
414 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
415 num-cs = <1>;
419 spi-max-frequency = <1000000>;
422 interrupt-parent = <&gpio0>;
425 pinctrl-names = "default";
426 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
429 system-power-controller;
431 vcc1-supply = <&vcc5v0_sys>;
432 vcc2-supply = <&vcc5v0_sys>;
433 vcc3-supply = <&vcc5v0_sys>;
434 vcc4-supply = <&vcc5v0_sys>;
435 vcc5-supply = <&vcc5v0_sys>;
436 vcc6-supply = <&vcc5v0_sys>;
437 vcc7-supply = <&vcc5v0_sys>;
438 vcc8-supply = <&vcc5v0_sys>;
439 vcc9-supply = <&vcc5v0_sys>;
440 vcc10-supply = <&vcc5v0_sys>;
441 vcc11-supply = <&vcc_2v0_pldo_s3>;
442 vcc12-supply = <&vcc5v0_sys>;
443 vcc13-supply = <&vcc_1v1_nldo_s3>;
444 vcc14-supply = <&vcc_1v1_nldo_s3>;
445 vcca-supply = <&vcc5v0_sys>;
447 gpio-controller;
448 #gpio-cells = <2>;
450 rk806_dvs1_null: dvs1-null-pins {
455 rk806_dvs2_null: dvs2-null-pins {
460 rk806_dvs3_null: dvs3-null-pins {
466 vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
467 regulator-boot-on;
468 regulator-min-microvolt = <550000>;
469 regulator-max-microvolt = <950000>;
470 regulator-ramp-delay = <12500>;
471 regulator-name = "vdd_gpu_s0";
472 regulator-enable-ramp-delay = <400>;
474 regulator-state-mem {
475 regulator-off-in-suspend;
479 vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
480 regulator-always-on;
481 regulator-boot-on;
482 regulator-min-microvolt = <550000>;
483 regulator-max-microvolt = <950000>;
484 regulator-ramp-delay = <12500>;
485 regulator-name = "vdd_cpu_lit_s0";
487 regulator-state-mem {
488 regulator-off-in-suspend;
492 vdd_log_s0: dcdc-reg3 {
493 regulator-always-on;
494 regulator-boot-on;
495 regulator-min-microvolt = <675000>;
496 regulator-max-microvolt = <750000>;
497 regulator-ramp-delay = <12500>;
498 regulator-name = "vdd_log_s0";
500 regulator-state-mem {
501 regulator-off-in-suspend;
502 regulator-suspend-microvolt = <750000>;
506 vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
507 regulator-always-on;
508 regulator-boot-on;
509 regulator-min-microvolt = <550000>;
510 regulator-max-microvolt = <950000>;
511 regulator-ramp-delay = <12500>;
512 regulator-name = "vdd_vdenc_s0";
514 regulator-state-mem {
515 regulator-off-in-suspend;
519 vdd_ddr_s0: dcdc-reg5 {
520 regulator-always-on;
521 regulator-boot-on;
522 regulator-min-microvolt = <675000>;
523 regulator-max-microvolt = <900000>;
524 regulator-ramp-delay = <12500>;
525 regulator-name = "vdd_ddr_s0";
527 regulator-state-mem {
528 regulator-off-in-suspend;
529 regulator-suspend-microvolt = <850000>;
533 vdd2_ddr_s3: dcdc-reg6 {
534 regulator-always-on;
535 regulator-boot-on;
536 regulator-name = "vdd2_ddr_s3";
538 regulator-state-mem {
539 regulator-on-in-suspend;
543 vcc_2v0_pldo_s3: dcdc-reg7 {
544 regulator-always-on;
545 regulator-boot-on;
546 regulator-min-microvolt = <2000000>;
547 regulator-max-microvolt = <2000000>;
548 regulator-ramp-delay = <12500>;
549 regulator-name = "vdd_2v0_pldo_s3";
551 regulator-state-mem {
552 regulator-on-in-suspend;
553 regulator-suspend-microvolt = <2000000>;
557 vcc_3v3_s3: dcdc-reg8 {
558 regulator-always-on;
559 regulator-boot-on;
560 regulator-min-microvolt = <3300000>;
561 regulator-max-microvolt = <3300000>;
562 regulator-name = "vcc_3v3_s3";
564 regulator-state-mem {
565 regulator-on-in-suspend;
566 regulator-suspend-microvolt = <3300000>;
570 vddq_ddr_s0: dcdc-reg9 {
571 regulator-always-on;
572 regulator-boot-on;
573 regulator-name = "vddq_ddr_s0";
575 regulator-state-mem {
576 regulator-off-in-suspend;
580 vcc_1v8_s3: dcdc-reg10 {
581 regulator-always-on;
582 regulator-boot-on;
583 regulator-min-microvolt = <1800000>;
584 regulator-max-microvolt = <1800000>;
585 regulator-name = "vcc_1v8_s3";
587 regulator-state-mem {
588 regulator-on-in-suspend;
589 regulator-suspend-microvolt = <1800000>;
593 avcc_1v8_s0: pldo-reg1 {
594 regulator-always-on;
595 regulator-boot-on;
596 regulator-min-microvolt = <1800000>;
597 regulator-max-microvolt = <1800000>;
598 regulator-name = "avcc_1v8_s0";
600 regulator-state-mem {
601 regulator-off-in-suspend;
605 vcc_1v8_s0: pldo-reg2 {
606 regulator-always-on;
607 regulator-boot-on;
608 regulator-min-microvolt = <1800000>;
609 regulator-max-microvolt = <1800000>;
610 regulator-name = "vcc_1v8_s0";
612 regulator-state-mem {
613 regulator-off-in-suspend;
614 regulator-suspend-microvolt = <1800000>;
618 avdd_1v2_s0: pldo-reg3 {
619 regulator-always-on;
620 regulator-boot-on;
621 regulator-min-microvolt = <1200000>;
622 regulator-max-microvolt = <1200000>;
623 regulator-name = "avdd_1v2_s0";
625 regulator-state-mem {
626 regulator-off-in-suspend;
630 vcc_3v3_s0: pldo-reg4 {
631 regulator-always-on;
632 regulator-boot-on;
633 regulator-min-microvolt = <3300000>;
634 regulator-max-microvolt = <3300000>;
635 regulator-ramp-delay = <12500>;
636 regulator-name = "vcc_3v3_s0";
638 regulator-state-mem {
639 regulator-off-in-suspend;
643 vccio_sd_s0: pldo-reg5 {
644 regulator-always-on;
645 regulator-boot-on;
646 regulator-min-microvolt = <1800000>;
647 regulator-max-microvolt = <3300000>;
648 regulator-ramp-delay = <12500>;
649 regulator-name = "vccio_sd_s0";
651 regulator-state-mem {
652 regulator-off-in-suspend;
656 pldo6_s3: pldo-reg6 {
657 regulator-always-on;
658 regulator-boot-on;
659 regulator-min-microvolt = <1800000>;
660 regulator-max-microvolt = <1800000>;
661 regulator-name = "pldo6_s3";
663 regulator-state-mem {
664 regulator-on-in-suspend;
665 regulator-suspend-microvolt = <1800000>;
669 vdd_0v75_s3: nldo-reg1 {
670 regulator-always-on;
671 regulator-boot-on;
672 regulator-min-microvolt = <750000>;
673 regulator-max-microvolt = <750000>;
674 regulator-name = "vdd_0v75_s3";
676 regulator-state-mem {
677 regulator-on-in-suspend;
678 regulator-suspend-microvolt = <750000>;
682 vdd_ddr_pll_s0: nldo-reg2 {
683 regulator-always-on;
684 regulator-boot-on;
685 regulator-min-microvolt = <850000>;
686 regulator-max-microvolt = <850000>;
687 regulator-name = "vdd_ddr_pll_s0";
689 regulator-state-mem {
690 regulator-off-in-suspend;
691 regulator-suspend-microvolt = <850000>;
695 avdd_0v75_s0: nldo-reg3 {
696 regulator-always-on;
697 regulator-boot-on;
698 regulator-min-microvolt = <750000>;
699 regulator-max-microvolt = <750000>;
700 regulator-name = "avdd_0v75_s0";
702 regulator-state-mem {
703 regulator-off-in-suspend;
707 vdd_0v85_s0: nldo-reg4 {
708 regulator-always-on;
709 regulator-boot-on;
710 regulator-min-microvolt = <850000>;
711 regulator-max-microvolt = <850000>;
712 regulator-name = "vdd_0v85_s0";
714 regulator-state-mem {
715 regulator-off-in-suspend;
719 vdd_0v75_s0: nldo-reg5 {
720 regulator-always-on;
721 regulator-boot-on;
722 regulator-min-microvolt = <750000>;
723 regulator-max-microvolt = <750000>;
724 regulator-name = "vdd_0v75_s0";
726 regulator-state-mem {
727 regulator-off-in-suspend;
735 pinctrl-0 = <&uart2m0_xfer>;
745 phy-supply = <&vcc5v0_sys>;
754 phy-supply = <&vcc5v0_host>;