Lines Matching +full:gpio +full:- +full:0

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>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
18 reg = <0x80000000 0x20000000>;
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
27 no-map;
28 reg = <0x9f000000 0x01000000>; /* 16M */
32 no-map;
33 reg = <0x98000000 0x04000000>; /* 64M */
37 reg = <0x9ef00000 0x00100000>;
38 no-map;
42 size = <0x01000000>;
43 alignment = <0x01000000>;
44 compatible = "shared-dma-pool";
49 size = <0x02000000>; /* 32M */
50 alignment = <0x01000000>;
51 compatible = "shared-dma-pool";
56 fsi: gpio-fsi {
57 compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
58 #address-cells = <2>;
59 #size-cells = <0>;
60 no-gpio-delays;
62 memory-region = <&coldfire_memory>;
66 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
67 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
68 mux-gpios = <&gpio ASPEED_GPIO(I, 2) GPIO_ACTIVE_HIGH>;
69 enable-gpios = <&gpio ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
70 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
73 gpio-keys {
74 compatible = "gpio-keys";
76 event-checkstop {
78 gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
82 event-ps0-presence {
83 label = "ps0-presence";
84 gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>;
85 linux,code = <ASPEED_GPIO(F, 0)>;
88 event-ps1-presence {
89 label = "ps1-presence";
90 gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
96 gpio-keys-polled {
97 compatible = "gpio-keys-polled";
98 poll-interval = <1000>;
100 event-fan0-presence {
101 label = "fan0-presence";
102 gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
106 event-fan1-presence {
107 label = "fan1-presence";
112 event-fan2-presence {
113 label = "fan2-presence";
118 event-fan3-presence {
119 label = "fan3-presence";
124 event-fan4-presence {
125 label = "fan4-presence";
130 event-fan5-presence {
131 label = "fan5-presence";
136 event-fan6-presence {
137 label = "fan6-presence";
142 event-fan7-presence {
143 label = "fan7-presence";
150 compatible = "gpio-leds";
154 /* TODO: dummy gpio */
155 gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>;
158 init-ok {
159 label = "init-ok";
160 gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
163 front-memory {
164 label = "front-memory";
165 gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
168 front-syshot {
169 label = "front-syshot";
170 gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
173 front-syshealth {
174 label = "front-syshealth";
175 gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
178 front-fan {
179 label = "front-fan";
180 gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
183 front-psu {
184 label = "front-psu";
185 gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
190 gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>;
194 iio-hwmon-battery {
195 compatible = "iio-hwmon";
196 io-channels = <&adc 15>;
199 iio-hwmon {
200 compatible = "iio-hwmon";
201 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
208 &gpio {
209 gpio-line-names =
210 /*A0-A7*/ "","","","","","","","",
211 /*B0-B7*/ "","","front-psu","checkstop","cfam-reset","","","init-ok",
212 /*C0-C7*/ "","","","","","","","",
213 /*D0-D7*/ "","","","","","","","",
214 /*E0-E7*/ "","","","","","","","",
215 /*F0-F7*/ "ps0-presence","ps1-presence","","","front-memory","","","",
216 /*G0-G7*/ "","","","","","","","",
217 /*H0-H7*/ "","","","","front-fan","","","",
218 /*I0-I7*/ "front-syshealth","front-syshot","mux-gpios","enable-gpios","","","","",
219 /*J0-J7*/ "","","","","","","","",
220 /*K0-K7*/ "","","","","","","","",
221 /*L0-L7*/ "","","","","","","","",
222 /*M0-M7*/ "","","","","","","","",
223 /*N0-N7*/ "","","","","","","","",
224 /*O0-O7*/ "","","","","","","","",
225 /*P0-P7*/ "","","","","","","","",
226 /*Q0-Q7*/ "","","","","","","","",
227 /*R0-R7*/ "","power","trans-gpios","","","","","",
228 /*S0-S7*/ "","","","","","","","",
229 /*T0-T7*/ "","","","","","","","",
230 /*U0-U7*/ "","","","","","","","",
231 /*V0-V7*/ "","","","","","","","",
232 /*W0-W7*/ "","","","","","","","",
233 /*X0-X7*/ "","","","","","","","",
234 /*Y0-Y7*/ "","","","","","","","",
235 /*Z0-Z7*/ "","","","","","","","identify",
236 /*AA0-AA7*/ "clock-gpios","","data-gpios","","","","","",
237 /*AB0-AB7*/ "","","","","","","","",
238 /*AC0-AC7*/ "","","","","","","","";
244 flash@0 {
247 m25p,fast-read;
248 spi-max-frequency = <50000000>;
249 #include "openbmc-flash-layout-64.dtsi"
255 pinctrl-names = "default";
256 pinctrl-0 = <&pinctrl_spi1_default>;
258 flash@0 {
261 m25p,fast-read;
262 spi-max-frequency = <100000000>;
267 /* Rear RS-232 connector */
269 pinctrl-names = "default";
270 pinctrl-0 = <&pinctrl_txd1_default
283 pinctrl-names = "default";
284 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
300 memory-region = <&flash_memory>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&pinctrl_rmii1_default>;
310 clock-names = "MACCLK", "RCLK";
311 use-ncsi;
316 pinctrl-names = "default";
317 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
330 reg = <0x50>;
341 reg = <0x48>;
347 reg = <0x49>;
351 i2c-mux@70 {
353 reg = <0x70>;
354 #address-cells = <1>;
355 #size-cells = <0>;
357 i2c@0 {
358 #address-cells = <1>;
359 #size-cells = <0>;
360 reg = <0>;
364 reg = <0x4a>;
371 #address-cells = <1>;
372 #size-cells = <0>;
377 reg = <0x4a>;
383 #address-cells = <1>;
384 #size-cells = <0>;
389 reg = <0x4a>;
395 #address-cells = <1>;
396 #size-cells = <0>;
401 reg = <0x7c>;
418 reg = <0x68>;
435 i2c-mux@70 {
437 reg = <0x70>;
438 #address-cells = <1>;
439 #size-cells = <0>;
441 i2c@0 {
442 #address-cells = <1>;
443 #size-cells = <0>;
444 reg = <0>;
448 reg = <0x10>;
453 reg = <0x13>;
458 reg = <0x50>;
463 reg = <0x53>;
478 reg = <0x20>;
479 #address-cells = <1>;
480 #size-cells = <0>;
482 gpio-controller;
483 #gpio-cells = <2>;
485 gpio@0 {
486 reg = <0>;
490 gpio@1 {
495 gpio@2 {
500 gpio@3 {
505 gpio@4 {
510 gpio@5 {
515 gpio@6 {
520 gpio@7 {
529 reg = <0x21>;
530 #address-cells = <1>;
531 #size-cells = <0>;
533 gpio-controller;
534 #gpio-cells = <2>;
536 gpio@0 {
537 reg = <0>;
541 gpio@1 {
546 gpio@2 {
551 gpio@3 {
556 gpio@4 {
561 gpio@5 {
566 gpio@6 {
571 gpio@7 {
579 reg = <0x22>;
580 #address-cells = <1>;
581 #size-cells = <0>;
583 gpio-controller;
584 #gpio-cells = <2>;
586 gpio@0 {
587 reg = <0>;
591 gpio@1 {
596 gpio@2 {
601 gpio@3 {
606 gpio@4 {
611 gpio@5 {
616 gpio@6 {
621 gpio@7 {
629 reg = <0x23>;
630 #address-cells = <1>;
631 #size-cells = <0>;
633 gpio-controller;
634 #gpio-cells = <2>;
636 gpio@0 {
637 reg = <0>;
641 gpio@1 {
646 gpio@2 {
651 gpio@3 {
656 gpio@4 {
661 gpio@5 {
666 gpio@6 {
671 gpio@7 {
679 reg = <0x24>;
680 #address-cells = <1>;
681 #size-cells = <0>;
683 gpio-controller;
684 #gpio-cells = <2>;
686 gpio@0 {
687 reg = <0>;
691 gpio@1 {
696 gpio@2 {
701 gpio@3 {
706 gpio@4 {
711 gpio@5 {
716 gpio@6 {
721 gpio@7 {
729 reg = <0x25>;
730 #address-cells = <1>;
731 #size-cells = <0>;
733 gpio-controller;
734 #gpio-cells = <2>;
736 gpio@0 {
737 reg = <0>;
741 gpio@1 {
746 gpio@2 {
751 gpio@3 {
756 gpio@4 {
761 gpio@5 {
766 gpio@6 {
771 gpio@7 {
792 power-supply@58 {
794 reg = <0x58>;
797 power-supply@59 {
799 reg = <0x59>;
814 memory-region = <&gfx_memory>;
818 aspeed,external-nodes = <&gfx &lhc>;
822 aspeed,reset-type = "none";
823 aspeed,external-signal;
824 aspeed,ext-push-pull;
825 aspeed,ext-active-high;
827 pinctrl-names = "default";
828 pinctrl-0 = <&pinctrl_wdtrst1_default>;
838 pinctrl-names = "default";
839 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
853 memory-region = <&video_engine_memory>;
858 pinctrl-names = "default";
859 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
864 fan@0 {
865 reg = <0x00>;
866 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
870 reg = <0x01>;
871 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
875 reg = <0x02>;
876 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
880 reg = <0x03>;
881 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
885 reg = <0x04>;
886 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
890 reg = <0x05>;
891 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
895 reg = <0x06>;
896 aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
900 reg = <0x07>;
901 aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
908 aspeed,lpc-io-reg = <0xca2>;
909 aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
912 #include "ibm-power9-dual.dtsi"