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

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 <dt-bindings/pinctrl/rockchip.h>
8 #include <dt-bindings/usb/pd.h>
12 model = "Hardkernel ODROID-M2";
13 compatible = "hardkernel,odroid-m2", "rockchip,rk3588s";
22 stdout-path = "serial2:1500000n8";
26 compatible = "gpio-leds";
27 pinctrl-names = "default";
28 pinctrl-0 = <&pwr_led>, <&sys_led>;
30 led_pwr: led-0 {
32 default-state = "on";
34 gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
35 linux,default-trigger = "default-on";
38 led_sys: led-1 {
40 default-state = "on";
42 gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
43 linux,default-trigger = "heartbeat";
47 fan: pwm-fan {
48 compatible = "pwm-fan";
49 #cooling-cells = <2>;
50 cooling-levels = <0 192 224 255>;
51 fan-supply = <&vcc5v0_sys>;
55 vcc_1v1_nldo_s3: regulator-1v1-vcc-nldo-s3 {
56 compatible = "regulator-fixed";
57 regulator-name = "vcc_1v1_nldo_s3";
58 regulator-always-on;
59 regulator-boot-on;
60 regulator-min-microvolt = <1100000>;
61 regulator-max-microvolt = <1100000>;
62 vin-supply = <&vcc4v0_sys>;
65 vcc3v3_lcd: regulator-3v3-vcc-lcd {
66 compatible = "regulator-fixed";
67 enable-active-high;
68 gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&lcd_pwren>;
71 regulator-name = "vcc3v3_lcd";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
74 vin-supply = <&vcc_3v3_s3>;
77 vcc3v3_pcie: regulator-3v3-vcc-pcie {
78 compatible = "regulator-fixed";
79 enable-active-high;
80 gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pcie_pwren>;
83 regulator-name = "vcc3v3_pcie";
84 regulator-min-microvolt = <3300000>;
85 regulator-max-microvolt = <3300000>;
86 vin-supply = <&vcc_3v3_s3>;
89 vcc_3v3_s0: regulator-3v3-vcc-s0 {
90 compatible = "regulator-fixed";
91 regulator-name = "vcc_3v3_s0";
92 regulator-always-on;
93 regulator-boot-on;
94 regulator-min-microvolt = <3300000>;
95 regulator-max-microvolt = <3300000>;
96 vin-supply = <&vcc_3v3_s3>;
99 vcc4v0_sys: regulator-4v0-vcc-sys {
100 compatible = "regulator-fixed";
101 regulator-name = "vcc4v0_sys";
102 regulator-always-on;
103 regulator-boot-on;
104 regulator-min-microvolt = <4800000>;
105 regulator-max-microvolt = <4800000>;
106 vin-supply = <&vcc12v_dcin>;
109 vcc5v0_sys: regulator-5v0-vcc-sys {
110 compatible = "regulator-fixed";
111 enable-active-high;
112 gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&vcc5v0_pwren>;
115 regulator-name = "vcc5v0_sys";
116 regulator-always-on;
117 regulator-boot-on;
118 regulator-min-microvolt = <5000000>;
119 regulator-max-microvolt = <5000000>;
120 vin-supply = <&vcc12v_dcin>;
123 vcc5v0_usb2_host: regulator-5v0-vcc-usb2-host {
124 compatible = "regulator-fixed";
125 enable-active-high;
126 gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&usb2_host_pwren>;
129 regulator-name = "vcc5v0_usb2_host";
130 regulator-min-microvolt = <5000000>;
131 regulator-max-microvolt = <5000000>;
132 vin-supply = <&vcc5v0_sys>;
135 vcc5v0_usb3_host: regulator-5v0-vcc-usb3-host {
136 compatible = "regulator-fixed";
137 enable-active-high;
138 gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&usb3_host_pwren>;
141 regulator-name = "vcc5v0_usb3_host";
142 regulator-min-microvolt = <5000000>;
143 regulator-max-microvolt = <5000000>;
144 vin-supply = <&vcc5v0_sys>;
147 vcc5v0_usb3_typec: regulator-5v0-vcc-usb3-typec {
148 compatible = "regulator-fixed";
149 enable-active-high;
150 gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&usb3_typec_pwren>;
153 regulator-name = "vcc5v0_usb3_typec";
154 regulator-min-microvolt = <5000000>;
155 regulator-max-microvolt = <5000000>;
156 vin-supply = <&vcc5v0_sys>;
159 vcca: regulator-5v0-vcca {
160 compatible = "regulator-fixed";
161 regulator-name = "vcca";
162 regulator-always-on;
163 regulator-boot-on;
164 regulator-min-microvolt = <5000000>;
165 regulator-max-microvolt = <5000000>;
166 vin-supply = <&vcc12v_dcin>;
169 vcc12v_dcin: regulator-12v0-vcc-dcin {
170 compatible = "regulator-fixed";
171 regulator-name = "vcc12v_dcin";
172 regulator-always-on;
173 regulator-boot-on;
174 regulator-min-microvolt = <12000000>;
175 regulator-max-microvolt = <12000000>;
188 cpu-supply = <&vdd_cpu_big0_s0>;
192 cpu-supply = <&vdd_cpu_big0_s0>;
196 cpu-supply = <&vdd_cpu_big1_s0>;
200 cpu-supply = <&vdd_cpu_big1_s0>;
204 cpu-supply = <&vdd_cpu_lit_s0>;
208 cpu-supply = <&vdd_cpu_lit_s0>;
212 cpu-supply = <&vdd_cpu_lit_s0>;
216 cpu-supply = <&vdd_cpu_lit_s0>;
221 phy-handle = <&rgmii_phy1>;
222 phy-mode = "rgmii-id";
223 phy-supply = <&vcc_3v3_s0>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&gmac1_miim
235 mali-supply = <&vdd_gpu_s0>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&i2c0m2_xfer>;
247 fcs,suspend-voltage-selector = <1>;
248 regulator-name = "vdd_cpu_big0_s0";
249 regulator-always-on;
250 regulator-boot-on;
251 regulator-min-microvolt = <550000>;
252 regulator-max-microvolt = <1050000>;
253 regulator-ramp-delay = <2300>;
254 vin-supply = <&vcc4v0_sys>;
256 regulator-state-mem {
257 regulator-off-in-suspend;
264 fcs,suspend-voltage-selector = <1>;
265 regulator-name = "vdd_cpu_big1_s0";
266 regulator-always-on;
267 regulator-boot-on;
268 regulator-min-microvolt = <550000>;
269 regulator-max-microvolt = <1050000>;
270 regulator-ramp-delay = <2300>;
271 vin-supply = <&vcc4v0_sys>;
273 regulator-state-mem {
274 regulator-off-in-suspend;
285 fcs,suspend-voltage-selector = <1>;
286 regulator-name = "vdd_npu_s0";
287 regulator-always-on;
288 regulator-boot-on;
289 regulator-min-microvolt = <550000>;
290 regulator-max-microvolt = <950000>;
291 regulator-ramp-delay = <2300>;
292 vin-supply = <&vcc4v0_sys>;
294 regulator-state-mem {
295 regulator-off-in-suspend;
301 clock-frequency = <400000>;
302 pinctrl-names = "default";
303 pinctrl-0 = <&i2c8m2_xfer>;
306 usbc0: usb-typec@22 {
309 interrupt-parent = <&gpio4>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&usbc0_int>;
313 vbus-supply = <&vcc5v0_usb3_typec>;
316 compatible = "usb-c-connector";
317 data-role = "dual";
318 label = "USB-C";
319 op-sink-microwatt = <1000000>;
320 power-role = "dual";
321 sink-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>;
322 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
323 try-power-role = "source";
326 #address-cells = <1>;
327 #size-cells = <0>;
333 remote-endpoint = <&usb_host0_xhci_role_switch>;
341 remote-endpoint = <&usbdp_phy0_orientation_switch>;
349 remote-endpoint = <&usbdp_phy0_dp_altmode_mux>;
359 interrupt-parent = <&gpio0>;
361 pinctrl-names = "default";
362 pinctrl-0 = <&pcf8563_int>;
363 wakeup-source;
368 rgmii_phy1: ethernet-phy@1 {
369 compatible = "ethernet-phy-id001c.c916";
371 reset-assert-us = <20000>;
372 reset-deassert-us = <100000>;
373 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
378 polling-delay = <1000>;
381 package_fan0: package-fan0 {
388 cooling-maps {
390 cooling-device = <&fan 1 THERMAL_NO_LIMIT>;
397 pinctrl-names = "default";
398 pinctrl-0 = <&pcie20x1_pins>;
399 reset-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>;
400 vpcie3v3-supply = <&vcc3v3_pcie>;
406 lcd_pwren: lcd-pwren {
412 pwr_led: pwr-led {
416 sys_led: sys-led {
422 pcie20x1_pins: pcie20x1-pins {
429 pcie_pwren: pcie-pwren {
435 vcc5v0_pwren: vcc5v0-pwren {
441 pcf8563_int: pcf8563-int {
447 usb2_host_pwren: usb2-host-pwren {
451 usb3_host_pwren: usb3-host-pwren {
455 usb3_typec_pwren: usb3-typec-pwren {
459 usbc0_int: usbc0-int {
466 pinctrl-names = "default";
467 pinctrl-0 = <&pwm0m2_pins>;
472 vref-supply = <&vcca_1v8_s0>;
477 bus-width = <8>;
478 mmc-hs400-1_8v;
479 mmc-hs400-enhanced-strobe;
480 no-sd;
481 no-sdio;
482 non-removable;
483 vmmc-supply = <&vcc_3v3_s0>;
484 vqmmc-supply = <&vcc_1v8_s0>;
489 bus-width = <4>;
490 cap-sd-highspeed;
491 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
492 disable-wp;
493 max-frequency = <150000000>;
494 no-mmc;
495 no-sdio;
496 sd-uhs-sdr104;
497 vmmc-supply = <&vcc_3v3_s3>;
498 vqmmc-supply = <&vccio_sd_s0>;
503 assigned-clocks = <&cru CLK_SPI2>;
504 assigned-clock-rates = <200000000>;
505 num-cs = <1>;
506 pinctrl-names = "default";
507 pinctrl-0 = <&spi2m2_cs0>, <&spi2m2_pins>;
513 #gpio-cells = <2>;
514 gpio-controller;
515 interrupt-parent = <&gpio0>;
517 pinctrl-names = "default";
518 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
520 spi-max-frequency = <1000000>;
521 system-power-controller;
523 vcc1-supply = <&vcc4v0_sys>;
524 vcc2-supply = <&vcc4v0_sys>;
525 vcc3-supply = <&vcc4v0_sys>;
526 vcc4-supply = <&vcc4v0_sys>;
527 vcc5-supply = <&vcc4v0_sys>;
528 vcc6-supply = <&vcc4v0_sys>;
529 vcc7-supply = <&vcc4v0_sys>;
530 vcc8-supply = <&vcc4v0_sys>;
531 vcc9-supply = <&vcc4v0_sys>;
532 vcc10-supply = <&vcc4v0_sys>;
533 vcc11-supply = <&vcc_2v0_pldo_s3>;
534 vcc12-supply = <&vcc4v0_sys>;
535 vcc13-supply = <&vcc_1v1_nldo_s3>;
536 vcc14-supply = <&vcc_1v1_nldo_s3>;
537 vcca-supply = <&vcca>;
539 rk806_dvs1_null: dvs1-null-pins {
544 rk806_dvs2_null: dvs2-null-pins {
549 rk806_dvs3_null: dvs3-null-pins {
555 vdd_gpu_s0: dcdc-reg1 {
556 regulator-name = "vdd_gpu_s0";
557 regulator-boot-on;
558 regulator-min-microvolt = <550000>;
559 regulator-max-microvolt = <950000>;
560 regulator-ramp-delay = <12500>;
561 regulator-enable-ramp-delay = <400>;
563 regulator-state-mem {
564 regulator-off-in-suspend;
568 vdd_cpu_lit_s0: dcdc-reg2 {
569 regulator-name = "vdd_cpu_lit_s0";
570 regulator-always-on;
571 regulator-boot-on;
572 regulator-min-microvolt = <550000>;
573 regulator-max-microvolt = <950000>;
574 regulator-ramp-delay = <12500>;
576 regulator-state-mem {
577 regulator-off-in-suspend;
581 vdd_logic_s0: dcdc-reg3 {
582 regulator-name = "vdd_logic_s0";
583 regulator-always-on;
584 regulator-boot-on;
585 regulator-min-microvolt = <675000>;
586 regulator-max-microvolt = <750000>;
587 regulator-ramp-delay = <12500>;
589 regulator-state-mem {
590 regulator-off-in-suspend;
591 regulator-suspend-microvolt = <750000>;
595 vdd_vdenc_s0: dcdc-reg4 {
596 regulator-name = "vdd_vdenc_s0";
597 regulator-always-on;
598 regulator-boot-on;
599 regulator-min-microvolt = <550000>;
600 regulator-max-microvolt = <950000>;
601 regulator-ramp-delay = <12500>;
603 regulator-state-mem {
604 regulator-off-in-suspend;
608 vdd_ddr_s0: dcdc-reg5 {
609 regulator-name = "vdd_ddr_s0";
610 regulator-always-on;
611 regulator-boot-on;
612 regulator-min-microvolt = <675000>;
613 regulator-max-microvolt = <900000>;
614 regulator-ramp-delay = <12500>;
616 regulator-state-mem {
617 regulator-off-in-suspend;
618 regulator-suspend-microvolt = <850000>;
622 vdd2_ddr_s3: dcdc-reg6 {
623 regulator-name = "vdd2_ddr_s3";
624 regulator-always-on;
625 regulator-boot-on;
627 regulator-state-mem {
628 regulator-on-in-suspend;
632 vcc_2v0_pldo_s3: dcdc-reg7 {
633 regulator-name = "vdd_2v0_pldo_s3";
634 regulator-always-on;
635 regulator-boot-on;
636 regulator-min-microvolt = <2000000>;
637 regulator-max-microvolt = <2000000>;
638 regulator-ramp-delay = <12500>;
640 regulator-state-mem {
641 regulator-on-in-suspend;
642 regulator-suspend-microvolt = <2000000>;
646 vcc_3v3_s3: dcdc-reg8 {
647 regulator-name = "vcc_3v3_s3";
648 regulator-always-on;
649 regulator-boot-on;
650 regulator-min-microvolt = <3300000>;
651 regulator-max-microvolt = <3300000>;
653 regulator-state-mem {
654 regulator-on-in-suspend;
655 regulator-suspend-microvolt = <3300000>;
659 vddq_ddr_s0: dcdc-reg9 {
660 regulator-name = "vddq_ddr_s0";
661 regulator-always-on;
662 regulator-boot-on;
664 regulator-state-mem {
665 regulator-off-in-suspend;
669 vcc_1v8_s3: dcdc-reg10 {
670 regulator-name = "vcc_1v8_s3";
671 regulator-always-on;
672 regulator-boot-on;
673 regulator-min-microvolt = <1800000>;
674 regulator-max-microvolt = <1800000>;
676 regulator-state-mem {
677 regulator-on-in-suspend;
678 regulator-suspend-microvolt = <1800000>;
682 vcc_1v8_s0: pldo-reg1 {
683 regulator-name = "vcc_1v8_s0";
684 regulator-always-on;
685 regulator-boot-on;
686 regulator-min-microvolt = <1800000>;
687 regulator-max-microvolt = <1800000>;
689 regulator-state-mem {
690 regulator-off-in-suspend;
694 vcca_1v8_s0: pldo-reg2 {
695 regulator-name = "vcca_1v8_s0";
696 regulator-always-on;
697 regulator-boot-on;
698 regulator-min-microvolt = <1800000>;
699 regulator-max-microvolt = <1800000>;
701 regulator-state-mem {
702 regulator-off-in-suspend;
703 regulator-suspend-microvolt = <1800000>;
707 vdda_1v2_s0: pldo-reg3 {
708 regulator-name = "vdda_1v2_s0";
709 regulator-always-on;
710 regulator-boot-on;
711 regulator-min-microvolt = <1200000>;
712 regulator-max-microvolt = <1200000>;
714 regulator-state-mem {
715 regulator-off-in-suspend;
719 vcca_3v3_s0: pldo-reg4 {
720 regulator-name = "vcca_3v3_s0";
721 regulator-always-on;
722 regulator-boot-on;
723 regulator-min-microvolt = <3300000>;
724 regulator-max-microvolt = <3300000>;
725 regulator-ramp-delay = <12500>;
727 regulator-state-mem {
728 regulator-off-in-suspend;
732 vccio_sd_s0: pldo-reg5 {
733 regulator-name = "vccio_sd_s0";
734 regulator-always-on;
735 regulator-boot-on;
736 regulator-min-microvolt = <1800000>;
737 regulator-max-microvolt = <3300000>;
738 regulator-ramp-delay = <12500>;
740 regulator-state-mem {
741 regulator-off-in-suspend;
745 vcc_1v8_s3_pldo6: pldo-reg6 {
746 regulator-name = "vcc_1v8_s3_pldo6";
747 regulator-always-on;
748 regulator-boot-on;
749 regulator-min-microvolt = <1800000>;
750 regulator-max-microvolt = <1800000>;
752 regulator-state-mem {
753 regulator-on-in-suspend;
754 regulator-suspend-microvolt = <1800000>;
758 vdd_0v75_s3: nldo-reg1 {
759 regulator-name = "vdd_0v75_s3";
760 regulator-always-on;
761 regulator-boot-on;
762 regulator-min-microvolt = <750000>;
763 regulator-max-microvolt = <750000>;
765 regulator-state-mem {
766 regulator-on-in-suspend;
767 regulator-suspend-microvolt = <750000>;
771 vdda_ddr_pll_s0: nldo-reg2 {
772 regulator-name = "vdda_ddr_pll_s0";
773 regulator-always-on;
774 regulator-boot-on;
775 regulator-min-microvolt = <900000>;
776 regulator-max-microvolt = <900000>;
778 regulator-state-mem {
779 regulator-off-in-suspend;
780 regulator-suspend-microvolt = <850000>;
784 vdda_0v75_s0: nldo-reg3 {
785 regulator-name = "vdda_0v75_s0";
786 regulator-always-on;
787 regulator-boot-on;
788 regulator-min-microvolt = <837500>;
789 regulator-max-microvolt = <837500>;
791 regulator-state-mem {
792 regulator-off-in-suspend;
796 vdda_0v85_s0: nldo-reg4 {
797 regulator-name = "vdda_0v85_s0";
798 regulator-always-on;
799 regulator-boot-on;
800 regulator-min-microvolt = <850000>;
801 regulator-max-microvolt = <850000>;
803 regulator-state-mem {
804 regulator-off-in-suspend;
809 nldo-reg5 {
832 phy-supply = <&vcc5v0_usb2_host>;
841 phy-supply = <&vcc5v0_usb3_host>;
846 pinctrl-names = "default";
847 pinctrl-0 = <&uart2m0_xfer>;
860 usb-role-switch;
865 remote-endpoint = <&usbc0_role_switch>;
883 mode-switch;
884 orientation-switch;
885 sbu1-dc-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
886 sbu2-dc-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_HIGH>;
890 #address-cells = <1>;
891 #size-cells = <0>;
895 remote-endpoint = <&usbc0_orientation_switch>;
900 remote-endpoint = <&usbc0_dp_altmode_mux>;