Lines Matching +full:always +full:- +full:on
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * https://cool-pi.com/topic/130/coolpi-4b-product-spec-introduction
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/pinctrl/rockchip.h>
14 #include <dt-bindings/soc/rockchip,vop2.h>
19 compatible = "coolpi,pi-4b", "rockchip,rk3588s";
27 analog-sound {
28 compatible = "audio-graph-card";
30 label = "rk3588-es8316";
39 stdout-path = "serial2:1500000n8";
42 hdmi-con {
43 compatible = "hdmi-connector";
48 remote-endpoint = <&hdmi0_out_con>;
54 compatible = "gpio-leds";
55 pinctrl-names = "default";
56 pinctrl-0 = <&gpio_leds>;
58 led0: led-green {
62 linux,default-trigger = "heartbeat";
65 led1: led-red {
67 default-state = "off";
70 linux,default-trigger = "phy0tx";
74 sdio_pwrseq: sdio-pwrseq {
75 compatible = "mmc-pwrseq-simple";
77 clock-names = "ext_clock";
78 pinctrl-names = "default";
79 pinctrl-0 = <&wifi_enable_h>;
81 * On the module itself this is one of these (depending
82 * on the actual card populated):
83 * - SDIO_RESET_L_WL_REG_ON
84 * - PDN (power down when low)
86 post-power-on-delay-ms = <200>;
87 reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_LOW>;
90 vcc12v_dcin: regulator-vcc12v-dcin {
91 compatible = "regulator-fixed";
92 regulator-name = "vcc12v_dcin";
93 regulator-always-on;
94 regulator-boot-on;
95 regulator-min-microvolt = <12000000>;
96 regulator-max-microvolt = <12000000>;
99 vcc5v0_sys: regulator-vcc5v0-sys {
100 compatible = "regulator-fixed";
101 regulator-name = "vcc5v0_sys";
102 regulator-always-on;
103 regulator-boot-on;
104 regulator-min-microvolt = <5000000>;
105 regulator-max-microvolt = <5000000>;
106 vin-supply = <&vcc12v_dcin>;
109 vcc5v0_usbdcin: regulator-vcc5v0-usbdcin {
110 compatible = "regulator-fixed";
111 regulator-name = "vcc5v0_usbdcin";
112 regulator-always-on;
113 regulator-boot-on;
114 regulator-min-microvolt = <5000000>;
115 regulator-max-microvolt = <5000000>;
116 vin-supply = <&vcc12v_dcin>;
119 vcc5v0_usb: regulator-vcc5v0-usb {
120 compatible = "regulator-fixed";
121 regulator-name = "vcc5v0_usb";
122 regulator-always-on;
123 regulator-boot-on;
124 regulator-min-microvolt = <5000000>;
125 regulator-max-microvolt = <5000000>;
126 vin-supply = <&vcc5v0_usbdcin>;
129 avdd0v85_pcie20: regulator-avdd0v85-pcie20 {
130 compatible = "regulator-fixed";
131 regulator-name = "avdd0v85_pcie20";
132 regulator-boot-on;
133 regulator-always-on;
134 regulator-min-microvolt = <850000>;
135 regulator-max-microvolt = <850000>;
136 vin-supply = <&vdd_0v85_s0>;
139 avdd1v8_pcie20: regulator-avdd1v8-pcie20 {
140 compatible = "regulator-fixed";
141 regulator-name = "avdd1v8_pcie20";
142 regulator-boot-on;
143 regulator-always-on;
144 regulator-min-microvolt = <1800000>;
145 regulator-max-microvolt = <1800000>;
146 vin-supply = <&avcc_1v8_s0>;
149 vcc3v3_mipi: regulator-vcc3v3-mipi {
150 compatible = "regulator-fixed";
151 enable-active-high;
153 regulator-name = "vcc3v3_mipi";
154 regulator-boot-on;
155 regulator-always-on;
156 vin-supply = <&vcc_3v3_s3>;
159 vcc5v0_host: regulator-vcc5v0-host {
160 compatible = "regulator-fixed";
161 enable-active-high;
163 pinctrl-names = "default";
164 pinctrl-0 = <&vcc5v0_host_en>;
165 regulator-name = "vcc5v0_host";
166 regulator-boot-on;
167 regulator-always-on;
168 regulator-min-microvolt = <5000000>;
169 regulator-max-microvolt = <5000000>;
170 vin-supply = <&vcc5v0_sys>;
173 vcc5v0_otg: regulator-vcc5v0-otg {
174 compatible = "regulator-fixed";
175 enable-active-high;
177 pinctrl-names = "default";
178 pinctrl-0 = <&vcc5v0_u3host_en>;
179 regulator-name = "vcc5v0_otg";
180 regulator-boot-on;
181 regulator-always-on;
182 regulator-min-microvolt = <5000000>;
183 regulator-max-microvolt = <5000000>;
184 vin-supply = <&vcc5v0_sys>;
187 vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 {
188 compatible = "regulator-fixed";
189 regulator-name = "vcc_1v1_nldo_s3";
190 regulator-always-on;
191 regulator-boot-on;
192 regulator-min-microvolt = <1100000>;
193 regulator-max-microvolt = <1100000>;
194 vin-supply = <&vcc5v0_sys>;
207 cpu-supply = <&vdd_cpu_lit_s0>;
211 cpu-supply = <&vdd_cpu_big0_s0>;
215 cpu-supply = <&vdd_cpu_big1_s0>;
219 mali-supply = <&vdd_gpu_s0>;
229 remote-endpoint = <&vp0_out_hdmi0>;
235 remote-endpoint = <&hdmi_con_in>;
244 pinctrl-0 = <&i2c0m2_xfer>;
250 fcs,suspend-voltage-selector = <1>;
251 regulator-name = "vdd_cpu_big0_s0";
252 regulator-always-on;
253 regulator-boot-on;
254 regulator-min-microvolt = <550000>;
255 regulator-max-microvolt = <1050000>;
256 regulator-ramp-delay = <2300>;
257 vin-supply = <&vcc5v0_sys>;
259 regulator-state-mem {
260 regulator-off-in-suspend;
267 fcs,suspend-voltage-selector = <1>;
268 regulator-name = "vdd_cpu_big1_s0";
269 regulator-always-on;
270 regulator-boot-on;
271 regulator-min-microvolt = <550000>;
272 regulator-max-microvolt = <1050000>;
273 regulator-ramp-delay = <2300>;
274 vin-supply = <&vcc5v0_sys>;
276 regulator-state-mem {
277 regulator-off-in-suspend;
288 fcs,suspend-voltage-selector = <1>;
289 regulator-name = "vdd_npu_s0";
290 regulator-always-on;
291 regulator-boot-on;
292 regulator-min-microvolt = <550000>;
293 regulator-max-microvolt = <950000>;
294 regulator-ramp-delay = <2300>;
295 vin-supply = <&vcc5v0_sys>;
297 regulator-state-mem {
298 regulator-off-in-suspend;
304 pinctrl-0 = <&i2c6m3_xfer>;
310 interrupt-parent = <&gpio0>;
312 #clock-cells = <0>;
313 clock-output-names = "hym8563";
314 pinctrl-names = "default";
315 pinctrl-0 = <&hym8563_int>;
320 pinctrl-0 = <&i2c7m0_xfer>;
323 es8316: audio-codec@10 {
326 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
327 assigned-clock-rates = <12288000>;
329 clock-names = "mclk";
330 #sound-dai-cells = <0>;
334 remote-endpoint = <&i2s0_8ch_p0_0>;
341 pinctrl-0 = <&i2s0_lrck
350 dai-format = "i2s";
351 mclk-fs = <256>;
352 remote-endpoint = <&es8316_p0_0>;
358 pinctrl-names = "default";
359 pinctrl-0 = <&rtl8111_isolate>;
360 reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
366 hym8563_int: hym8563-int {
372 gpio_leds: gpio-leds {
379 rtl8111_isolate: rtl8111-isolate {
384 sdio-pwrseq {
385 wifi_enable_h: wifi-enable-h {
391 vcc5v0_host_en: vcc5v0-host-en {
396 vcc5v0_u3host_en: vcc5v0-u3host-en {
401 wireless-bluetooth {
402 bt_reset_gpio: bt-reset-pin {
406 bt_wake_gpio: bt-wake-pin {
410 bt_wake_host_irq: bt-wake-host-irq {
415 wireless-wlan {
416 wifi_host_wake_irq: wifi-host-wake-irq {
420 wifi_poweren_pin: wifi-poweren-pin {
427 pinctrl-0 = <&pwm2m1_pins>;
432 pinctrl-names = "default";
433 pinctrl-0 = <&pwm13m2_pins>;
438 vref-supply = <&vcc_1v8_s0>;
443 bus-width = <8>;
444 max-frequency = <200000000>;
445 mmc-hs400-1_8v;
446 mmc-hs400-enhanced-strobe;
447 no-sdio;
448 no-sd;
449 non-removable;
454 bus-width = <4>;
455 cap-sd-highspeed;
456 cap-sdio-irq;
457 disable-wp;
458 keep-power-in-suspend;
459 max-frequency = <150000000>;
460 mmc-pwrseq = <&sdio_pwrseq>;
461 no-sd;
462 no-mmc;
463 non-removable;
464 pinctrl-names = "default";
465 pinctrl-0 = <&sdiom1_pins>,<&wifi_poweren_pin>;
470 bus-width = <4>;
471 cap-mmc-highspeed;
472 cap-sd-highspeed;
473 disable-wp;
474 max-frequency = <150000000>;
475 no-sdio;
476 no-mmc;
477 sd-uhs-sdr104;
478 vmmc-supply = <&vcc_3v3_s3>;
479 vqmmc-supply = <&vccio_sd_s0>;
484 assigned-clocks = <&cru CLK_SPI2>;
485 assigned-clock-rates = <200000000>;
486 num-cs = <1>;
487 pinctrl-names = "default";
488 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
494 interrupt-parent = <&gpio0>;
496 gpio-controller;
497 #gpio-cells = <2>;
498 pinctrl-names = "default";
499 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
501 spi-max-frequency = <1000000>;
502 vcc1-supply = <&vcc5v0_sys>;
503 vcc2-supply = <&vcc5v0_sys>;
504 vcc3-supply = <&vcc5v0_sys>;
505 vcc4-supply = <&vcc5v0_sys>;
506 vcc5-supply = <&vcc5v0_sys>;
507 vcc6-supply = <&vcc5v0_sys>;
508 vcc7-supply = <&vcc5v0_sys>;
509 vcc8-supply = <&vcc5v0_sys>;
510 vcc9-supply = <&vcc5v0_sys>;
511 vcc10-supply = <&vcc5v0_sys>;
512 vcc11-supply = <&vcc_2v0_pldo_s3>;
513 vcc12-supply = <&vcc5v0_sys>;
514 vcc13-supply = <&vcc_1v1_nldo_s3>;
515 vcc14-supply = <&vcc_1v1_nldo_s3>;
516 vcca-supply = <&vcc5v0_sys>;
518 rk806_dvs1_null: dvs1-null-pins {
523 rk806_dvs2_null: dvs2-null-pins {
528 rk806_dvs3_null: dvs3-null-pins {
534 vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
535 regulator-name = "vdd_gpu_s0";
536 regulator-boot-on;
537 regulator-min-microvolt = <550000>;
538 regulator-max-microvolt = <950000>;
539 regulator-ramp-delay = <12500>;
540 regulator-enable-ramp-delay = <400>;
542 regulator-state-mem {
543 regulator-off-in-suspend;
547 vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
548 regulator-name = "vdd_cpu_lit_s0";
549 regulator-always-on;
550 regulator-boot-on;
551 regulator-min-microvolt = <550000>;
552 regulator-max-microvolt = <950000>;
553 regulator-ramp-delay = <12500>;
555 regulator-state-mem {
556 regulator-off-in-suspend;
560 vdd_log_s0: dcdc-reg3 {
561 regulator-name = "vdd_log_s0";
562 regulator-always-on;
563 regulator-boot-on;
564 regulator-min-microvolt = <675000>;
565 regulator-max-microvolt = <750000>;
566 regulator-ramp-delay = <12500>;
568 regulator-state-mem {
569 regulator-off-in-suspend;
570 regulator-suspend-microvolt = <750000>;
574 vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
575 regulator-name = "vdd_vdenc_s0";
576 regulator-always-on;
577 regulator-boot-on;
578 regulator-min-microvolt = <550000>;
579 regulator-max-microvolt = <950000>;
580 regulator-ramp-delay = <12500>;
582 regulator-state-mem {
583 regulator-off-in-suspend;
587 vdd_ddr_s0: dcdc-reg5 {
588 regulator-name = "vdd_ddr_s0";
589 regulator-always-on;
590 regulator-boot-on;
591 regulator-min-microvolt = <675000>;
592 regulator-max-microvolt = <900000>;
593 regulator-ramp-delay = <12500>;
595 regulator-state-mem {
596 regulator-off-in-suspend;
597 regulator-suspend-microvolt = <850000>;
601 vdd2_ddr_s3: dcdc-reg6 {
602 regulator-name = "vdd2_ddr_s3";
603 regulator-always-on;
604 regulator-boot-on;
606 regulator-state-mem {
607 regulator-on-in-suspend;
611 vcc_2v0_pldo_s3: dcdc-reg7 {
612 regulator-name = "vdd_2v0_pldo_s3";
613 regulator-always-on;
614 regulator-boot-on;
615 regulator-min-microvolt = <2000000>;
616 regulator-max-microvolt = <2000000>;
617 regulator-ramp-delay = <12500>;
619 regulator-state-mem {
620 regulator-on-in-suspend;
621 regulator-suspend-microvolt = <2000000>;
625 vcc_3v3_s3: dcdc-reg8 {
626 regulator-name = "vcc_3v3_s3";
627 regulator-always-on;
628 regulator-boot-on;
629 regulator-min-microvolt = <3300000>;
630 regulator-max-microvolt = <3300000>;
632 regulator-state-mem {
633 regulator-on-in-suspend;
634 regulator-suspend-microvolt = <3300000>;
638 vddq_ddr_s0: dcdc-reg9 {
639 regulator-name = "vddq_ddr_s0";
640 regulator-always-on;
641 regulator-boot-on;
643 regulator-state-mem {
644 regulator-off-in-suspend;
648 vcc_1v8_s3: dcdc-reg10 {
649 regulator-name = "vcc_1v8_s3";
650 regulator-always-on;
651 regulator-boot-on;
652 regulator-min-microvolt = <1800000>;
653 regulator-max-microvolt = <1800000>;
655 regulator-state-mem {
656 regulator-on-in-suspend;
657 regulator-suspend-microvolt = <1800000>;
661 avcc_1v8_s0: pldo-reg1 {
662 regulator-name = "avcc_1v8_s0";
663 regulator-always-on;
664 regulator-boot-on;
665 regulator-min-microvolt = <1800000>;
666 regulator-max-microvolt = <1800000>;
668 regulator-state-mem {
669 regulator-off-in-suspend;
673 vcc_1v8_s0: pldo-reg2 {
674 regulator-name = "vcc_1v8_s0";
675 regulator-always-on;
676 regulator-boot-on;
677 regulator-min-microvolt = <1800000>;
678 regulator-max-microvolt = <1800000>;
680 regulator-state-mem {
681 regulator-off-in-suspend;
682 regulator-suspend-microvolt = <1800000>;
686 avdd_1v2_s0: pldo-reg3 {
687 regulator-name = "avdd_1v2_s0";
688 regulator-always-on;
689 regulator-boot-on;
690 regulator-min-microvolt = <1200000>;
691 regulator-max-microvolt = <1200000>;
693 regulator-state-mem {
694 regulator-off-in-suspend;
698 vcc_3v3_s0: pldo-reg4 {
699 regulator-name = "vcc_3v3_s0";
700 regulator-always-on;
701 regulator-boot-on;
702 regulator-min-microvolt = <3300000>;
703 regulator-max-microvolt = <3300000>;
704 regulator-ramp-delay = <12500>;
706 regulator-state-mem {
707 regulator-off-in-suspend;
711 vccio_sd_s0: pldo-reg5 {
712 regulator-name = "vccio_sd_s0";
713 regulator-always-on;
714 regulator-boot-on;
715 regulator-min-microvolt = <1800000>;
716 regulator-max-microvolt = <3300000>;
717 regulator-ramp-delay = <12500>;
719 regulator-state-mem {
720 regulator-off-in-suspend;
724 pldo6_s3: pldo-reg6 {
725 regulator-name = "pldo6_s3";
726 regulator-always-on;
727 regulator-boot-on;
728 regulator-min-microvolt = <1800000>;
729 regulator-max-microvolt = <1800000>;
731 regulator-state-mem {
732 regulator-on-in-suspend;
733 regulator-suspend-microvolt = <1800000>;
737 vdd_0v75_s3: nldo-reg1 {
738 regulator-name = "vdd_0v75_s3";
739 regulator-always-on;
740 regulator-boot-on;
741 regulator-min-microvolt = <750000>;
742 regulator-max-microvolt = <750000>;
744 regulator-state-mem {
745 regulator-on-in-suspend;
746 regulator-suspend-microvolt = <750000>;
750 vdd_ddr_pll_s0: nldo-reg2 {
751 regulator-name = "vdd_ddr_pll_s0";
752 regulator-always-on;
753 regulator-boot-on;
754 regulator-min-microvolt = <850000>;
755 regulator-max-microvolt = <850000>;
757 regulator-state-mem {
758 regulator-off-in-suspend;
759 regulator-suspend-microvolt = <850000>;
763 avdd_0v75_s0: nldo-reg3 {
764 regulator-name = "avdd_0v75_s0";
765 regulator-always-on;
766 regulator-boot-on;
767 regulator-min-microvolt = <750000>;
768 regulator-max-microvolt = <750000>;
770 regulator-state-mem {
771 regulator-off-in-suspend;
775 vdd_0v85_s0: nldo-reg4 {
776 regulator-name = "vdd_0v85_s0";
777 regulator-always-on;
778 regulator-boot-on;
779 regulator-min-microvolt = <850000>;
780 regulator-max-microvolt = <850000>;
782 regulator-state-mem {
783 regulator-off-in-suspend;
787 vdd_0v75_s0: nldo-reg5 {
788 regulator-name = "vdd_0v75_s0";
789 regulator-always-on;
790 regulator-boot-on;
791 regulator-min-microvolt = <750000>;
792 regulator-max-microvolt = <750000>;
794 regulator-state-mem {
795 regulator-off-in-suspend;
815 phy-supply = <&vcc5v0_host>;
824 pinctrl-0 = <&uart2m0_xfer>;
831 pinctrl-names = "default";
832 pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>;
862 remote-endpoint = <&hdmi0_in_vp0>;