Lines Matching +full:gpio +full:- +full:hog
1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
9 compatible = "ibm,mihawk-bmc", "aspeed,ast2500";
59 stdout-path = &uart5;
67 reserved-memory {
68 #address-cells = <1>;
69 #size-cells = <1>;
73 no-map;
80 compatible = "shared-dma-pool";
87 compatible = "shared-dma-pool";
92 gpio-keys {
93 compatible = "gpio-keys";
95 air-water {
96 label = "air-water";
97 gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>;
103 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
107 ps0-presence {
108 label = "ps0-presence";
109 gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>;
113 ps1-presence {
114 label = "ps1-presence";
115 gpios = <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
118 id-button {
119 label = "id-button";
120 gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
125 gpio-keys-polled {
126 compatible = "gpio-keys-polled";
127 poll-interval = <1000>;
129 fan0-presence {
130 label = "fan0-presence";
135 fan1-presence {
136 label = "fan1-presence";
141 fan2-presence {
142 label = "fan2-presence";
147 fan3-presence {
148 label = "fan3-presence";
153 fan4-presence {
154 label = "fan4-presence";
159 fan5-presence {
160 label = "fan5-presence";
167 compatible = "gpio-leds";
169 front-fault {
170 retain-state-shutdown;
171 default-state = "keep";
172 gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_LOW>;
175 power-button {
176 retain-state-shutdown;
177 default-state = "keep";
178 gpios = <&gpio ASPEED_GPIO(AA, 1) GPIO_ACTIVE_LOW>;
181 front-id {
182 retain-state-shutdown;
183 default-state = "keep";
184 gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_LOW>;
189 retain-state-shutdown;
190 default-state = "keep";
195 retain-state-shutdown;
196 default-state = "keep";
201 retain-state-shutdown;
202 default-state = "keep";
207 retain-state-shutdown;
208 default-state = "keep";
213 retain-state-shutdown;
214 default-state = "keep";
219 retain-state-shutdown;
220 default-state = "keep";
225 fsi: gpio-fsi {
226 compatible = "fsi-master-gpio", "fsi-master";
227 #address-cells = <2>;
228 #size-cells = <0>;
229 no-gpio-delays;
231 clock-gpios = <&gpio ASPEED_GPIO(E, 6) GPIO_ACTIVE_HIGH>;
232 data-gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_HIGH>;
233 mux-gpios = <&gpio ASPEED_GPIO(E, 5) GPIO_ACTIVE_HIGH>;
234 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
235 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
237 iio-hwmon-12v {
238 compatible = "iio-hwmon";
239 io-channels = <&adc 0>;
242 iio-hwmon-5v {
243 compatible = "iio-hwmon";
244 io-channels = <&adc 1>;
247 iio-hwmon-3v {
248 compatible = "iio-hwmon";
249 io-channels = <&adc 2>;
252 iio-hwmon-vdd0 {
253 compatible = "iio-hwmon";
254 io-channels = <&adc 3>;
257 iio-hwmon-vdd1 {
258 compatible = "iio-hwmon";
259 io-channels = <&adc 4>;
262 iio-hwmon-vcs0 {
263 compatible = "iio-hwmon";
264 io-channels = <&adc 5>;
267 iio-hwmon-vcs1 {
268 compatible = "iio-hwmon";
269 io-channels = <&adc 6>;
272 iio-hwmon-vdn0 {
273 compatible = "iio-hwmon";
274 io-channels = <&adc 7>;
277 iio-hwmon-vdn1 {
278 compatible = "iio-hwmon";
279 io-channels = <&adc 8>;
282 iio-hwmon-vio0 {
283 compatible = "iio-hwmon";
284 io-channels = <&adc 9>;
287 iio-hwmon-vio1 {
288 compatible = "iio-hwmon";
289 io-channels = <&adc 10>;
292 iio-hwmon-vddra {
293 compatible = "iio-hwmon";
294 io-channels = <&adc 11>;
297 iio-hwmon-battery {
298 compatible = "iio-hwmon";
299 io-channels = <&adc 12>;
302 iio-hwmon-vddrb {
303 compatible = "iio-hwmon";
304 io-channels = <&adc 13>;
307 iio-hwmon-vddrc {
308 compatible = "iio-hwmon";
309 io-channels = <&adc 14>;
312 iio-hwmon-vddrd {
313 compatible = "iio-hwmon";
314 io-channels = <&adc 15>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
327 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
332 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
337 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
342 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
347 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
352 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
357 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
362 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
367 aspeed,fan-tach-ch = /bits/ 8 <0x08>;
372 aspeed,fan-tach-ch = /bits/ 8 <0x09>;
377 aspeed,fan-tach-ch = /bits/ 8 <0x0a>;
382 aspeed,fan-tach-ch = /bits/ 8 <0x0b>;
386 &gpio {
387 gpio-line-names =
388 /*A0-A7*/ "","cfam-reset","","","","","","",
389 /*B0-B7*/ "","","","","","","","",
390 /*C0-C7*/ "","","","","","","","",
391 /*D0-D7*/ "fsi-enable","","","","","","","",
392 /*E0-E7*/ "","","","","","fsi-mux","fsi-clock","fsi-data",
393 /*F0-F7*/ "","id-button","","","","","air-water","",
394 /*G0-G7*/ "","","","","","","","",
395 /*H0-H7*/ "","","","","","","","",
396 /*I0-I7*/ "","","","","","","","",
397 /*J0-J7*/ "","","checkstop","","","","","",
398 /*K0-K7*/ "","","","","","","","",
399 /*L0-L7*/ "","","","","","","","",
400 /*M0-M7*/ "","","","","","","","",
401 /*N0-N7*/ "","","","","","","","",
402 /*O0-O7*/ "","","","","","","","",
403 /*P0-P7*/ "","","","","","","","",
404 /*Q0-Q7*/ "","","","","","","","",
405 /*R0-R7*/ "","","fsi-trans","","","","","",
406 /*S0-S7*/ "","","","","","","","",
407 /*T0-T7*/ "","","","","","","","",
408 /*U0-U7*/ "","","","","","","","",
409 /*V0-V7*/ "","","","","","","","",
410 /*W0-W7*/ "","","","","","","","",
411 /*X0-X7*/ "","","","","","","","",
412 /*Y0-Y7*/ "","","","","","","","",
413 /*Z0-Z7*/ "presence-ps1","","presence-ps0","","","","","",
414 /*AA0-AA7*/ "led-front-fault","power-button","led-front-id","","","","","",
415 /*AB0-AB7*/ "","","","","","","","",
416 /*AC0-AC7*/ "","","","","","","","";
424 m25p,fast-read;
425 spi-max-frequency = <50000000>;
427 #address-cells = < 1 >;
428 #size-cells = < 1 >;
429 compatible = "fixed-partitions";
430 u-boot@0 {
432 label = "u-boot";
434 u-boot-env@60000 {
436 label = "u-boot-env";
438 obmc-ubi@80000 {
440 label = "obmc-ubi";
446 label = "alt-bmc";
447 m25p,fast-read;
448 spi-max-frequency = <50000000>;
450 #address-cells = < 1 >;
451 #size-cells = < 1 >;
452 compatible = "fixed-partitions";
453 u-boot@0 {
455 label = "alt-u-boot";
457 u-boot-env@60000 {
459 label = "alt-u-boot-env";
461 obmc-ubi@80000 {
463 label = "alt-obmc-ubi";
471 pinctrl-names = "default";
472 pinctrl-0 = <&pinctrl_spi1_default>;
477 m25p,fast-read;
478 spi-max-frequency = <100000000>;
484 memory-region = <&flash_memory>;
489 /* Rear RS-232 connector */
492 pinctrl-names = "default";
493 pinctrl-0 = <&pinctrl_txd1_default
507 pinctrl-names = "default";
508 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
518 pinctrl-names = "default";
519 pinctrl-0 = <&pinctrl_rmii1_default>;
522 clock-names = "MACCLK", "RCLK";
523 use-ncsi;
529 pinctrl-names = "default";
530 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
555 /* PCA9516 (repeater) ->
564 power-supply@58 {
569 power-supply@5b {
577 #address-cells = <1>;
578 #size-cells = <0>;
579 gpio-controller;
580 #gpio-cells = <2>;
582 gpio@0 {
586 gpio@1 {
590 gpio@2 {
594 gpio@3 {
598 gpio@4 {
602 gpio@5 {
606 gpio@6 {
610 gpio@7 {
614 gpio@8 {
618 gpio@9 {
622 gpio@10 {
626 gpio@11 {
630 gpio@12 {
634 gpio@13 {
638 gpio@14 {
642 gpio@15 {
694 /* pca9548 -> NVMe1 to 8 */
698 #address-cells = <1>;
699 #size-cells = <0>;
703 #address-cells = <1>;
704 #size-cells = <0>;
709 #address-cells = <1>;
710 #size-cells = <0>;
715 #address-cells = <1>;
716 #size-cells = <0>;
721 #address-cells = <1>;
722 #size-cells = <0>;
727 #address-cells = <1>;
728 #size-cells = <0>;
733 #address-cells = <1>;
734 #size-cells = <0>;
739 #address-cells = <1>;
740 #size-cells = <0>;
745 #address-cells = <1>;
746 #size-cells = <0>;
756 /* pca9548 -> NVMe9 to 16 */
760 #address-cells = <1>;
761 #size-cells = <0>;
765 #address-cells = <1>;
766 #size-cells = <0>;
771 #address-cells = <1>;
772 #size-cells = <0>;
777 #address-cells = <1>;
778 #size-cells = <0>;
783 #address-cells = <1>;
784 #size-cells = <0>;
789 #address-cells = <1>;
790 #size-cells = <0>;
795 #address-cells = <1>;
796 #size-cells = <0>;
801 #address-cells = <1>;
802 #size-cells = <0>;
807 #address-cells = <1>;
808 #size-cells = <0>;
827 /* pca9545 Riser ->
836 /* pca9545 ->
844 #address-cells = <1>;
845 #size-cells = <0>;
848 i2c-mux-idle-disconnect;
849 interrupt-controller;
850 #interrupt-cells = <2>;
853 #address-cells = <1>;
854 #size-cells = <0>;
860 gpio-controller;
861 #gpio-cells = <2>;
863 smbus0-hog {
864 gpio-hog;
866 output-high;
867 line-name = "smbus0";
878 #address-cells = <1>;
879 #size-cells = <0>;
885 gpio-controller;
886 #gpio-cells = <2>;
888 smbus1-hog {
889 gpio-hog;
891 output-high;
892 line-name = "smbus1";
903 #address-cells = <1>;
904 #size-cells = <0>;
909 #address-cells = <1>;
910 #size-cells = <0>;
917 #address-cells = <1>;
918 #size-cells = <0>;
921 i2c-mux-idle-disconnect;
922 interrupt-controller;
923 #interrupt-cells = <2>;
926 #address-cells = <1>;
927 #size-cells = <0>;
933 gpio-controller;
934 #gpio-cells = <2>;
936 smbus2-hog {
937 gpio-hog;
939 output-high;
940 line-name = "smbus2";
951 #address-cells = <1>;
952 #size-cells = <0>;
958 gpio-controller;
959 #gpio-cells = <2>;
961 smbus3-hog {
962 gpio-hog;
964 output-high;
965 line-name = "smbus3";
976 #address-cells = <1>;
977 #size-cells = <0>;
982 #address-cells = <1>;
983 #size-cells = <0>;
992 /* pca9545 Riser ->
1001 /* pca9545 ->
1009 #address-cells = <1>;
1010 #size-cells = <0>;
1013 i2c-mux-idle-disconnect;
1014 interrupt-controller;
1015 #interrupt-cells = <2>;
1018 #address-cells = <1>;
1019 #size-cells = <0>;
1025 gpio-controller;
1026 #gpio-cells = <2>;
1028 smbus4-hog {
1029 gpio-hog;
1031 output-high;
1032 line-name = "smbus4";
1043 #address-cells = <1>;
1044 #size-cells = <0>;
1050 gpio-controller;
1051 #gpio-cells = <2>;
1053 smbus5-hog {
1054 gpio-hog;
1056 output-high;
1057 line-name = "smbus5";
1068 #address-cells = <1>;
1069 #size-cells = <0>;
1074 #address-cells = <1>;
1075 #size-cells = <0>;
1082 #address-cells = <1>;
1083 #size-cells = <0>;
1086 i2c-mux-idle-disconnect;
1087 interrupt-controller;
1088 #interrupt-cells = <2>;
1091 #address-cells = <1>;
1092 #size-cells = <0>;
1098 gpio-controller;
1099 #gpio-cells = <2>;
1101 smbus6-hog {
1102 gpio-hog;
1104 output-high;
1105 line-name = "smbus6";
1116 #address-cells = <1>;
1117 #size-cells = <0>;
1123 gpio-controller;
1124 #gpio-cells = <2>;
1126 smbus7-hog {
1127 gpio-hog;
1129 output-high;
1130 line-name = "smbus7";
1141 #address-cells = <1>;
1142 #size-cells = <0>;
1147 #address-cells = <1>;
1148 #size-cells = <0>;
1195 /* pca9545 ->
1204 #address-cells = <1>;
1205 #size-cells = <0>;
1208 interrupt-controller;
1209 #interrupt-cells = <2>;
1212 #address-cells = <1>;
1213 #size-cells = <0>;
1223 #address-cells = <1>;
1224 #size-cells = <0>;
1234 #address-cells = <1>;
1235 #size-cells = <0>;
1245 #address-cells = <1>;
1246 #size-cells = <0>;
1262 /* pca9548 ->
1269 #address-cells = <1>;
1270 #size-cells = <0>;
1273 #address-cells = <1>;
1274 #size-cells = <0>;
1279 #address-cells = <1>;
1280 #size-cells = <0>;
1285 #address-cells = <1>;
1286 #size-cells = <0>;
1291 #address-cells = <1>;
1292 #size-cells = <0>;
1297 #address-cells = <1>;
1298 #size-cells = <0>;
1303 #address-cells = <1>;
1304 #size-cells = <0>;
1309 #address-cells = <1>;
1310 #size-cells = <0>;
1315 #address-cells = <1>;
1316 #size-cells = <0>;
1328 memory-region = <&gfx_memory>;
1333 pinctrl-names = "default";
1334 pinctrl-0 = <&pinctrl_adc0_default
1353 aspeed,reset-type = "none";
1354 aspeed,external-signal;
1355 aspeed,ext-push-pull;
1356 aspeed,ext-active-high;
1358 pinctrl-names = "default";
1359 pinctrl-0 = <&pinctrl_wdtrst1_default>;
1363 aspeed,alt-boot;
1376 memory-region = <&video_engine_memory>;
1379 #include "ibm-power9-dual.dtsi"