Lines Matching +full:regulator +full:- +full:state +full:- +full:mem
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>
18 compatible = "coolpi,pi-4b", "rockchip,rk3588s";
26 analog-sound {
27 compatible = "audio-graph-card";
29 label = "rk3588-es8316";
38 stdout-path = "serial2:1500000n8";
42 compatible = "gpio-leds";
43 pinctrl-names = "default";
44 pinctrl-0 = <&gpio_leds>;
46 led0: led-green {
50 linux,default-trigger = "heartbeat";
53 led1: led-red {
55 default-state = "off";
58 linux,default-trigger = "phy0tx";
62 sdio_pwrseq: sdio-pwrseq {
63 compatible = "mmc-pwrseq-simple";
65 clock-names = "ext_clock";
66 pinctrl-names = "default";
67 pinctrl-0 = <&wifi_enable_h>;
71 * - SDIO_RESET_L_WL_REG_ON
72 * - PDN (power down when low)
74 post-power-on-delay-ms = <200>;
75 reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_LOW>;
78 vcc12v_dcin: vcc12v-dcin-regulator {
79 compatible = "regulator-fixed";
80 regulator-name = "vcc12v_dcin";
81 regulator-always-on;
82 regulator-boot-on;
83 regulator-min-microvolt = <12000000>;
84 regulator-max-microvolt = <12000000>;
87 vcc5v0_sys: vcc5v0-sys-regulator {
88 compatible = "regulator-fixed";
89 regulator-name = "vcc5v0_sys";
90 regulator-always-on;
91 regulator-boot-on;
92 regulator-min-microvolt = <5000000>;
93 regulator-max-microvolt = <5000000>;
94 vin-supply = <&vcc12v_dcin>;
97 vcc5v0_usbdcin: vcc5v0-usbdcin-regulator {
98 compatible = "regulator-fixed";
99 regulator-name = "vcc5v0_usbdcin";
100 regulator-always-on;
101 regulator-boot-on;
102 regulator-min-microvolt = <5000000>;
103 regulator-max-microvolt = <5000000>;
104 vin-supply = <&vcc12v_dcin>;
107 vcc5v0_usb: vcc5v0-usb-regulator {
108 compatible = "regulator-fixed";
109 regulator-name = "vcc5v0_usb";
110 regulator-always-on;
111 regulator-boot-on;
112 regulator-min-microvolt = <5000000>;
113 regulator-max-microvolt = <5000000>;
114 vin-supply = <&vcc5v0_usbdcin>;
117 avdd0v85_pcie20: avdd0v85-pcie20-regulator {
118 compatible = "regulator-fixed";
119 regulator-name = "avdd0v85_pcie20";
120 regulator-boot-on;
121 regulator-always-on;
122 regulator-min-microvolt = <850000>;
123 regulator-max-microvolt = <850000>;
124 vin-supply = <&vdd_0v85_s0>;
127 avdd1v8_pcie20: avdd1v8-pcie20-regulator {
128 compatible = "regulator-fixed";
129 regulator-name = "avdd1v8_pcie20";
130 regulator-boot-on;
131 regulator-always-on;
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <1800000>;
134 vin-supply = <&avcc_1v8_s0>;
137 vcc3v3_mipi: vcc3v3-mipi-regulator {
138 compatible = "regulator-fixed";
139 enable-active-high;
141 regulator-name = "vcc3v3_mipi";
142 regulator-boot-on;
143 regulator-always-on;
144 vin-supply = <&vcc_3v3_s3>;
147 vcc5v0_host: vcc5v0-host-regulator {
148 compatible = "regulator-fixed";
149 enable-active-high;
151 pinctrl-names = "default";
152 pinctrl-0 = <&vcc5v0_host_en>;
153 regulator-name = "vcc5v0_host";
154 regulator-boot-on;
155 regulator-always-on;
156 regulator-min-microvolt = <5000000>;
157 regulator-max-microvolt = <5000000>;
158 vin-supply = <&vcc5v0_sys>;
161 vcc5v0_otg: vcc5v0-otg-regulator {
162 compatible = "regulator-fixed";
163 enable-active-high;
165 pinctrl-names = "default";
166 pinctrl-0 = <&vcc5v0_u3host_en>;
167 regulator-name = "vcc5v0_otg";
168 regulator-boot-on;
169 regulator-always-on;
170 regulator-min-microvolt = <5000000>;
171 regulator-max-microvolt = <5000000>;
172 vin-supply = <&vcc5v0_sys>;
175 vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
176 compatible = "regulator-fixed";
177 regulator-name = "vcc_1v1_nldo_s3";
178 regulator-always-on;
179 regulator-boot-on;
180 regulator-min-microvolt = <1100000>;
181 regulator-max-microvolt = <1100000>;
182 vin-supply = <&vcc5v0_sys>;
195 cpu-supply = <&vdd_cpu_lit_s0>;
199 cpu-supply = <&vdd_cpu_big0_s0>;
203 cpu-supply = <&vdd_cpu_big1_s0>;
207 mali-supply = <&vdd_gpu_s0>;
212 pinctrl-0 = <&i2c0m2_xfer>;
215 vdd_cpu_big0_s0: regulator@42 {
218 fcs,suspend-voltage-selector = <1>;
219 regulator-name = "vdd_cpu_big0_s0";
220 regulator-always-on;
221 regulator-boot-on;
222 regulator-min-microvolt = <550000>;
223 regulator-max-microvolt = <1050000>;
224 regulator-ramp-delay = <2300>;
225 vin-supply = <&vcc5v0_sys>;
227 regulator-state-mem {
228 regulator-off-in-suspend;
232 vdd_cpu_big1_s0: regulator@43 {
235 fcs,suspend-voltage-selector = <1>;
236 regulator-name = "vdd_cpu_big1_s0";
237 regulator-always-on;
238 regulator-boot-on;
239 regulator-min-microvolt = <550000>;
240 regulator-max-microvolt = <1050000>;
241 regulator-ramp-delay = <2300>;
242 vin-supply = <&vcc5v0_sys>;
244 regulator-state-mem {
245 regulator-off-in-suspend;
253 vdd_npu_s0: regulator@42 {
256 fcs,suspend-voltage-selector = <1>;
257 regulator-name = "vdd_npu_s0";
258 regulator-always-on;
259 regulator-boot-on;
260 regulator-min-microvolt = <550000>;
261 regulator-max-microvolt = <950000>;
262 regulator-ramp-delay = <2300>;
263 vin-supply = <&vcc5v0_sys>;
265 regulator-state-mem {
266 regulator-off-in-suspend;
272 pinctrl-0 = <&i2c6m3_xfer>;
278 interrupt-parent = <&gpio0>;
280 #clock-cells = <0>;
281 clock-output-names = "hym8563";
282 pinctrl-names = "default";
283 pinctrl-0 = <&hym8563_int>;
288 pinctrl-0 = <&i2c7m0_xfer>;
291 es8316: audio-codec@10 {
294 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
295 assigned-clock-rates = <12288000>;
297 clock-names = "mclk";
298 #sound-dai-cells = <0>;
302 remote-endpoint = <&i2s0_8ch_p0_0>;
309 pinctrl-0 = <&i2s0_lrck
318 dai-format = "i2s";
319 mclk-fs = <256>;
320 remote-endpoint = <&es8316_p0_0>;
326 pinctrl-names = "default";
327 pinctrl-0 = <&rtl8111_isolate>;
328 reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
334 hym8563_int: hym8563-int {
340 gpio_leds: gpio-leds {
347 rtl8111_isolate: rtl8111-isolate {
352 sdio-pwrseq {
353 wifi_enable_h: wifi-enable-h {
359 vcc5v0_host_en: vcc5v0-host-en {
364 vcc5v0_u3host_en: vcc5v0-u3host-en {
369 wireless-bluetooth {
370 bt_reset_gpio: bt-reset-pin {
374 bt_wake_gpio: bt-wake-pin {
378 bt_wake_host_irq: bt-wake-host-irq {
383 wireless-wlan {
384 wifi_host_wake_irq: wifi-host-wake-irq {
388 wifi_poweren_pin: wifi-poweren-pin {
395 pinctrl-0 = <&pwm2m1_pins>;
400 pinctrl-names = "active";
401 pinctrl-0 = <&pwm13m2_pins>;
406 vref-supply = <&vcc_1v8_s0>;
411 bus-width = <8>;
412 max-frequency = <200000000>;
413 mmc-hs400-1_8v;
414 mmc-hs400-enhanced-strobe;
415 no-sdio;
416 no-sd;
417 non-removable;
422 bus-width = <4>;
423 cap-sd-highspeed;
424 cap-sdio-irq;
425 disable-wp;
426 keep-power-in-suspend;
427 max-frequency = <150000000>;
428 mmc-pwrseq = <&sdio_pwrseq>;
429 no-sd;
430 no-mmc;
431 non-removable;
432 pinctrl-names = "default";
433 pinctrl-0 = <&sdiom1_pins>,<&wifi_poweren_pin>;
438 bus-width = <4>;
439 cap-mmc-highspeed;
440 cap-sd-highspeed;
441 disable-wp;
442 max-frequency = <150000000>;
443 no-sdio;
444 no-mmc;
445 sd-uhs-sdr104;
446 vmmc-supply = <&vcc_3v3_s3>;
447 vqmmc-supply = <&vccio_sd_s0>;
452 assigned-clocks = <&cru CLK_SPI2>;
453 assigned-clock-rates = <200000000>;
454 num-cs = <1>;
455 pinctrl-names = "default";
456 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
462 interrupt-parent = <&gpio0>;
464 gpio-controller;
465 #gpio-cells = <2>;
466 pinctrl-names = "default";
467 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
469 spi-max-frequency = <1000000>;
470 vcc1-supply = <&vcc5v0_sys>;
471 vcc2-supply = <&vcc5v0_sys>;
472 vcc3-supply = <&vcc5v0_sys>;
473 vcc4-supply = <&vcc5v0_sys>;
474 vcc5-supply = <&vcc5v0_sys>;
475 vcc6-supply = <&vcc5v0_sys>;
476 vcc7-supply = <&vcc5v0_sys>;
477 vcc8-supply = <&vcc5v0_sys>;
478 vcc9-supply = <&vcc5v0_sys>;
479 vcc10-supply = <&vcc5v0_sys>;
480 vcc11-supply = <&vcc_2v0_pldo_s3>;
481 vcc12-supply = <&vcc5v0_sys>;
482 vcc13-supply = <&vcc_1v1_nldo_s3>;
483 vcc14-supply = <&vcc_1v1_nldo_s3>;
484 vcca-supply = <&vcc5v0_sys>;
486 rk806_dvs1_null: dvs1-null-pins {
491 rk806_dvs2_null: dvs2-null-pins {
496 rk806_dvs3_null: dvs3-null-pins {
502 vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
503 regulator-name = "vdd_gpu_s0";
504 regulator-boot-on;
505 regulator-min-microvolt = <550000>;
506 regulator-max-microvolt = <950000>;
507 regulator-ramp-delay = <12500>;
508 regulator-enable-ramp-delay = <400>;
510 regulator-state-mem {
511 regulator-off-in-suspend;
515 vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
516 regulator-name = "vdd_cpu_lit_s0";
517 regulator-always-on;
518 regulator-boot-on;
519 regulator-min-microvolt = <550000>;
520 regulator-max-microvolt = <950000>;
521 regulator-ramp-delay = <12500>;
523 regulator-state-mem {
524 regulator-off-in-suspend;
528 vdd_log_s0: dcdc-reg3 {
529 regulator-name = "vdd_log_s0";
530 regulator-always-on;
531 regulator-boot-on;
532 regulator-min-microvolt = <675000>;
533 regulator-max-microvolt = <750000>;
534 regulator-ramp-delay = <12500>;
536 regulator-state-mem {
537 regulator-off-in-suspend;
538 regulator-suspend-microvolt = <750000>;
542 vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
543 regulator-name = "vdd_vdenc_s0";
544 regulator-always-on;
545 regulator-boot-on;
546 regulator-min-microvolt = <550000>;
547 regulator-max-microvolt = <950000>;
548 regulator-ramp-delay = <12500>;
550 regulator-state-mem {
551 regulator-off-in-suspend;
555 vdd_ddr_s0: dcdc-reg5 {
556 regulator-name = "vdd_ddr_s0";
557 regulator-always-on;
558 regulator-boot-on;
559 regulator-min-microvolt = <675000>;
560 regulator-max-microvolt = <900000>;
561 regulator-ramp-delay = <12500>;
563 regulator-state-mem {
564 regulator-off-in-suspend;
565 regulator-suspend-microvolt = <850000>;
569 vdd2_ddr_s3: dcdc-reg6 {
570 regulator-name = "vdd2_ddr_s3";
571 regulator-always-on;
572 regulator-boot-on;
574 regulator-state-mem {
575 regulator-on-in-suspend;
579 vcc_2v0_pldo_s3: dcdc-reg7 {
580 regulator-name = "vdd_2v0_pldo_s3";
581 regulator-always-on;
582 regulator-boot-on;
583 regulator-min-microvolt = <2000000>;
584 regulator-max-microvolt = <2000000>;
585 regulator-ramp-delay = <12500>;
587 regulator-state-mem {
588 regulator-on-in-suspend;
589 regulator-suspend-microvolt = <2000000>;
593 vcc_3v3_s3: dcdc-reg8 {
594 regulator-name = "vcc_3v3_s3";
595 regulator-always-on;
596 regulator-boot-on;
597 regulator-min-microvolt = <3300000>;
598 regulator-max-microvolt = <3300000>;
600 regulator-state-mem {
601 regulator-on-in-suspend;
602 regulator-suspend-microvolt = <3300000>;
606 vddq_ddr_s0: dcdc-reg9 {
607 regulator-name = "vddq_ddr_s0";
608 regulator-always-on;
609 regulator-boot-on;
611 regulator-state-mem {
612 regulator-off-in-suspend;
616 vcc_1v8_s3: dcdc-reg10 {
617 regulator-name = "vcc_1v8_s3";
618 regulator-always-on;
619 regulator-boot-on;
620 regulator-min-microvolt = <1800000>;
621 regulator-max-microvolt = <1800000>;
623 regulator-state-mem {
624 regulator-on-in-suspend;
625 regulator-suspend-microvolt = <1800000>;
629 avcc_1v8_s0: pldo-reg1 {
630 regulator-name = "avcc_1v8_s0";
631 regulator-always-on;
632 regulator-boot-on;
633 regulator-min-microvolt = <1800000>;
634 regulator-max-microvolt = <1800000>;
636 regulator-state-mem {
637 regulator-off-in-suspend;
641 vcc_1v8_s0: pldo-reg2 {
642 regulator-name = "vcc_1v8_s0";
643 regulator-always-on;
644 regulator-boot-on;
645 regulator-min-microvolt = <1800000>;
646 regulator-max-microvolt = <1800000>;
648 regulator-state-mem {
649 regulator-off-in-suspend;
650 regulator-suspend-microvolt = <1800000>;
654 avdd_1v2_s0: pldo-reg3 {
655 regulator-name = "avdd_1v2_s0";
656 regulator-always-on;
657 regulator-boot-on;
658 regulator-min-microvolt = <1200000>;
659 regulator-max-microvolt = <1200000>;
661 regulator-state-mem {
662 regulator-off-in-suspend;
666 vcc_3v3_s0: pldo-reg4 {
667 regulator-name = "vcc_3v3_s0";
668 regulator-always-on;
669 regulator-boot-on;
670 regulator-min-microvolt = <3300000>;
671 regulator-max-microvolt = <3300000>;
672 regulator-ramp-delay = <12500>;
674 regulator-state-mem {
675 regulator-off-in-suspend;
679 vccio_sd_s0: pldo-reg5 {
680 regulator-name = "vccio_sd_s0";
681 regulator-always-on;
682 regulator-boot-on;
683 regulator-min-microvolt = <1800000>;
684 regulator-max-microvolt = <3300000>;
685 regulator-ramp-delay = <12500>;
687 regulator-state-mem {
688 regulator-off-in-suspend;
692 pldo6_s3: pldo-reg6 {
693 regulator-name = "pldo6_s3";
694 regulator-always-on;
695 regulator-boot-on;
696 regulator-min-microvolt = <1800000>;
697 regulator-max-microvolt = <1800000>;
699 regulator-state-mem {
700 regulator-on-in-suspend;
701 regulator-suspend-microvolt = <1800000>;
705 vdd_0v75_s3: nldo-reg1 {
706 regulator-name = "vdd_0v75_s3";
707 regulator-always-on;
708 regulator-boot-on;
709 regulator-min-microvolt = <750000>;
710 regulator-max-microvolt = <750000>;
712 regulator-state-mem {
713 regulator-on-in-suspend;
714 regulator-suspend-microvolt = <750000>;
718 vdd_ddr_pll_s0: nldo-reg2 {
719 regulator-name = "vdd_ddr_pll_s0";
720 regulator-always-on;
721 regulator-boot-on;
722 regulator-min-microvolt = <850000>;
723 regulator-max-microvolt = <850000>;
725 regulator-state-mem {
726 regulator-off-in-suspend;
727 regulator-suspend-microvolt = <850000>;
731 avdd_0v75_s0: nldo-reg3 {
732 regulator-name = "avdd_0v75_s0";
733 regulator-always-on;
734 regulator-boot-on;
735 regulator-min-microvolt = <750000>;
736 regulator-max-microvolt = <750000>;
738 regulator-state-mem {
739 regulator-off-in-suspend;
743 vdd_0v85_s0: nldo-reg4 {
744 regulator-name = "vdd_0v85_s0";
745 regulator-always-on;
746 regulator-boot-on;
747 regulator-min-microvolt = <850000>;
748 regulator-max-microvolt = <850000>;
750 regulator-state-mem {
751 regulator-off-in-suspend;
755 vdd_0v75_s0: nldo-reg5 {
756 regulator-name = "vdd_0v75_s0";
757 regulator-always-on;
758 regulator-boot-on;
759 regulator-min-microvolt = <750000>;
760 regulator-max-microvolt = <750000>;
762 regulator-state-mem {
763 regulator-off-in-suspend;
783 phy-supply = <&vcc5v0_host>;
792 pinctrl-0 = <&uart2m0_xfer>;
799 pinctrl-names = "default";
800 pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>;