Lines Matching +full:i2c +full:- +full:gpio
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>;
391 m25p,fast-read;
392 spi-max-frequency = <50000000>;
394 #address-cells = < 1 >;
395 #size-cells = < 1 >;
396 compatible = "fixed-partitions";
397 u-boot@0 {
399 label = "u-boot";
401 u-boot-env@60000 {
403 label = "u-boot-env";
405 obmc-ubi@80000 {
407 label = "obmc-ubi";
413 label = "alt-bmc";
414 m25p,fast-read;
415 spi-max-frequency = <50000000>;
417 #address-cells = < 1 >;
418 #size-cells = < 1 >;
419 compatible = "fixed-partitions";
420 u-boot@0 {
422 label = "alt-u-boot";
424 u-boot-env@60000 {
426 label = "alt-u-boot-env";
428 obmc-ubi@80000 {
430 label = "alt-obmc-ubi";
438 pinctrl-names = "default";
439 pinctrl-0 = <&pinctrl_spi1_default>;
444 m25p,fast-read;
445 spi-max-frequency = <100000000>;
451 memory-region = <&flash_memory>;
456 /* Rear RS-232 connector */
459 pinctrl-names = "default";
460 pinctrl-0 = <&pinctrl_txd1_default
474 pinctrl-names = "default";
475 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
485 pinctrl-names = "default";
486 pinctrl-0 = <&pinctrl_rmii1_default>;
489 clock-names = "MACCLK", "RCLK";
490 use-ncsi;
496 pinctrl-names = "default";
497 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
522 /* PCA9516 (repeater) ->
531 power-supply@58 {
536 power-supply@5b {
544 #address-cells = <1>;
545 #size-cells = <0>;
546 gpio-controller;
547 #gpio-cells = <2>;
549 gpio@0 {
553 gpio@1 {
557 gpio@2 {
561 gpio@3 {
565 gpio@4 {
569 gpio@5 {
573 gpio@6 {
577 gpio@7 {
581 gpio@8 {
585 gpio@9 {
589 gpio@10 {
593 gpio@11 {
597 gpio@12 {
601 gpio@13 {
605 gpio@14 {
609 gpio@15 {
661 /* pca9548 -> NVMe1 to 8 */
665 #address-cells = <1>;
666 #size-cells = <0>;
669 bus7_mux223: i2c@0 {
670 #address-cells = <1>;
671 #size-cells = <0>;
675 bus7_mux224: i2c@1 {
676 #address-cells = <1>;
677 #size-cells = <0>;
681 bus7_mux225: i2c@2 {
682 #address-cells = <1>;
683 #size-cells = <0>;
687 bus7_mux226: i2c@3 {
688 #address-cells = <1>;
689 #size-cells = <0>;
693 bus7_mux227: i2c@4 {
694 #address-cells = <1>;
695 #size-cells = <0>;
699 bus7_mux228: i2c@5 {
700 #address-cells = <1>;
701 #size-cells = <0>;
705 bus7_mux229: i2c@6 {
706 #address-cells = <1>;
707 #size-cells = <0>;
711 bus7_mux230: i2c@7 {
712 #address-cells = <1>;
713 #size-cells = <0>;
723 /* pca9548 -> NVMe9 to 16 */
727 #address-cells = <1>;
728 #size-cells = <0>;
731 bus6_mux215: i2c@0 {
732 #address-cells = <1>;
733 #size-cells = <0>;
737 bus6_mux216: i2c@1 {
738 #address-cells = <1>;
739 #size-cells = <0>;
743 bus6_mux217: i2c@2 {
744 #address-cells = <1>;
745 #size-cells = <0>;
749 bus6_mux218: i2c@3 {
750 #address-cells = <1>;
751 #size-cells = <0>;
755 bus6_mux219: i2c@4 {
756 #address-cells = <1>;
757 #size-cells = <0>;
761 bus6_mux220: i2c@5 {
762 #address-cells = <1>;
763 #size-cells = <0>;
767 bus6_mux221: i2c@6 {
768 #address-cells = <1>;
769 #size-cells = <0>;
773 bus6_mux222: i2c@7 {
774 #address-cells = <1>;
775 #size-cells = <0>;
794 /* pca9545 Riser ->
798 * I2C BMC RISER PCA9554
803 /* pca9545 ->
811 #address-cells = <1>;
812 #size-cells = <0>;
815 i2c-mux-idle-disconnect;
816 interrupt-controller;
817 #interrupt-cells = <2>;
819 bus9_mux231: i2c@0 {
820 #address-cells = <1>;
821 #size-cells = <0>;
827 gpio-controller;
828 #gpio-cells = <2>;
831 gpio-hog;
833 output-high;
834 line-name = "smbus0";
844 bus9_mux232: i2c@1 {
845 #address-cells = <1>;
846 #size-cells = <0>;
852 gpio-controller;
853 #gpio-cells = <2>;
856 gpio-hog;
858 output-high;
859 line-name = "smbus1";
869 bus9_mux233: i2c@2 {
870 #address-cells = <1>;
871 #size-cells = <0>;
875 bus9_mux234: i2c@3 {
876 #address-cells = <1>;
877 #size-cells = <0>;
884 #address-cells = <1>;
885 #size-cells = <0>;
888 i2c-mux-idle-disconnect;
889 interrupt-controller;
890 #interrupt-cells = <2>;
892 bus9_mux235: i2c@0 {
893 #address-cells = <1>;
894 #size-cells = <0>;
900 gpio-controller;
901 #gpio-cells = <2>;
904 gpio-hog;
906 output-high;
907 line-name = "smbus2";
917 bus9_mux236: i2c@1 {
918 #address-cells = <1>;
919 #size-cells = <0>;
925 gpio-controller;
926 #gpio-cells = <2>;
929 gpio-hog;
931 output-high;
932 line-name = "smbus3";
942 bus9_mux237: i2c@2 {
943 #address-cells = <1>;
944 #size-cells = <0>;
948 bus9_mux238: i2c@3 {
949 #address-cells = <1>;
950 #size-cells = <0>;
959 /* pca9545 Riser ->
963 * I2C BMC RISER PCA9554
968 /* pca9545 ->
976 #address-cells = <1>;
977 #size-cells = <0>;
980 i2c-mux-idle-disconnect;
981 interrupt-controller;
982 #interrupt-cells = <2>;
984 bus10_mux239: i2c@0 {
985 #address-cells = <1>;
986 #size-cells = <0>;
992 gpio-controller;
993 #gpio-cells = <2>;
996 gpio-hog;
998 output-high;
999 line-name = "smbus4";
1009 bus10_mux240: i2c@1 {
1010 #address-cells = <1>;
1011 #size-cells = <0>;
1017 gpio-controller;
1018 #gpio-cells = <2>;
1021 gpio-hog;
1023 output-high;
1024 line-name = "smbus5";
1034 bus10_mux241: i2c@2 {
1035 #address-cells = <1>;
1036 #size-cells = <0>;
1040 bus10_mux242: i2c@3 {
1041 #address-cells = <1>;
1042 #size-cells = <0>;
1049 #address-cells = <1>;
1050 #size-cells = <0>;
1053 i2c-mux-idle-disconnect;
1054 interrupt-controller;
1055 #interrupt-cells = <2>;
1057 bus10_mux243: i2c@0 {
1058 #address-cells = <1>;
1059 #size-cells = <0>;
1065 gpio-controller;
1066 #gpio-cells = <2>;
1069 gpio-hog;
1071 output-high;
1072 line-name = "smbus6";
1082 bus10_mux244: i2c@1 {
1083 #address-cells = <1>;
1084 #size-cells = <0>;
1090 gpio-controller;
1091 #gpio-cells = <2>;
1094 gpio-hog;
1096 output-high;
1097 line-name = "smbus7";
1107 bus10_mux245: i2c@2 {
1108 #address-cells = <1>;
1109 #size-cells = <0>;
1113 bus10_mux246: i2c@3 {
1114 #address-cells = <1>;
1115 #size-cells = <0>;
1162 /* pca9545 ->
1171 #address-cells = <1>;
1172 #size-cells = <0>;
1175 interrupt-controller;
1176 #interrupt-cells = <2>;
1178 bus12_mux247: i2c@0 {
1179 #address-cells = <1>;
1180 #size-cells = <0>;
1189 bus12_mux248: i2c@1 {
1190 #address-cells = <1>;
1191 #size-cells = <0>;
1200 bus12_mux249: i2c@2 {
1201 #address-cells = <1>;
1202 #size-cells = <0>;
1211 bus12_mux250: i2c@3 {
1212 #address-cells = <1>;
1213 #size-cells = <0>;
1229 /* pca9548 ->
1236 #address-cells = <1>;
1237 #size-cells = <0>;
1239 bus13_mux251: i2c@0 {
1240 #address-cells = <1>;
1241 #size-cells = <0>;
1245 bus13_mux252: i2c@1 {
1246 #address-cells = <1>;
1247 #size-cells = <0>;
1251 bus13_mux253: i2c@2 {
1252 #address-cells = <1>;
1253 #size-cells = <0>;
1257 bus13_mux254: i2c@3 {
1258 #address-cells = <1>;
1259 #size-cells = <0>;
1263 bus13_mux255: i2c@4 {
1264 #address-cells = <1>;
1265 #size-cells = <0>;
1269 bus13_mux256: i2c@5 {
1270 #address-cells = <1>;
1271 #size-cells = <0>;
1275 bus13_mux257: i2c@6 {
1276 #address-cells = <1>;
1277 #size-cells = <0>;
1281 bus13_mux258: i2c@7 {
1282 #address-cells = <1>;
1283 #size-cells = <0>;
1295 memory-region = <&gfx_memory>;
1300 pinctrl-names = "default";
1301 pinctrl-0 = <&pinctrl_adc0_default
1320 aspeed,reset-type = "none";
1321 aspeed,external-signal;
1322 aspeed,ext-push-pull;
1323 aspeed,ext-active-high;
1325 pinctrl-names = "default";
1326 pinctrl-0 = <&pinctrl_wdtrst1_default>;
1330 aspeed,alt-boot;
1343 memory-region = <&video_engine_memory>;
1346 #include "ibm-power9-dual.dtsi"