Lines Matching +full:regulator +full:- +full:suspend +full:- +full:max +full:- +full:microvolt
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 pinctrl-0 = <&i2c0m2_xfer>;
210 vdd_cpu_big0_s0: regulator@42 {
213 fcs,suspend-voltage-selector = <1>;
214 regulator-name = "vdd_cpu_big0_s0";
215 regulator-always-on;
216 regulator-boot-on;
217 regulator-min-microvolt = <550000>;
218 regulator-max-microvolt = <1050000>;
219 regulator-ramp-delay = <2300>;
220 vin-supply = <&vcc5v0_sys>;
222 regulator-state-mem {
223 regulator-off-in-suspend;
227 vdd_cpu_big1_s0: regulator@43 {
230 fcs,suspend-voltage-selector = <1>;
231 regulator-name = "vdd_cpu_big1_s0";
232 regulator-always-on;
233 regulator-boot-on;
234 regulator-min-microvolt = <550000>;
235 regulator-max-microvolt = <1050000>;
236 regulator-ramp-delay = <2300>;
237 vin-supply = <&vcc5v0_sys>;
239 regulator-state-mem {
240 regulator-off-in-suspend;
248 vdd_npu_s0: regulator@42 {
251 fcs,suspend-voltage-selector = <1>;
252 regulator-name = "vdd_npu_s0";
253 regulator-always-on;
254 regulator-boot-on;
255 regulator-min-microvolt = <550000>;
256 regulator-max-microvolt = <950000>;
257 regulator-ramp-delay = <2300>;
258 vin-supply = <&vcc5v0_sys>;
260 regulator-state-mem {
261 regulator-off-in-suspend;
267 pinctrl-0 = <&i2c6m3_xfer>;
273 interrupt-parent = <&gpio0>;
275 #clock-cells = <0>;
276 clock-output-names = "hym8563";
277 pinctrl-names = "default";
278 pinctrl-0 = <&hym8563_int>;
283 pinctrl-0 = <&i2c7m0_xfer>;
286 es8316: audio-codec@11 {
289 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
290 assigned-clock-rates = <12288000>;
292 clock-names = "mclk";
293 #sound-dai-cells = <0>;
297 remote-endpoint = <&i2s0_8ch_p0_0>;
304 pinctrl-0 = <&i2s0_lrck
313 dai-format = "i2s";
314 mclk-fs = <256>;
315 remote-endpoint = <&es8316_p0_0>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&rtl8111_isolate>;
323 reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
329 hym8563_int: hym8563-int {
335 gpio_leds: gpio-leds {
342 rtl8111_isolate: rtl8111-isolate {
347 sdio-pwrseq {
348 wifi_enable_h: wifi-enable-h {
354 vcc5v0_host_en: vcc5v0-host-en {
359 vcc5v0_u3host_en: vcc5v0-u3host-en {
364 wireless-bluetooth {
365 bt_reset_gpio: bt-reset-pin {
369 bt_wake_gpio: bt-wake-pin {
373 bt_wake_host_irq: bt-wake-host-irq {
378 wireless-wlan {
379 wifi_host_wake_irq: wifi-host-wake-irq {
383 wifi_poweren_pin: wifi-poweren-pin {
390 pinctrl-0 = <&pwm2m1_pins>;
395 pinctrl-names = "active";
396 pinctrl-0 = <&pwm13m2_pins>;
401 vref-supply = <&vcc_1v8_s0>;
406 bus-width = <8>;
407 max-frequency = <200000000>;
408 mmc-hs400-1_8v;
409 mmc-hs400-enhanced-strobe;
410 no-sdio;
411 no-sd;
412 non-removable;
417 bus-width = <4>;
418 cap-sd-highspeed;
419 cap-sdio-irq;
420 disable-wp;
421 keep-power-in-suspend;
422 max-frequency = <150000000>;
423 mmc-pwrseq = <&sdio_pwrseq>;
424 no-sd;
425 no-mmc;
426 non-removable;
427 pinctrl-names = "default";
428 pinctrl-0 = <&sdiom1_pins>,<&wifi_poweren_pin>;
433 bus-width = <4>;
434 cap-mmc-highspeed;
435 cap-sd-highspeed;
436 disable-wp;
437 max-frequency = <150000000>;
438 no-sdio;
439 no-mmc;
440 sd-uhs-sdr104;
441 vmmc-supply = <&vcc_3v3_s3>;
442 vqmmc-supply = <&vccio_sd_s0>;
447 assigned-clocks = <&cru CLK_SPI2>;
448 assigned-clock-rates = <200000000>;
449 num-cs = <1>;
450 pinctrl-names = "default";
451 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
457 interrupt-parent = <&gpio0>;
459 gpio-controller;
460 #gpio-cells = <2>;
461 pinctrl-names = "default";
462 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
464 spi-max-frequency = <1000000>;
465 vcc1-supply = <&vcc5v0_sys>;
466 vcc2-supply = <&vcc5v0_sys>;
467 vcc3-supply = <&vcc5v0_sys>;
468 vcc4-supply = <&vcc5v0_sys>;
469 vcc5-supply = <&vcc5v0_sys>;
470 vcc6-supply = <&vcc5v0_sys>;
471 vcc7-supply = <&vcc5v0_sys>;
472 vcc8-supply = <&vcc5v0_sys>;
473 vcc9-supply = <&vcc5v0_sys>;
474 vcc10-supply = <&vcc5v0_sys>;
475 vcc11-supply = <&vcc_2v0_pldo_s3>;
476 vcc12-supply = <&vcc5v0_sys>;
477 vcc13-supply = <&vcc_1v1_nldo_s3>;
478 vcc14-supply = <&vcc_1v1_nldo_s3>;
479 vcca-supply = <&vcc5v0_sys>;
481 rk806_dvs1_null: dvs1-null-pins {
486 rk806_dvs2_null: dvs2-null-pins {
491 rk806_dvs3_null: dvs3-null-pins {
497 vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
498 regulator-name = "vdd_gpu_s0";
499 regulator-boot-on;
500 regulator-min-microvolt = <550000>;
501 regulator-max-microvolt = <950000>;
502 regulator-ramp-delay = <12500>;
503 regulator-enable-ramp-delay = <400>;
505 regulator-state-mem {
506 regulator-off-in-suspend;
510 vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
511 regulator-name = "vdd_cpu_lit_s0";
512 regulator-always-on;
513 regulator-boot-on;
514 regulator-min-microvolt = <550000>;
515 regulator-max-microvolt = <950000>;
516 regulator-ramp-delay = <12500>;
518 regulator-state-mem {
519 regulator-off-in-suspend;
523 vdd_log_s0: dcdc-reg3 {
524 regulator-name = "vdd_log_s0";
525 regulator-always-on;
526 regulator-boot-on;
527 regulator-min-microvolt = <675000>;
528 regulator-max-microvolt = <750000>;
529 regulator-ramp-delay = <12500>;
531 regulator-state-mem {
532 regulator-off-in-suspend;
533 regulator-suspend-microvolt = <750000>;
537 vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
538 regulator-name = "vdd_vdenc_s0";
539 regulator-always-on;
540 regulator-boot-on;
541 regulator-min-microvolt = <550000>;
542 regulator-max-microvolt = <950000>;
543 regulator-ramp-delay = <12500>;
545 regulator-state-mem {
546 regulator-off-in-suspend;
550 vdd_ddr_s0: dcdc-reg5 {
551 regulator-name = "vdd_ddr_s0";
552 regulator-always-on;
553 regulator-boot-on;
554 regulator-min-microvolt = <675000>;
555 regulator-max-microvolt = <900000>;
556 regulator-ramp-delay = <12500>;
558 regulator-state-mem {
559 regulator-off-in-suspend;
560 regulator-suspend-microvolt = <850000>;
564 vdd2_ddr_s3: dcdc-reg6 {
565 regulator-name = "vdd2_ddr_s3";
566 regulator-always-on;
567 regulator-boot-on;
569 regulator-state-mem {
570 regulator-on-in-suspend;
574 vcc_2v0_pldo_s3: dcdc-reg7 {
575 regulator-name = "vdd_2v0_pldo_s3";
576 regulator-always-on;
577 regulator-boot-on;
578 regulator-min-microvolt = <2000000>;
579 regulator-max-microvolt = <2000000>;
580 regulator-ramp-delay = <12500>;
582 regulator-state-mem {
583 regulator-on-in-suspend;
584 regulator-suspend-microvolt = <2000000>;
588 vcc_3v3_s3: dcdc-reg8 {
589 regulator-name = "vcc_3v3_s3";
590 regulator-always-on;
591 regulator-boot-on;
592 regulator-min-microvolt = <3300000>;
593 regulator-max-microvolt = <3300000>;
595 regulator-state-mem {
596 regulator-on-in-suspend;
597 regulator-suspend-microvolt = <3300000>;
601 vddq_ddr_s0: dcdc-reg9 {
602 regulator-name = "vddq_ddr_s0";
603 regulator-always-on;
604 regulator-boot-on;
606 regulator-state-mem {
607 regulator-off-in-suspend;
611 vcc_1v8_s3: dcdc-reg10 {
612 regulator-name = "vcc_1v8_s3";
613 regulator-always-on;
614 regulator-boot-on;
615 regulator-min-microvolt = <1800000>;
616 regulator-max-microvolt = <1800000>;
618 regulator-state-mem {
619 regulator-on-in-suspend;
620 regulator-suspend-microvolt = <1800000>;
624 avcc_1v8_s0: pldo-reg1 {
625 regulator-name = "avcc_1v8_s0";
626 regulator-always-on;
627 regulator-boot-on;
628 regulator-min-microvolt = <1800000>;
629 regulator-max-microvolt = <1800000>;
631 regulator-state-mem {
632 regulator-off-in-suspend;
636 vcc_1v8_s0: pldo-reg2 {
637 regulator-name = "vcc_1v8_s0";
638 regulator-always-on;
639 regulator-boot-on;
640 regulator-min-microvolt = <1800000>;
641 regulator-max-microvolt = <1800000>;
643 regulator-state-mem {
644 regulator-off-in-suspend;
645 regulator-suspend-microvolt = <1800000>;
649 avdd_1v2_s0: pldo-reg3 {
650 regulator-name = "avdd_1v2_s0";
651 regulator-always-on;
652 regulator-boot-on;
653 regulator-min-microvolt = <1200000>;
654 regulator-max-microvolt = <1200000>;
656 regulator-state-mem {
657 regulator-off-in-suspend;
661 vcc_3v3_s0: pldo-reg4 {
662 regulator-name = "vcc_3v3_s0";
663 regulator-always-on;
664 regulator-boot-on;
665 regulator-min-microvolt = <3300000>;
666 regulator-max-microvolt = <3300000>;
667 regulator-ramp-delay = <12500>;
669 regulator-state-mem {
670 regulator-off-in-suspend;
674 vccio_sd_s0: pldo-reg5 {
675 regulator-name = "vccio_sd_s0";
676 regulator-always-on;
677 regulator-boot-on;
678 regulator-min-microvolt = <1800000>;
679 regulator-max-microvolt = <3300000>;
680 regulator-ramp-delay = <12500>;
682 regulator-state-mem {
683 regulator-off-in-suspend;
687 pldo6_s3: pldo-reg6 {
688 regulator-name = "pldo6_s3";
689 regulator-always-on;
690 regulator-boot-on;
691 regulator-min-microvolt = <1800000>;
692 regulator-max-microvolt = <1800000>;
694 regulator-state-mem {
695 regulator-on-in-suspend;
696 regulator-suspend-microvolt = <1800000>;
700 vdd_0v75_s3: nldo-reg1 {
701 regulator-name = "vdd_0v75_s3";
702 regulator-always-on;
703 regulator-boot-on;
704 regulator-min-microvolt = <750000>;
705 regulator-max-microvolt = <750000>;
707 regulator-state-mem {
708 regulator-on-in-suspend;
709 regulator-suspend-microvolt = <750000>;
713 vdd_ddr_pll_s0: nldo-reg2 {
714 regulator-name = "vdd_ddr_pll_s0";
715 regulator-always-on;
716 regulator-boot-on;
717 regulator-min-microvolt = <850000>;
718 regulator-max-microvolt = <850000>;
720 regulator-state-mem {
721 regulator-off-in-suspend;
722 regulator-suspend-microvolt = <850000>;
726 avdd_0v75_s0: nldo-reg3 {
727 regulator-name = "avdd_0v75_s0";
728 regulator-always-on;
729 regulator-boot-on;
730 regulator-min-microvolt = <750000>;
731 regulator-max-microvolt = <750000>;
733 regulator-state-mem {
734 regulator-off-in-suspend;
738 vdd_0v85_s0: nldo-reg4 {
739 regulator-name = "vdd_0v85_s0";
740 regulator-always-on;
741 regulator-boot-on;
742 regulator-min-microvolt = <850000>;
743 regulator-max-microvolt = <850000>;
745 regulator-state-mem {
746 regulator-off-in-suspend;
750 vdd_0v75_s0: nldo-reg5 {
751 regulator-name = "vdd_0v75_s0";
752 regulator-always-on;
753 regulator-boot-on;
754 regulator-min-microvolt = <750000>;
755 regulator-max-microvolt = <750000>;
757 regulator-state-mem {
758 regulator-off-in-suspend;
778 phy-supply = <&vcc5v0_host>;
787 pinctrl-0 = <&uart2m0_xfer>;
794 pinctrl-names = "default";
795 pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>;