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>
9 compatible = "ibm,swift-bmc", "aspeed,ast2500";
12 stdout-path = &uart5;
17 reg = <0x80000000 0x20000000>;
20 reserved-memory {
21 #address-cells = <1>;
22 #size-cells = <1>;
26 no-map;
27 reg = <0x98000000 0x04000000>; /* 64M */
31 size = <0x01000000>;
32 alignment = <0x01000000>;
33 compatible = "shared-dma-pool";
38 gpio-keys {
39 compatible = "gpio-keys";
41 event-air-water {
42 label = "air-water";
43 gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
47 event-checkstop {
49 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
53 event-ps0-presence {
54 label = "ps0-presence";
55 gpios = <&gpio ASPEED_GPIO(R, 7) GPIO_ACTIVE_LOW>;
59 event-ps1-presence {
60 label = "ps1-presence";
61 gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>;
62 linux,code = <ASPEED_GPIO(N, 0)>;
65 event-oppanel-presence {
66 label = "oppanel-presence";
67 gpios = <&gpio ASPEED_GPIO(A, 7) GPIO_ACTIVE_LOW>;
71 event-opencapi-riser-presence {
72 label = "opencapi-riser-presence";
73 gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
74 linux,code = <ASPEED_GPIO(I, 0)>;
78 iio-hwmon-battery {
79 compatible = "iio-hwmon";
80 io-channels = <&adc 12>;
83 gpio-keys-polled {
84 compatible = "gpio-keys-polled";
85 poll-interval = <1000>;
87 event-scm0-presence {
88 label = "scm0-presence";
93 event-scm1-presence {
94 label = "scm1-presence";
99 event-cpu0vrm-presence {
100 label = "cpu0vrm-presence";
105 event-cpu1vrm-presence {
106 label = "cpu1vrm-presence";
111 event-fan0-presence {
112 label = "fan0-presence";
117 event-fan1-presence {
118 label = "fan1-presence";
123 event-fan2-presence {
124 label = "fan2-presence";
129 event-fan3-presence {
130 label = "fan3-presence";
135 event-fanboost-presence {
136 label = "fanboost-presence";
143 compatible = "gpio-leds";
146 retain-state-shutdown;
147 default-state = "keep";
148 gpios = <&pca0 0 GPIO_ACTIVE_LOW>;
152 retain-state-shutdown;
153 default-state = "keep";
158 retain-state-shutdown;
159 default-state = "keep";
164 retain-state-shutdown;
165 default-state = "keep";
170 retain-state-shutdown;
171 default-state = "keep";
175 front-fault {
176 retain-state-shutdown;
177 default-state = "keep";
181 front-power {
182 retain-state-shutdown;
183 default-state = "keep";
187 front-id {
188 retain-state-shutdown;
189 default-state = "keep";
190 gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
193 rear-fault {
194 gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
197 rear-id {
198 gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>;
202 fsi: gpio-fsi {
203 compatible = "fsi-master-gpio", "fsi-master";
204 #address-cells = <2>;
205 #size-cells = <0>;
206 no-gpio-delays;
208 clock-gpios = <&gpio ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>;
209 data-gpios = <&gpio ASPEED_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
210 mux-gpios = <&gpio ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>;
211 enable-gpios = <&gpio ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
212 trans-gpios = <&gpio ASPEED_GPIO(P, 3) GPIO_ACTIVE_HIGH>;
215 iio-hwmon-dps310 {
216 compatible = "iio-hwmon";
217 io-channels = <&dps 0>;
225 flash@0 {
228 m25p,fast-read;
229 spi-max-frequency = <100000000>;
231 #address-cells = < 1 >;
232 #size-cells = < 1 >;
233 compatible = "fixed-partitions";
234 u-boot@0 {
235 reg = < 0 0x60000 >;
236 label = "u-boot";
238 u-boot-env@60000 {
239 reg = < 0x60000 0x20000 >;
240 label = "u-boot-env";
242 obmc-ubi@80000 {
243 reg = < 0x80000 0x7F80000>;
244 label = "obmc-ubi";
251 label = "alt-bmc";
252 m25p,fast-read;
253 spi-max-frequency = <100000000>;
255 #address-cells = < 1 >;
256 #size-cells = < 1 >;
257 compatible = "fixed-partitions";
258 u-boot@0 {
259 reg = < 0 0x60000 >;
260 label = "alt-u-boot";
262 u-boot-env@60000 {
263 reg = < 0x60000 0x20000 >;
264 label = "alt-u-boot-env";
266 obmc-ubi@80000 {
267 reg = < 0x80000 0x7F80000>;
268 label = "alt-obmc-ubi";
276 pinctrl-names = "default";
277 pinctrl-0 = <&pinctrl_spi1_default>;
279 flash@0 {
282 m25p,fast-read;
283 spi-max-frequency = <100000000>;
288 /* Rear RS-232 connector */
290 pinctrl-names = "default";
291 pinctrl-0 = <&pinctrl_txd1_default
304 pinctrl-names = "default";
305 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
314 memory-region = <&flash_memory>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&pinctrl_rmii1_default>;
322 use-ncsi;
325 clock-names = "MACCLK", "RCLK";
331 /* MUX ->
342 reg = <0x52>;
343 #address-cells = <1>;
344 #size-cells = <0>;
346 fan@0 {
347 compatible = "pmbus-fan";
348 reg = <0>;
349 tach-pulses = <2>;
350 maxim,fan-rotor-input = "tach";
351 maxim,fan-pwm-freq = <25000>;
352 maxim,fan-no-watchdog;
353 maxim,fan-no-fault-ramp;
354 maxim,fan-ramp = <2>;
355 maxim,fan-fault-pin-mon;
359 compatible = "pmbus-fan";
361 tach-pulses = <2>;
362 maxim,fan-rotor-input = "tach";
363 maxim,fan-pwm-freq = <25000>;
364 maxim,fan-no-watchdog;
365 maxim,fan-no-fault-ramp;
366 maxim,fan-ramp = <2>;
367 maxim,fan-fault-pin-mon;
371 compatible = "pmbus-fan";
373 tach-pulses = <2>;
374 maxim,fan-rotor-input = "tach";
375 maxim,fan-pwm-freq = <25000>;
376 maxim,fan-no-watchdog;
377 maxim,fan-no-fault-ramp;
378 maxim,fan-ramp = <2>;
379 maxim,fan-fault-pin-mon;
383 compatible = "pmbus-fan";
385 tach-pulses = <2>;
386 maxim,fan-rotor-input = "tach";
387 maxim,fan-pwm-freq = <25000>;
388 maxim,fan-no-watchdog;
389 maxim,fan-no-fault-ramp;
390 maxim,fan-ramp = <2>;
391 maxim,fan-fault-pin-mon;
395 compatible = "pmbus-fan";
397 tach-pulses = <2>;
398 maxim,fan-rotor-input = "tach";
399 maxim,fan-pwm-freq = <25000>;
400 maxim,fan-no-watchdog;
401 maxim,fan-no-fault-ramp;
402 maxim,fan-ramp = <2>;
403 maxim,fan-fault-pin-mon;
409 reg = <0x60>;
410 #address-cells = <1>;
411 #size-cells = <0>;
413 gpio-controller;
414 #gpio-cells = <2>;
416 gpio@0 {
417 reg = <0>;
421 gpio@1 {
426 gpio@2 {
431 gpio@3 {
436 gpio@4 {
441 gpio@5 {
446 gpio@6 {
451 gpio@7 {
456 gpio@8 {
461 gpio@9 {
466 gpio@10 {
471 gpio@11 {
476 gpio@12 {
481 gpio@13 {
486 gpio@14 {
491 gpio@15 {
497 power-supply@68 {
499 reg = <0x68>;
504 reg = <0x50>;
507 power-supply@69 {
509 reg = <0x69>;
514 reg = <0x51>;
523 reg = <0x76>;
524 #io-channel-cells = <0>;
529 reg = <0x48>;
534 reg = <0x20>;
539 reg = <0x50>;
544 reg = <0x60>;
545 #address-cells = <1>;
546 #size-cells = <0>;
548 gpio-controller;
549 #gpio-cells = <2>;
551 gpio@0 {
552 reg = <0>;
556 gpio@1 {
561 gpio@2 {
566 gpio@3 {
571 gpio@4 {
576 gpio@5 {
581 gpio@6 {
586 gpio@7 {
598 reg = <0x60>;
599 #address-cells = <1>;
600 #size-cells = <0>;
601 gpio-controller;
602 #gpio-cells = <2>;
604 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
613 gpio@0 {
614 reg = <0>;
618 gpio@1 {
623 gpio@2 {
628 gpio@3 {
633 gpio@4 {
638 gpio@5 {
643 gpio@6 {
648 gpio@7 {
653 gpio@8 {
658 gpio@9 {
663 gpio@10 {
668 gpio@11 {
673 gpio@12 {
678 gpio@13 {
683 gpio@14 {
688 gpio@15 {
696 reg = <0x32>;
701 reg = <0x51>;
706 reg = <0x64>;
715 reg = <0x50>;
720 reg = <0x4c>;
725 reg = <0x71>;
730 reg = <0x72>;
735 reg = <0x74>;
736 #address-cells = <1>;
737 #size-cells = <0>;
738 gpio-controller;
739 #gpio-cells = <2>;
741 gpio@0 {
742 reg = <0>;
745 gpio@1 {
749 gpio@2 {
753 gpio@3 {
757 gpio@4 {
761 gpio@5 {
765 gpio@6 {
769 gpio@7 {
773 gpio@8 {
777 gpio@9 {
781 gpio@10 {
785 gpio@11 {
789 gpio@12 {
793 gpio@13 {
797 gpio@14 {
801 gpio@15 {
812 reg = <0x50>;
817 reg = <0x4c>;
822 reg = <0x71>;
827 reg = <0x72>;
832 reg = <0x74>;
833 #address-cells = <1>;
834 #size-cells = <0>;
835 gpio-controller;
836 #gpio-cells = <2>;
838 gpio@0 {
839 reg = <0>;
842 gpio@1 {
846 gpio@2 {
850 gpio@3 {
854 gpio@4 {
858 gpio@5 {
862 gpio@6 {
866 gpio@7 {
870 gpio@8 {
874 gpio@9 {
878 gpio@10 {
882 gpio@11 {
886 gpio@12 {
890 gpio@13 {
894 gpio@14 {
898 gpio@15 {
906 * -> PCIe Slot 0
907 * -> PCIe Slot 1
908 * -> PCIe Slot 2
909 * -> PCIe Slot 3
919 reg = <0x48>;
924 reg = <0x4a>;
938 memory-region = <&gfx_memory>;
942 aspeed,external-nodes = <&gfx &lhc>;
946 aspeed,reset-type = "none";
947 aspeed,external-signal;
948 aspeed,ext-push-pull;
949 aspeed,ext-active-high;
951 pinctrl-names = "default";
952 pinctrl-0 = <&pinctrl_wdtrst1_default>;
956 aspeed,alt-boot;
974 pinctrl-names = "default";
975 pinctrl-0 = <&pinctrl_sd2_default>;
978 #include "ibm-power9-dual.dtsi"