Lines Matching +full:shutdown +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/usb/pd.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/i2c/i2c.h>
14 compatible = "facebook,bletchley-bmc", "aspeed,ast2600";
29 iio-hwmon {
30 compatible = "iio-hwmon";
31 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
37 spi1_gpio: spi1-gpio {
38 compatible = "spi-gpio";
39 #address-cells = <1>;
40 #size-cells = <0>;
42 gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
43 gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
44 gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
45 num-chipselects = <1>;
46 cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
49 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
50 spi-max-frequency = <33000000>;
55 switchphy: ethernet-phy@0 {
60 compatible = "gpio-leds";
62 default-state = "off";
63 gpios = <&front_leds 0 GPIO_ACTIVE_LOW>;
68 compatible = "gpio-leds";
70 retain-state-shutdown;
71 default-state = "on";
72 gpios = <&fan_leds 8 GPIO_ACTIVE_HIGH>;
75 retain-state-shutdown;
76 default-state = "on";
77 gpios = <&fan_leds 9 GPIO_ACTIVE_HIGH>;
80 retain-state-shutdown;
81 default-state = "on";
82 gpios = <&fan_leds 10 GPIO_ACTIVE_HIGH>;
85 retain-state-shutdown;
86 default-state = "on";
87 gpios = <&fan_leds 11 GPIO_ACTIVE_HIGH>;
90 retain-state-shutdown;
91 default-state = "off";
92 gpios = <&fan_leds 12 GPIO_ACTIVE_HIGH>;
95 retain-state-shutdown;
96 default-state = "off";
97 gpios = <&fan_leds 13 GPIO_ACTIVE_HIGH>;
100 retain-state-shutdown;
101 default-state = "off";
102 gpios = <&fan_leds 14 GPIO_ACTIVE_HIGH>;
105 retain-state-shutdown;
106 default-state = "off";
107 gpios = <&fan_leds 15 GPIO_ACTIVE_HIGH>;
112 compatible = "gpio-leds";
114 retain-state-shutdown;
115 default-state = "keep";
116 gpios = <&sled1_leds 0 GPIO_ACTIVE_LOW>;
119 retain-state-shutdown;
120 default-state = "keep";
121 gpios = <&sled1_leds 1 GPIO_ACTIVE_LOW>;
126 compatible = "gpio-leds";
128 retain-state-shutdown;
129 default-state = "keep";
130 gpios = <&sled2_leds 0 GPIO_ACTIVE_LOW>;
133 retain-state-shutdown;
134 default-state = "keep";
135 gpios = <&sled2_leds 1 GPIO_ACTIVE_LOW>;
140 compatible = "gpio-leds";
142 retain-state-shutdown;
143 default-state = "keep";
144 gpios = <&sled3_leds 0 GPIO_ACTIVE_LOW>;
147 retain-state-shutdown;
148 default-state = "keep";
149 gpios = <&sled3_leds 1 GPIO_ACTIVE_LOW>;
154 compatible = "gpio-leds";
156 retain-state-shutdown;
157 default-state = "keep";
158 gpios = <&sled4_leds 0 GPIO_ACTIVE_LOW>;
161 retain-state-shutdown;
162 default-state = "keep";
163 gpios = <&sled4_leds 1 GPIO_ACTIVE_LOW>;
168 compatible = "gpio-leds";
170 retain-state-shutdown;
171 default-state = "keep";
172 gpios = <&sled5_leds 0 GPIO_ACTIVE_LOW>;
175 retain-state-shutdown;
176 default-state = "keep";
177 gpios = <&sled5_leds 1 GPIO_ACTIVE_LOW>;
182 compatible = "gpio-leds";
184 retain-state-shutdown;
185 default-state = "keep";
186 gpios = <&sled6_leds 0 GPIO_ACTIVE_LOW>;
189 retain-state-shutdown;
190 default-state = "keep";
191 gpios = <&sled6_leds 1 GPIO_ACTIVE_LOW>;
195 gpio-keys {
196 compatible = "gpio-keys";
198 presence-sled1 {
199 label = "presence-sled1";
200 gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>;
203 presence-sled2 {
204 label = "presence-sled2";
205 gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
208 presence-sled3 {
209 label = "presence-sled3";
210 gpios = <&gpio0 ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
213 presence-sled4 {
214 label = "presence-sled4";
215 gpios = <&gpio0 ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>;
218 presence-sled5 {
219 label = "presence-sled5";
220 gpios = <&gpio0 ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
223 presence-sled6 {
224 label = "presence-sled6";
225 gpios = <&gpio0 ASPEED_GPIO(H, 7) GPIO_ACTIVE_LOW>;
231 compatible = "regulator-fixed";
232 regulator-name = "vbus_sled1";
233 regulator-min-microvolt = <5000000>;
234 regulator-max-microvolt = <5000000>;
236 enable-active-high;
240 compatible = "regulator-fixed";
241 regulator-name = "vbus_sled2";
242 regulator-min-microvolt = <5000000>;
243 regulator-max-microvolt = <5000000>;
245 enable-active-high;
249 compatible = "regulator-fixed";
250 regulator-name = "vbus_sled3";
251 regulator-min-microvolt = <5000000>;
252 regulator-max-microvolt = <5000000>;
254 enable-active-high;
258 compatible = "regulator-fixed";
259 regulator-name = "vbus_sled4";
260 regulator-min-microvolt = <5000000>;
261 regulator-max-microvolt = <5000000>;
263 enable-active-high;
267 compatible = "regulator-fixed";
268 regulator-name = "vbus_sled5";
269 regulator-min-microvolt = <5000000>;
270 regulator-max-microvolt = <5000000>;
272 enable-active-high;
276 compatible = "regulator-fixed";
277 regulator-name = "vbus_sled6";
278 regulator-min-microvolt = <5000000>;
279 regulator-max-microvolt = <5000000>;
281 enable-active-high;
287 phy-mode = "rgmii";
288 phy-handle = <&switchphy>;
289 pinctrl-names = "default";
290 pinctrl-0 = <&pinctrl_rgmii3_default>;
292 fixed-link {
294 full-duplex;
302 m25p,fast-read;
304 spi-max-frequency = <50000000>;
305 #include "openbmc-flash-layout-128.dtsi"
309 m25p,fast-read;
310 label = "alt-bmc";
311 spi-max-frequency = <50000000>;
317 pinctrl-names = "default";
318 pinctrl-0 = <&pinctrl_spi2_default>;
322 m25p,fast-read;
324 spi-max-frequency = <50000000>;
333 shunt-resistor = <2000>;
349 gpio-controller;
350 #gpio-cells = <2>;
352 gpio-line-names =
360 #address-cells = <1>;
361 #size-cells = <0>;
362 gpio-controller;
363 #gpio-cells = <2>;
365 interrupt-parent = <&gpio0>;
368 gpio-line-names =
372 "SLED1_MD_MODE1","SLED1_MD_MODE2","SLED1_MD_MODE3","power-host1";
378 #address-cells = <1>;
379 #size-cells = <0>;
380 gpio-controller;
381 #gpio-cells = <2>;
383 gpio-line-names =
384 "led-sled1-amber","led-sled1-blue","SLED1_RST_IOEXP","SLED1_MD_REF_PWM",
390 sled1_fusb302: typec-portc@22 {
394 interrupt-parent = <&gpio0>;
396 vbus-supply = <&vbus_sled1>;
399 compatible = "usb-c-connector";
400 label = "USB-C";
401 power-role = "source";
402 data-role = "host";
403 pd-disable;
404 typec-power-opmode = "default";
419 shunt-resistor = <2000>;
435 gpio-controller;
436 #gpio-cells = <2>;
438 gpio-line-names =
446 #address-cells = <1>;
447 #size-cells = <0>;
448 gpio-controller;
449 #gpio-cells = <2>;
451 interrupt-parent = <&gpio0>;
454 gpio-line-names =
458 "SLED2_MD_MODE1","SLED2_MD_MODE2","SLED2_MD_MODE3","power-host2";
464 #address-cells = <1>;
465 #size-cells = <0>;
466 gpio-controller;
467 #gpio-cells = <2>;
469 gpio-line-names =
470 "led-sled2-amber","led-sled2-blue","SLED2_RST_IOEXP","SLED2_MD_REF_PWM",
476 sled2_fusb302: typec-portc@22 {
480 interrupt-parent = <&gpio0>;
482 vbus-supply = <&vbus_sled2>;
485 compatible = "usb-c-connector";
486 label = "USB-C";
487 power-role = "source";
488 data-role = "host";
489 pd-disable;
490 typec-power-opmode = "default";
505 shunt-resistor = <2000>;
521 gpio-controller;
522 #gpio-cells = <2>;
524 gpio-line-names =
532 #address-cells = <1>;
533 #size-cells = <0>;
534 gpio-controller;
535 #gpio-cells = <2>;
537 interrupt-parent = <&gpio0>;
540 gpio-line-names =
544 "SLED3_MD_MODE1","SLED3_MD_MODE2","SLED3_MD_MODE3","power-host3";
550 #address-cells = <1>;
551 #size-cells = <0>;
552 gpio-controller;
553 #gpio-cells = <2>;
555 gpio-line-names =
556 "led-sled3-amber","led-sled3-blue","SLED3_RST_IOEXP","SLED3_MD_REF_PWM",
562 sled3_fusb302: typec-portc@22 {
566 interrupt-parent = <&gpio0>;
568 vbus-supply = <&vbus_sled3>;
571 compatible = "usb-c-connector";
572 label = "USB-C";
573 power-role = "source";
574 data-role = "host";
575 pd-disable;
576 typec-power-opmode = "default";
591 shunt-resistor = <2000>;
607 gpio-controller;
608 #gpio-cells = <2>;
610 gpio-line-names =
618 #address-cells = <1>;
619 #size-cells = <0>;
620 gpio-controller;
621 #gpio-cells = <2>;
623 interrupt-parent = <&gpio0>;
626 gpio-line-names =
630 "SLED4_MD_MODE1","SLED4_MD_MODE2","SLED4_MD_MODE3","power-host4";
636 #address-cells = <1>;
637 #size-cells = <0>;
638 gpio-controller;
639 #gpio-cells = <2>;
641 gpio-line-names =
642 "led-sled4-amber","led-sled4-blue","SLED4_RST_IOEXP","SLED4_MD_REF_PWM",
648 sled4_fusb302: typec-portc@22 {
652 interrupt-parent = <&gpio0>;
654 vbus-supply = <&vbus_sled4>;
657 compatible = "usb-c-connector";
658 label = "USB-C";
659 power-role = "source";
660 data-role = "host";
661 pd-disable;
662 typec-power-opmode = "default";
677 shunt-resistor = <2000>;
693 gpio-controller;
694 #gpio-cells = <2>;
696 gpio-line-names =
704 #address-cells = <1>;
705 #size-cells = <0>;
706 gpio-controller;
707 #gpio-cells = <2>;
709 interrupt-parent = <&gpio0>;
712 gpio-line-names =
716 "SLED5_MD_MODE1","SLED5_MD_MODE2","SLED5_MD_MODE3","power-host5";
722 #address-cells = <1>;
723 #size-cells = <0>;
724 gpio-controller;
725 #gpio-cells = <2>;
727 gpio-line-names =
728 "led-sled5-amber","led-sled5-blue","SLED5_RST_IOEXP","SLED5_MD_REF_PWM",
734 sled5_fusb302: typec-portc@22 {
738 interrupt-parent = <&gpio0>;
740 vbus-supply = <&vbus_sled5>;
743 compatible = "usb-c-connector";
744 label = "USB-C";
745 power-role = "source";
746 data-role = "host";
747 pd-disable;
748 typec-power-opmode = "default";
763 shunt-resistor = <2000>;
779 gpio-controller;
780 #gpio-cells = <2>;
782 gpio-line-names =
790 #address-cells = <1>;
791 #size-cells = <0>;
792 gpio-controller;
793 #gpio-cells = <2>;
795 interrupt-parent = <&gpio0>;
798 gpio-line-names =
802 "SLED6_MD_MODE1","SLED6_MD_MODE2","SLED6_MD_MODE3","power-host6";
808 #address-cells = <1>;
809 #size-cells = <0>;
810 gpio-controller;
811 #gpio-cells = <2>;
813 gpio-line-names =
814 "led-sled6-amber","led-sled6-blue","SLED6_RST_IOEXP","SLED6_MD_REF_PWM",
820 sled6_fusb302: typec-portc@22 {
824 interrupt-parent = <&gpio0>;
826 vbus-supply = <&vbus_sled6>;
829 compatible = "usb-c-connector";
830 label = "USB-C";
831 power-role = "source";
832 data-role = "host";
833 pd-disable;
834 typec-power-opmode = "default";
853 /* in-chip rtc disabled, use external rtc (battery-backed) */
888 #address-cells = <1>;
889 #size-cells = <0>;
890 gpio-controller;
891 #gpio-cells = <2>;
893 gpio-line-names =
894 "led-fault-identify","power-p5v-stby-good",
895 "power-p1v0-dvdd-good","power-p1v0-avdd-good",
908 shunt-resistor-micro-ohms = <300>;
909 adi,volt-curr-sample-average = <128>;
910 adi,power-sample-average = <128>;
926 #address-cells = <1>;
927 #size-cells = <0>;
928 gpio-controller;
929 #gpio-cells = <2>;
931 gpio-line-names =
932 "presence-fan0","presence-fan1",
933 "presence-fan2","presence-fan3",
934 "power-fan0-good","power-fan1-good",
935 "power-fan2-good","power-fan3-good",
942 multi-master;
943 aspeed,hw-timeout-ms = <1000>;
948 compatible = "ipmb-dev";
950 i2c-protocol;
955 pinctrl-names = "default";
956 pinctrl-0 = <&pinctrl_gpiov2_unbiased_default>;
958 gpio-line-names =
959 /*A0-A7*/ "","","","","","","","",
960 /*B0-B7*/ "FUSB302_SLED1_INT_N","FUSB302_SLED2_INT_N",
964 /*C0-C7*/ "","","","","","","","",
965 /*D0-D7*/ "","","","","","","","",
966 /*E0-E7*/ "","","","","","","","",
967 /*F0-F7*/ "BMC_SLED1_STCK","BMC_SLED2_STCK",
971 /*G0-G7*/ "BSM_FRU_WP","SWITCH_FRU_MUX","","FM_SOL_UART_CH_SEL",
973 /*H0-H7*/ "presence-riser1","presence-riser2",
974 "presence-sled1","presence-sled2",
975 "presence-sled3","presence-sled4",
976 "presence-sled5","presence-sled6",
977 /*I0-I7*/ "REV_ID0","",
981 /*J0-J7*/ "","","","","","","","",
982 /*K0-K7*/ "","","","","","","","",
983 /*L0-L7*/ "","","","","","BMC_RTC_INT","","",
984 /*M0-M7*/ "ALERT_SLED1_N","ALERT_SLED2_N",
988 /*N0-N7*/ "LED_POSTCODE_0","LED_POSTCODE_1",
992 /*O0-O7*/ "","","","",
994 /*P0-P7*/ "","","","","","","","BMC_HEARTBEAT",
995 /*Q0-Q7*/ "","","","","","","","",
996 /*R0-R7*/ "","","","","","","","",
997 /*S0-S7*/ "","","","BAT_DETECT",
999 /*T0-T7*/ "","","","","","","","",
1000 /*U0-U7*/ "","","","","","","","",
1001 /*V0-V7*/ "PWRGD_CNS_PSU","RST_BMC_MVL_N",
1005 /*W0-W7*/ "RST_FRONT_IOEXP_N","","","","","","","",
1006 /*X0-X7*/ "","","","","","","","",
1007 /*Y0-Y7*/ "BMC_SELF_HW_RST","BSM_PRSNT_N",
1010 /*Z0-Z7*/ "","","","","","","","";
1017 pinctrl-names = "default";
1018 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
1028 pinctrl-names = "default";
1029 pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
1064 bias-disable;
1070 pinctrl-names = "default";
1071 pinctrl-0 = <&pinctrl_wdtrst1_default>;
1072 aspeed,reset-type = "soc";
1073 aspeed,external-signal;
1074 aspeed,ext-push-pull;
1075 aspeed,ext-active-high;
1076 aspeed,ext-pulse-duration = <256>;