Lines Matching +full:suspend +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/usb/pd.h>
17 compatible = "xunlong,orangepi-5-plus", "rockchip,rk3588";
25 stdout-path = "serial2:1500000n8";
28 adc-keys-0 {
29 compatible = "adc-keys";
30 io-channels = <&saradc 0>;
31 io-channel-names = "buttons";
32 keyup-threshold-microvolt = <1800000>;
33 poll-interval = <100>;
35 button-maskrom {
38 press-threshold-microvolt = <2000>;
42 adc-keys-1 {
43 compatible = "adc-keys";
44 io-channels = <&saradc 1>;
45 io-channel-names = "buttons";
46 keyup-threshold-microvolt = <1800000>;
47 poll-interval = <100>;
49 button-recovery {
52 press-threshold-microvolt = <2000>;
56 speaker_amp: speaker-audio-amplifier {
57 compatible = "simple-audio-amplifier";
58 enable-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
59 sound-name-prefix = "Speaker Amp";
62 headphone_amp: headphones-audio-amplifier {
63 compatible = "simple-audio-amplifier";
64 enable-gpios = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
65 sound-name-prefix = "Headphones Amp";
68 ir-receiver {
69 compatible = "gpio-ir-receiver";
70 gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&ir_receiver_pin>;
75 gpio-leds {
76 compatible = "gpio-leds";
77 pinctrl-names = "default";
78 pinctrl-0 = <&blue_led_pin>;
83 function-enumerator = <1>;
84 gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
88 fan: pwm-fan {
89 compatible = "pwm-fan";
90 cooling-levels = <0 70 75 80 100>;
91 fan-supply = <&vcc5v0_sys>;
93 #cooling-cells = <2>;
96 pwm-leds {
97 compatible = "pwm-leds";
102 function-enumerator = <2>;
103 max-brightness = <255>;
109 compatible = "rfkill-gpio";
110 label = "rfkill-pcie-wlan";
111 radio-type = "wlan";
112 shutdown-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
116 compatible = "simple-audio-card";
117 pinctrl-names = "default";
118 pinctrl-0 = <&hp_detect>;
119 simple-audio-card,name = "Analog";
120 simple-audio-card,aux-devs = <&speaker_amp>, <&headphone_amp>;
121 simple-audio-card,format = "i2s";
122 simple-audio-card,mclk-fs = <256>;
123 simple-audio-card,hp-det-gpio = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>;
124 simple-audio-card,bitclock-master = <&daicpu>;
125 simple-audio-card,frame-master = <&daicpu>;
128 simple-audio-card,widgets =
134 simple-audio-card,routing =
157 daicpu: simple-audio-card,cpu {
158 sound-dai = <&i2s0_8ch>;
159 system-clock-frequency = <12288000>;
162 daicodec: simple-audio-card,codec {
163 sound-dai = <&es8388>;
164 system-clock-frequency = <12288000>;
168 vcc3v3_pcie30: vcc3v3-pcie30-regulator {
169 compatible = "regulator-fixed";
170 enable-active-high;
171 gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>;
172 regulator-name = "vcc3v3_pcie30";
173 regulator-min-microvolt = <3300000>;
174 regulator-max-microvolt = <3300000>;
175 startup-delay-us = <5000>;
176 vin-supply = <&vcc5v0_sys>;
179 vcc3v3_pcie_eth: vcc3v3-pcie-eth-regulator {
180 compatible = "regulator-fixed";
181 gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>;
182 regulator-name = "vcc3v3_pcie_eth";
183 regulator-min-microvolt = <3300000>;
184 regulator-max-microvolt = <3300000>;
185 startup-delay-us = <50000>;
186 vin-supply = <&vcc5v0_sys>;
189 vcc3v3_wf: vcc3v3-wf-regulator {
190 compatible = "regulator-fixed";
191 enable-active-high;
192 gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
193 regulator-name = "vcc3v3_wf";
194 regulator-min-microvolt = <3300000>;
195 regulator-max-microvolt = <3300000>;
196 startup-delay-us = <50000>;
197 vin-supply = <&vcc5v0_sys>;
200 vcc5v0_sys: vcc5v0-sys-regulator {
201 compatible = "regulator-fixed";
202 regulator-name = "vcc5v0_sys";
203 regulator-always-on;
204 regulator-boot-on;
205 regulator-min-microvolt = <5000000>;
206 regulator-max-microvolt = <5000000>;
209 vcc5v0_usb20: vcc5v0-usb20-regulator {
210 compatible = "regulator-fixed";
211 enable-active-high;
213 pinctrl-names = "default";
214 pinctrl-0 = <&vcc5v0_usb20_en>;
215 regulator-name = "vcc5v0_usb20";
216 regulator-min-microvolt = <5000000>;
217 regulator-max-microvolt = <5000000>;
218 vin-supply = <&vcc5v0_sys>;
235 cpu-supply = <&vdd_cpu_big0_s0>;
239 cpu-supply = <&vdd_cpu_big0_s0>;
243 cpu-supply = <&vdd_cpu_big1_s0>;
247 cpu-supply = <&vdd_cpu_big1_s0>;
251 cpu-supply = <&vdd_cpu_lit_s0>;
255 cpu-supply = <&vdd_cpu_lit_s0>;
259 cpu-supply = <&vdd_cpu_lit_s0>;
263 cpu-supply = <&vdd_cpu_lit_s0>;
267 pinctrl-names = "default";
268 pinctrl-0 = <&i2c0m2_xfer>;
274 fcs,suspend-voltage-selector = <1>;
275 regulator-name = "vdd_cpu_big0_s0";
276 regulator-always-on;
277 regulator-boot-on;
278 regulator-min-microvolt = <550000>;
279 regulator-max-microvolt = <1050000>;
280 regulator-ramp-delay = <2300>;
281 vin-supply = <&vcc5v0_sys>;
283 regulator-state-mem {
284 regulator-off-in-suspend;
291 fcs,suspend-voltage-selector = <1>;
292 regulator-name = "vdd_cpu_big1_s0";
293 regulator-always-on;
294 regulator-boot-on;
295 regulator-min-microvolt = <550000>;
296 regulator-max-microvolt = <1050000>;
297 regulator-ramp-delay = <2300>;
298 vin-supply = <&vcc5v0_sys>;
300 regulator-state-mem {
301 regulator-off-in-suspend;
307 clock-frequency = <400000>;
313 interrupt-parent = <&gpio0>;
315 #clock-cells = <0>;
316 clock-output-names = "hym8563";
317 pinctrl-names = "default";
318 pinctrl-0 = <&hym8563_int>;
319 wakeup-source;
327 es8388: audio-codec@11 {
331 AVDD-supply = <&vcc_1v8_s0>;
332 DVDD-supply = <&vcc_1v8_s0>;
333 HPVDD-supply = <&vcc_3v3_s0>;
334 PVDD-supply = <&vcc_3v3_s0>;
335 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
336 assigned-clock-rates = <12288000>;
337 #sound-dai-cells = <0>;
342 pinctrl-names = "default";
343 pinctrl-0 = <&i2s0_lrck
352 pinctrl-names = "default";
353 pinctrl-0 = <&i2s2m0_lrck
360 /* phy1 - M.KEY socket */
362 reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
363 vpcie3v3-supply = <&vcc3v3_wf>;
367 /* phy2 - right ethernet port */
369 reset-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
370 vpcie3v3-supply = <&vcc3v3_pcie_eth>;
374 /* phy0 - left ethernet port */
376 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
377 vpcie3v3-supply = <&vcc3v3_pcie_eth>;
386 reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
387 vpcie3v3-supply = <&vcc3v3_pcie30>;
393 hym8563_int: hym8563-int {
399 blue_led_pin: blue-led {
404 ir-receiver {
405 ir_receiver_pin: ir-receiver-pin {
411 hp_detect: hp-detect {
417 vcc5v0_usb20_en: vcc5v0-usb20-en {
424 pinctrl-0 = <&pwm2m1_pins>;
425 pinctrl-names = "default";
430 pinctrl-0 = <&pwm3m1_pins>;
435 vref-supply = <&vcc_1v8_s0>;
440 bus-width = <8>;
441 no-sdio;
442 no-sd;
443 non-removable;
444 max-frequency = <200000000>;
445 mmc-hs400-1_8v;
446 mmc-hs400-enhanced-strobe;
451 bus-width = <4>;
452 cap-sd-highspeed;
453 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
454 disable-wp;
455 max-frequency = <150000000>;
456 no-sdio;
457 no-mmc;
458 sd-uhs-sdr104;
459 vmmc-supply = <&vcc_3v3_s3>;
460 vqmmc-supply = <&vccio_sd_s0>;
465 pinctrl-names = "default";
466 pinctrl-0 = <&fspim1_pins>;
470 compatible = "jedec,spi-nor";
472 spi-max-frequency = <100000000>;
473 spi-rx-bus-width = <4>;
474 spi-tx-bus-width = <1>;
479 assigned-clocks = <&cru CLK_SPI2>;
480 assigned-clock-rates = <200000000>;
481 num-cs = <1>;
482 pinctrl-names = "default";
483 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
489 interrupt-parent = <&gpio0>;
491 pinctrl-names = "default";
492 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
494 spi-max-frequency = <1000000>;
495 system-power-controller;
497 vcc1-supply = <&vcc5v0_sys>;
498 vcc2-supply = <&vcc5v0_sys>;
499 vcc3-supply = <&vcc5v0_sys>;
500 vcc4-supply = <&vcc5v0_sys>;
501 vcc5-supply = <&vcc5v0_sys>;
502 vcc6-supply = <&vcc5v0_sys>;
503 vcc7-supply = <&vcc5v0_sys>;
504 vcc8-supply = <&vcc5v0_sys>;
505 vcc9-supply = <&vcc5v0_sys>;
506 vcc10-supply = <&vcc5v0_sys>;
507 vcc11-supply = <&vcc_2v0_pldo_s3>;
508 vcc12-supply = <&vcc5v0_sys>;
509 vcc13-supply = <&vdd2_ddr_s3>;
510 vcc14-supply = <&vdd2_ddr_s3>;
511 vcca-supply = <&vcc5v0_sys>;
513 gpio-controller;
514 #gpio-cells = <2>;
516 rk806_dvs1_null: dvs1-null-pins {
521 rk806_dvs2_null: dvs2-null-pins {
526 rk806_dvs3_null: dvs3-null-pins {
532 vdd_gpu_s0: dcdc-reg1 {
533 regulator-name = "vdd_gpu_s0";
534 regulator-boot-on;
535 regulator-enable-ramp-delay = <400>;
536 regulator-min-microvolt = <550000>;
537 regulator-max-microvolt = <950000>;
538 regulator-ramp-delay = <12500>;
540 regulator-state-mem {
541 regulator-off-in-suspend;
545 vdd_cpu_lit_s0: dcdc-reg2 {
546 regulator-name = "vdd_cpu_lit_s0";
547 regulator-always-on;
548 regulator-boot-on;
549 regulator-min-microvolt = <550000>;
550 regulator-max-microvolt = <950000>;
551 regulator-ramp-delay = <12500>;
553 regulator-state-mem {
554 regulator-off-in-suspend;
558 vdd_log_s0: dcdc-reg3 {
559 regulator-name = "vdd_log_s0";
560 regulator-always-on;
561 regulator-boot-on;
562 regulator-min-microvolt = <675000>;
563 regulator-max-microvolt = <825000>;
564 regulator-ramp-delay = <12500>;
566 regulator-state-mem {
567 regulator-off-in-suspend;
568 regulator-suspend-microvolt = <750000>;
572 vdd_vdenc_s0: dcdc-reg4 {
573 regulator-name = "vdd_vdenc_s0";
574 regulator-always-on;
575 regulator-boot-on;
576 regulator-min-microvolt = <550000>;
577 regulator-max-microvolt = <825000>;
578 regulator-ramp-delay = <12500>;
580 regulator-state-mem {
581 regulator-off-in-suspend;
585 vdd_ddr_s0: dcdc-reg5 {
586 regulator-name = "vdd_ddr_s0";
587 regulator-always-on;
588 regulator-boot-on;
589 regulator-min-microvolt = <675000>;
590 regulator-max-microvolt = <900000>;
591 regulator-ramp-delay = <12500>;
593 regulator-state-mem {
594 regulator-off-in-suspend;
595 regulator-suspend-microvolt = <850000>;
599 vdd2_ddr_s3: dcdc-reg6 {
600 regulator-name = "vdd2_ddr_s3";
601 regulator-always-on;
602 regulator-boot-on;
604 regulator-state-mem {
605 regulator-on-in-suspend;
609 vcc_2v0_pldo_s3: dcdc-reg7 {
610 regulator-name = "vdd_2v0_pldo_s3";
611 regulator-always-on;
612 regulator-boot-on;
613 regulator-min-microvolt = <2000000>;
614 regulator-max-microvolt = <2000000>;
615 regulator-ramp-delay = <12500>;
617 regulator-state-mem {
618 regulator-on-in-suspend;
619 regulator-suspend-microvolt = <2000000>;
623 vcc_3v3_s3: dcdc-reg8 {
624 regulator-name = "vcc_3v3_s3";
625 regulator-always-on;
626 regulator-boot-on;
627 regulator-min-microvolt = <3300000>;
628 regulator-max-microvolt = <3300000>;
630 regulator-state-mem {
631 regulator-on-in-suspend;
632 regulator-suspend-microvolt = <3300000>;
636 vddq_ddr_s0: dcdc-reg9 {
637 regulator-name = "vddq_ddr_s0";
638 regulator-always-on;
639 regulator-boot-on;
641 regulator-state-mem {
642 regulator-off-in-suspend;
646 vcc_1v8_s3: dcdc-reg10 {
647 regulator-name = "vcc_1v8_s3";
648 regulator-always-on;
649 regulator-boot-on;
650 regulator-min-microvolt = <1800000>;
651 regulator-max-microvolt = <1800000>;
653 regulator-state-mem {
654 regulator-on-in-suspend;
655 regulator-suspend-microvolt = <1800000>;
659 avcc_1v8_s0: pldo-reg1 {
660 regulator-name = "avcc_1v8_s0";
661 regulator-always-on;
662 regulator-boot-on;
663 regulator-min-microvolt = <1800000>;
664 regulator-max-microvolt = <1800000>;
666 regulator-state-mem {
667 regulator-off-in-suspend;
668 regulator-suspend-microvolt = <1800000>;
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;
773 regulator-min-microvolt = <825000>;
774 regulator-max-microvolt = <825000>;
776 regulator-state-mem {
777 regulator-off-in-suspend;
781 vdd_0v85_s0: nldo-reg4 {
782 regulator-name = "vdd_0v85_s0";
783 regulator-always-on;
784 regulator-boot-on;
785 regulator-min-microvolt = <850000>;
786 regulator-max-microvolt = <850000>;
788 regulator-state-mem {
789 regulator-off-in-suspend;
793 vdd_0v75_s0: nldo-reg5 {
794 regulator-name = "vdd_0v75_s0";
795 regulator-always-on;
796 regulator-boot-on;
797 regulator-min-microvolt = <750000>;
798 regulator-max-microvolt = <750000>;
800 regulator-state-mem {
801 regulator-off-in-suspend;
821 phy-supply = <&vcc5v0_usb20>;
826 phy-supply = <&vcc5v0_usb20>;
831 pinctrl-0 = <&uart2m0_xfer>;
836 pinctrl-0 = <&uart9m0_xfer>;