Lines Matching +full:sbu1 +full:- +full:dc +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/soc/rockchip,vop2.h>
9 #include <dt-bindings/usb/pd.h>
13 model = "Hardkernel ODROID-M2";
14 compatible = "hardkernel,odroid-m2", "rockchip,rk3588s";
23 stdout-path = "serial2:1500000n8";
26 hdmi-con {
27 compatible = "hdmi-connector";
32 remote-endpoint = <&hdmi0_out_con>;
38 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&pwr_led>, <&sys_led>;
42 led_pwr: led-0 {
44 default-state = "on";
46 gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
47 linux,default-trigger = "default-on";
50 led_sys: led-1 {
52 default-state = "on";
54 gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
55 linux,default-trigger = "heartbeat";
59 fan: pwm-fan {
60 compatible = "pwm-fan";
61 #cooling-cells = <2>;
62 cooling-levels = <0 192 224 255>;
63 fan-supply = <&vcc5v0_sys>;
67 vcc_1v1_nldo_s3: regulator-1v1-vcc-nldo-s3 {
68 compatible = "regulator-fixed";
69 regulator-name = "vcc_1v1_nldo_s3";
70 regulator-always-on;
71 regulator-boot-on;
72 regulator-min-microvolt = <1100000>;
73 regulator-max-microvolt = <1100000>;
74 vin-supply = <&vcc4v0_sys>;
77 vcc3v3_lcd: regulator-3v3-vcc-lcd {
78 compatible = "regulator-fixed";
79 enable-active-high;
80 gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&lcd_pwren>;
83 regulator-name = "vcc3v3_lcd";
84 regulator-min-microvolt = <3300000>;
85 regulator-max-microvolt = <3300000>;
86 vin-supply = <&vcc_3v3_s3>;
89 vcc3v3_pcie: regulator-3v3-vcc-pcie {
90 compatible = "regulator-fixed";
91 enable-active-high;
92 gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pcie_pwren>;
95 regulator-name = "vcc3v3_pcie";
96 regulator-min-microvolt = <3300000>;
97 regulator-max-microvolt = <3300000>;
98 vin-supply = <&vcc_3v3_s3>;
101 vcc_3v3_s0: regulator-3v3-vcc-s0 {
102 compatible = "regulator-fixed";
103 regulator-name = "vcc_3v3_s0";
104 regulator-always-on;
105 regulator-boot-on;
106 regulator-min-microvolt = <3300000>;
107 regulator-max-microvolt = <3300000>;
108 vin-supply = <&vcc_3v3_s3>;
111 vcc4v0_sys: regulator-4v0-vcc-sys {
112 compatible = "regulator-fixed";
113 regulator-name = "vcc4v0_sys";
114 regulator-always-on;
115 regulator-boot-on;
116 regulator-min-microvolt = <4800000>;
117 regulator-max-microvolt = <4800000>;
118 vin-supply = <&vcc12v_dcin>;
121 vcc5v0_sys: regulator-5v0-vcc-sys {
122 compatible = "regulator-fixed";
123 enable-active-high;
124 gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&vcc5v0_pwren>;
127 regulator-name = "vcc5v0_sys";
128 regulator-always-on;
129 regulator-boot-on;
130 regulator-min-microvolt = <5000000>;
131 regulator-max-microvolt = <5000000>;
132 vin-supply = <&vcc12v_dcin>;
135 vcc5v0_usb2_host: regulator-5v0-vcc-usb2-host {
136 compatible = "regulator-fixed";
137 enable-active-high;
138 gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&usb2_host_pwren>;
141 regulator-name = "vcc5v0_usb2_host";
142 regulator-min-microvolt = <5000000>;
143 regulator-max-microvolt = <5000000>;
144 vin-supply = <&vcc5v0_sys>;
147 vcc5v0_usb3_host: regulator-5v0-vcc-usb3-host {
148 compatible = "regulator-fixed";
149 enable-active-high;
150 gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&usb3_host_pwren>;
153 regulator-name = "vcc5v0_usb3_host";
154 regulator-min-microvolt = <5000000>;
155 regulator-max-microvolt = <5000000>;
156 vin-supply = <&vcc5v0_sys>;
159 vcc5v0_usb3_typec: regulator-5v0-vcc-usb3-typec {
160 compatible = "regulator-fixed";
161 enable-active-high;
162 gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&usb3_typec_pwren>;
165 regulator-name = "vcc5v0_usb3_typec";
166 regulator-min-microvolt = <5000000>;
167 regulator-max-microvolt = <5000000>;
168 vin-supply = <&vcc5v0_sys>;
171 vcca: regulator-5v0-vcca {
172 compatible = "regulator-fixed";
173 regulator-name = "vcca";
174 regulator-always-on;
175 regulator-boot-on;
176 regulator-min-microvolt = <5000000>;
177 regulator-max-microvolt = <5000000>;
178 vin-supply = <&vcc12v_dcin>;
181 vcc12v_dcin: regulator-12v0-vcc-dcin {
182 compatible = "regulator-fixed";
183 regulator-name = "vcc12v_dcin";
184 regulator-always-on;
185 regulator-boot-on;
186 regulator-min-microvolt = <12000000>;
187 regulator-max-microvolt = <12000000>;
200 cpu-supply = <&vdd_cpu_big0_s0>;
204 cpu-supply = <&vdd_cpu_big0_s0>;
208 cpu-supply = <&vdd_cpu_big1_s0>;
212 cpu-supply = <&vdd_cpu_big1_s0>;
216 cpu-supply = <&vdd_cpu_lit_s0>;
220 cpu-supply = <&vdd_cpu_lit_s0>;
224 cpu-supply = <&vdd_cpu_lit_s0>;
228 cpu-supply = <&vdd_cpu_lit_s0>;
233 phy-handle = <&rgmii_phy1>;
234 phy-mode = "rgmii-id";
235 phy-supply = <&vcc_3v3_s0>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&gmac1_miim
247 mali-supply = <&vdd_gpu_s0>;
257 remote-endpoint = <&vp0_out_hdmi0>;
263 remote-endpoint = <&hdmi_con_in>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&i2c0m2_xfer>;
279 fcs,suspend-voltage-selector = <1>;
280 regulator-name = "vdd_cpu_big0_s0";
281 regulator-always-on;
282 regulator-boot-on;
283 regulator-min-microvolt = <550000>;
284 regulator-max-microvolt = <1050000>;
285 regulator-ramp-delay = <2300>;
286 vin-supply = <&vcc4v0_sys>;
288 regulator-state-mem {
289 regulator-off-in-suspend;
296 fcs,suspend-voltage-selector = <1>;
297 regulator-name = "vdd_cpu_big1_s0";
298 regulator-always-on;
299 regulator-boot-on;
300 regulator-min-microvolt = <550000>;
301 regulator-max-microvolt = <1050000>;
302 regulator-ramp-delay = <2300>;
303 vin-supply = <&vcc4v0_sys>;
305 regulator-state-mem {
306 regulator-off-in-suspend;
317 fcs,suspend-voltage-selector = <1>;
318 regulator-name = "vdd_npu_s0";
319 regulator-always-on;
320 regulator-boot-on;
321 regulator-min-microvolt = <550000>;
322 regulator-max-microvolt = <950000>;
323 regulator-ramp-delay = <2300>;
324 vin-supply = <&vcc4v0_sys>;
326 regulator-state-mem {
327 regulator-off-in-suspend;
333 clock-frequency = <400000>;
334 pinctrl-names = "default";
335 pinctrl-0 = <&i2c8m2_xfer>;
338 usbc0: usb-typec@22 {
341 interrupt-parent = <&gpio4>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&usbc0_int>;
345 vbus-supply = <&vcc5v0_usb3_typec>;
348 compatible = "usb-c-connector";
349 data-role = "dual";
350 label = "USB-C";
351 op-sink-microwatt = <1000000>;
352 power-role = "dual";
353 sink-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>;
354 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
355 try-power-role = "source";
358 #address-cells = <1>;
359 #size-cells = <0>;
365 remote-endpoint = <&usb_host0_xhci_role_switch>;
373 remote-endpoint = <&usbdp_phy0_orientation_switch>;
381 remote-endpoint = <&usbdp_phy0_dp_altmode_mux>;
391 interrupt-parent = <&gpio0>;
393 pinctrl-names = "default";
394 pinctrl-0 = <&pcf8563_int>;
395 wakeup-source;
400 rgmii_phy1: ethernet-phy@1 {
401 compatible = "ethernet-phy-id001c.c916";
403 reset-assert-us = <20000>;
404 reset-deassert-us = <100000>;
405 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
410 polling-delay = <1000>;
413 package_fan0: package-fan0 {
420 cooling-maps {
422 cooling-device = <&fan 1 THERMAL_NO_LIMIT>;
429 pinctrl-names = "default";
430 pinctrl-0 = <&pcie20x1_pins>;
431 reset-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>;
432 vpcie3v3-supply = <&vcc3v3_pcie>;
438 lcd_pwren: lcd-pwren {
444 pwr_led: pwr-led {
448 sys_led: sys-led {
454 pcie20x1_pins: pcie20x1-pins {
461 pcie_pwren: pcie-pwren {
467 vcc5v0_pwren: vcc5v0-pwren {
473 pcf8563_int: pcf8563-int {
479 usb2_host_pwren: usb2-host-pwren {
483 usb3_host_pwren: usb3-host-pwren {
487 usb3_typec_pwren: usb3-typec-pwren {
491 usbc0_int: usbc0-int {
498 pinctrl-names = "default";
499 pinctrl-0 = <&pwm0m2_pins>;
504 vref-supply = <&vcca_1v8_s0>;
509 bus-width = <8>;
510 mmc-hs400-1_8v;
511 mmc-hs400-enhanced-strobe;
512 no-sd;
513 no-sdio;
514 non-removable;
515 vmmc-supply = <&vcc_3v3_s0>;
516 vqmmc-supply = <&vcc_1v8_s0>;
521 bus-width = <4>;
522 cap-sd-highspeed;
523 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
524 disable-wp;
525 max-frequency = <150000000>;
526 no-mmc;
527 no-sdio;
528 sd-uhs-sdr104;
529 vmmc-supply = <&vcc_3v3_s3>;
530 vqmmc-supply = <&vccio_sd_s0>;
535 assigned-clocks = <&cru CLK_SPI2>;
536 assigned-clock-rates = <200000000>;
537 num-cs = <1>;
538 pinctrl-names = "default";
539 pinctrl-0 = <&spi2m2_cs0>, <&spi2m2_pins>;
545 #gpio-cells = <2>;
546 gpio-controller;
547 interrupt-parent = <&gpio0>;
549 pinctrl-names = "default";
550 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
552 spi-max-frequency = <1000000>;
553 system-power-controller;
555 vcc1-supply = <&vcc4v0_sys>;
556 vcc2-supply = <&vcc4v0_sys>;
557 vcc3-supply = <&vcc4v0_sys>;
558 vcc4-supply = <&vcc4v0_sys>;
559 vcc5-supply = <&vcc4v0_sys>;
560 vcc6-supply = <&vcc4v0_sys>;
561 vcc7-supply = <&vcc4v0_sys>;
562 vcc8-supply = <&vcc4v0_sys>;
563 vcc9-supply = <&vcc4v0_sys>;
564 vcc10-supply = <&vcc4v0_sys>;
565 vcc11-supply = <&vcc_2v0_pldo_s3>;
566 vcc12-supply = <&vcc4v0_sys>;
567 vcc13-supply = <&vcc_1v1_nldo_s3>;
568 vcc14-supply = <&vcc_1v1_nldo_s3>;
569 vcca-supply = <&vcca>;
571 rk806_dvs1_null: dvs1-null-pins {
576 rk806_dvs2_null: dvs2-null-pins {
581 rk806_dvs3_null: dvs3-null-pins {
587 vdd_gpu_s0: dcdc-reg1 {
588 regulator-name = "vdd_gpu_s0";
589 regulator-boot-on;
590 regulator-min-microvolt = <550000>;
591 regulator-max-microvolt = <950000>;
592 regulator-ramp-delay = <12500>;
593 regulator-enable-ramp-delay = <400>;
595 regulator-state-mem {
596 regulator-off-in-suspend;
600 vdd_cpu_lit_s0: dcdc-reg2 {
601 regulator-name = "vdd_cpu_lit_s0";
602 regulator-always-on;
603 regulator-boot-on;
604 regulator-min-microvolt = <550000>;
605 regulator-max-microvolt = <950000>;
606 regulator-ramp-delay = <12500>;
608 regulator-state-mem {
609 regulator-off-in-suspend;
613 vdd_logic_s0: dcdc-reg3 {
614 regulator-name = "vdd_logic_s0";
615 regulator-always-on;
616 regulator-boot-on;
617 regulator-min-microvolt = <675000>;
618 regulator-max-microvolt = <750000>;
619 regulator-ramp-delay = <12500>;
621 regulator-state-mem {
622 regulator-off-in-suspend;
623 regulator-suspend-microvolt = <750000>;
627 vdd_vdenc_s0: dcdc-reg4 {
628 regulator-name = "vdd_vdenc_s0";
629 regulator-always-on;
630 regulator-boot-on;
631 regulator-min-microvolt = <550000>;
632 regulator-max-microvolt = <950000>;
633 regulator-ramp-delay = <12500>;
635 regulator-state-mem {
636 regulator-off-in-suspend;
640 vdd_ddr_s0: dcdc-reg5 {
641 regulator-name = "vdd_ddr_s0";
642 regulator-always-on;
643 regulator-boot-on;
644 regulator-min-microvolt = <675000>;
645 regulator-max-microvolt = <900000>;
646 regulator-ramp-delay = <12500>;
648 regulator-state-mem {
649 regulator-off-in-suspend;
650 regulator-suspend-microvolt = <850000>;
654 vdd2_ddr_s3: dcdc-reg6 {
655 regulator-name = "vdd2_ddr_s3";
656 regulator-always-on;
657 regulator-boot-on;
659 regulator-state-mem {
660 regulator-on-in-suspend;
664 vcc_2v0_pldo_s3: dcdc-reg7 {
665 regulator-name = "vdd_2v0_pldo_s3";
666 regulator-always-on;
667 regulator-boot-on;
668 regulator-min-microvolt = <2000000>;
669 regulator-max-microvolt = <2000000>;
670 regulator-ramp-delay = <12500>;
672 regulator-state-mem {
673 regulator-on-in-suspend;
674 regulator-suspend-microvolt = <2000000>;
678 vcc_3v3_s3: dcdc-reg8 {
679 regulator-name = "vcc_3v3_s3";
680 regulator-always-on;
681 regulator-boot-on;
682 regulator-min-microvolt = <3300000>;
683 regulator-max-microvolt = <3300000>;
685 regulator-state-mem {
686 regulator-on-in-suspend;
687 regulator-suspend-microvolt = <3300000>;
691 vddq_ddr_s0: dcdc-reg9 {
692 regulator-name = "vddq_ddr_s0";
693 regulator-always-on;
694 regulator-boot-on;
696 regulator-state-mem {
697 regulator-off-in-suspend;
701 vcc_1v8_s3: dcdc-reg10 {
702 regulator-name = "vcc_1v8_s3";
703 regulator-always-on;
704 regulator-boot-on;
705 regulator-min-microvolt = <1800000>;
706 regulator-max-microvolt = <1800000>;
708 regulator-state-mem {
709 regulator-on-in-suspend;
710 regulator-suspend-microvolt = <1800000>;
714 vcc_1v8_s0: pldo-reg1 {
715 regulator-name = "vcc_1v8_s0";
716 regulator-always-on;
717 regulator-boot-on;
718 regulator-min-microvolt = <1800000>;
719 regulator-max-microvolt = <1800000>;
721 regulator-state-mem {
722 regulator-off-in-suspend;
726 vcca_1v8_s0: pldo-reg2 {
727 regulator-name = "vcca_1v8_s0";
728 regulator-always-on;
729 regulator-boot-on;
730 regulator-min-microvolt = <1800000>;
731 regulator-max-microvolt = <1800000>;
733 regulator-state-mem {
734 regulator-off-in-suspend;
735 regulator-suspend-microvolt = <1800000>;
739 vdda_1v2_s0: pldo-reg3 {
740 regulator-name = "vdda_1v2_s0";
741 regulator-always-on;
742 regulator-boot-on;
743 regulator-min-microvolt = <1200000>;
744 regulator-max-microvolt = <1200000>;
746 regulator-state-mem {
747 regulator-off-in-suspend;
751 vcca_3v3_s0: pldo-reg4 {
752 regulator-name = "vcca_3v3_s0";
753 regulator-always-on;
754 regulator-boot-on;
755 regulator-min-microvolt = <3300000>;
756 regulator-max-microvolt = <3300000>;
757 regulator-ramp-delay = <12500>;
759 regulator-state-mem {
760 regulator-off-in-suspend;
764 vccio_sd_s0: pldo-reg5 {
765 regulator-name = "vccio_sd_s0";
766 regulator-always-on;
767 regulator-boot-on;
768 regulator-min-microvolt = <1800000>;
769 regulator-max-microvolt = <3300000>;
770 regulator-ramp-delay = <12500>;
772 regulator-state-mem {
773 regulator-off-in-suspend;
777 vcc_1v8_s3_pldo6: pldo-reg6 {
778 regulator-name = "vcc_1v8_s3_pldo6";
779 regulator-always-on;
780 regulator-boot-on;
781 regulator-min-microvolt = <1800000>;
782 regulator-max-microvolt = <1800000>;
784 regulator-state-mem {
785 regulator-on-in-suspend;
786 regulator-suspend-microvolt = <1800000>;
790 vdd_0v75_s3: nldo-reg1 {
791 regulator-name = "vdd_0v75_s3";
792 regulator-always-on;
793 regulator-boot-on;
794 regulator-min-microvolt = <750000>;
795 regulator-max-microvolt = <750000>;
797 regulator-state-mem {
798 regulator-on-in-suspend;
799 regulator-suspend-microvolt = <750000>;
803 vdda_ddr_pll_s0: nldo-reg2 {
804 regulator-name = "vdda_ddr_pll_s0";
805 regulator-always-on;
806 regulator-boot-on;
807 regulator-min-microvolt = <900000>;
808 regulator-max-microvolt = <900000>;
810 regulator-state-mem {
811 regulator-off-in-suspend;
812 regulator-suspend-microvolt = <850000>;
816 vdda_0v75_s0: nldo-reg3 {
817 regulator-name = "vdda_0v75_s0";
818 regulator-always-on;
819 regulator-boot-on;
820 regulator-min-microvolt = <837500>;
821 regulator-max-microvolt = <837500>;
823 regulator-state-mem {
824 regulator-off-in-suspend;
828 vdda_0v85_s0: nldo-reg4 {
829 regulator-name = "vdda_0v85_s0";
830 regulator-always-on;
831 regulator-boot-on;
832 regulator-min-microvolt = <850000>;
833 regulator-max-microvolt = <850000>;
835 regulator-state-mem {
836 regulator-off-in-suspend;
841 nldo-reg5 {
864 phy-supply = <&vcc5v0_usb2_host>;
873 phy-supply = <&vcc5v0_usb3_host>;
878 pinctrl-names = "default";
879 pinctrl-0 = <&uart2m0_xfer>;
892 usb-role-switch;
897 remote-endpoint = <&usbc0_role_switch>;
915 mode-switch;
916 orientation-switch;
917 sbu1-dc-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
918 sbu2-dc-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_HIGH>;
922 #address-cells = <1>;
923 #size-cells = <0>;
927 remote-endpoint = <&usbc0_orientation_switch>;
932 remote-endpoint = <&usbc0_dp_altmode_mux>;
948 remote-endpoint = <&hdmi0_in_vp0>;