Lines Matching +full:gpio +full:- +full:fan

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,witherspoon-bmc", "aspeed,ast2500";
12 stdout-path = &uart5;
20 reserved-memory {
21 #address-cells = <1>;
22 #size-cells = <1>;
26 no-map;
31 no-map;
32 compatible = "shared-dma-pool";
39 compatible = "shared-dma-pool";
46 compatible = "shared-dma-pool";
51 gpio-keys {
52 compatible = "gpio-keys";
54 event-air-water {
55 label = "air-water";
56 gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
60 event-checkstop {
62 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
66 event-ps0-presence {
67 label = "ps0-presence";
68 gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
72 event-ps1-presence {
73 label = "ps1-presence";
74 gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>;
79 iio-hwmon-battery {
80 compatible = "iio-hwmon";
81 io-channels = <&adc 12>;
84 gpio-keys-polled {
85 compatible = "gpio-keys-polled";
86 poll-interval = <1000>;
88 event-fan0-presence {
89 label = "fan0-presence";
94 event-fan1-presence {
95 label = "fan1-presence";
100 event-fan2-presence {
101 label = "fan2-presence";
106 event-fan3-presence {
107 label = "fan3-presence";
114 compatible = "gpio-leds";
117 retain-state-shutdown;
118 default-state = "keep";
123 retain-state-shutdown;
124 default-state = "keep";
129 retain-state-shutdown;
130 default-state = "keep";
135 retain-state-shutdown;
136 default-state = "keep";
140 front-fault {
141 retain-state-shutdown;
142 default-state = "keep";
146 front-power {
147 retain-state-shutdown;
148 default-state = "keep";
152 front-id {
153 retain-state-shutdown;
154 default-state = "keep";
158 rear-fault {
159 gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
162 rear-id {
163 gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>;
166 rear-power {
167 gpios = <&gpio ASPEED_GPIO(N, 3) GPIO_ACTIVE_LOW>;
170 power-button {
171 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
175 fsi: gpio-fsi {
176 compatible = "fsi-master-gpio", "fsi-master";
177 #address-cells = <2>;
178 #size-cells = <0>;
179 no-gpio-delays;
181 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
182 data-gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
183 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
184 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
185 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
188 iio-hwmon-dps310 {
189 compatible = "iio-hwmon";
190 io-channels = <&dps 0>;
193 iio-hwmon-bmp280 {
194 compatible = "iio-hwmon";
195 io-channels = <&bmp 1>;
200 &gpio {
201 gpio-line-names =
202 /*A0-A7*/ "","cfam-reset","","","","","fsi-mux","",
203 /*B0-B7*/ "","","","","","air-water","","",
204 /*C0-C7*/ "","","","","","","","",
205 /*D0-D7*/ "fsi-enable","","","","","","","",
206 /*E0-E7*/ "fsi-data","","","","","","","",
207 /*F0-F7*/ "","","","","","","","",
208 /*G0-G7*/ "","","","","","","","",
209 /*H0-H7*/ "","","","","","","","",
210 /*I0-I7*/ "","","","","","","","",
211 /*J0-J7*/ "","","checkstop","","","","","",
212 /*K0-K7*/ "","","","","","","","",
213 /*L0-L7*/ "","","","","","","","",
214 /*M0-M7*/ "","","","","","","","",
215 /*N0-N7*/ "presence-ps1","","led-rear-fault","led-rear-power",
216 "led-rear-id","","","",
217 /*O0-O7*/ "","","","","","","","",
218 /*P0-P7*/ "","","","","","","","presence-ps0",
219 /*Q0-Q7*/ "","","","","","","","",
220 /*R0-R7*/ "","","fsi-trans","","","power-button","","",
221 /*S0-S7*/ "","","","","","","","",
222 /*T0-T7*/ "","","","","","","","",
223 /*U0-U7*/ "","","","","","","","",
224 /*V0-V7*/ "","","","","","","","",
225 /*W0-W7*/ "","","","","","","","",
226 /*X0-X7*/ "","","","","","","","",
227 /*Y0-Y7*/ "","","","","","","","",
228 /*Z0-Z7*/ "","","","","","","","",
229 /*AA0-AA7*/ "fsi-clock","","","","","","","",
230 /*AB0-AB7*/ "","","","","","","","",
231 /*AC0-AC7*/ "","","","","","","","";
240 m25p,fast-read;
241 spi-max-frequency = <50000000>;
244 #address-cells = < 1 >;
245 #size-cells = < 1 >;
246 compatible = "fixed-partitions";
247 u-boot@0 {
249 label = "u-boot";
251 u-boot-env@60000 {
253 label = "u-boot-env";
255 obmc-ubi@80000 {
257 label = "obmc-ubi";
264 label = "alt-bmc";
265 m25p,fast-read;
266 spi-max-frequency = <50000000>;
269 #address-cells = < 1 >;
270 #size-cells = < 1 >;
271 compatible = "fixed-partitions";
272 u-boot@0 {
274 label = "alt-u-boot";
276 u-boot-env@60000 {
278 label = "alt-u-boot-env";
280 obmc-ubi@80000 {
282 label = "alt-obmc-ubi";
290 pinctrl-names = "default";
291 pinctrl-0 = <&pinctrl_spi1_default>;
296 m25p,fast-read;
297 spi-max-frequency = <100000000>;
302 /* Rear RS-232 connector */
304 pinctrl-names = "default";
305 pinctrl-0 = <&pinctrl_txd1_default
318 pinctrl-names = "default";
319 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
328 memory-region = <&flash_memory>;
334 pinctrl-names = "default";
335 pinctrl-0 = <&pinctrl_rmii1_default>;
338 clock-names = "MACCLK", "RCLK";
339 use-ncsi;
345 /* MUX ->
357 #io-channel-cells = <1>;
363 #address-cells = <1>;
364 #size-cells = <0>;
366 fan@0 {
367 compatible = "pmbus-fan";
369 tach-pulses = <2>;
370 maxim,fan-rotor-input = "tach";
371 maxim,fan-pwm-freq = <25000>;
372 maxim,fan-dual-tach;
373 maxim,fan-no-watchdog;
374 maxim,fan-no-fault-ramp;
375 maxim,fan-ramp = <2>;
376 maxim,fan-fault-pin-mon;
379 fan@1 {
380 compatible = "pmbus-fan";
382 tach-pulses = <2>;
383 maxim,fan-rotor-input = "tach";
384 maxim,fan-pwm-freq = <25000>;
385 maxim,fan-dual-tach;
386 maxim,fan-no-watchdog;
387 maxim,fan-no-fault-ramp;
388 maxim,fan-ramp = <2>;
389 maxim,fan-fault-pin-mon;
392 fan@2 {
393 compatible = "pmbus-fan";
395 tach-pulses = <2>;
396 maxim,fan-rotor-input = "tach";
397 maxim,fan-pwm-freq = <25000>;
398 maxim,fan-dual-tach;
399 maxim,fan-no-watchdog;
400 maxim,fan-no-fault-ramp;
401 maxim,fan-ramp = <2>;
402 maxim,fan-fault-pin-mon;
405 fan@3 {
406 compatible = "pmbus-fan";
408 tach-pulses = <2>;
409 maxim,fan-rotor-input = "tach";
410 maxim,fan-pwm-freq = <25000>;
411 maxim,fan-dual-tach;
412 maxim,fan-no-watchdog;
413 maxim,fan-no-fault-ramp;
414 maxim,fan-ramp = <2>;
415 maxim,fan-fault-pin-mon;
422 #io-channel-cells = <0>;
428 #address-cells = <1>;
429 #size-cells = <0>;
431 gpio-controller;
432 #gpio-cells = <2>;
434 gpio@0 {
439 gpio@1 {
444 gpio@2 {
449 gpio@3 {
454 gpio@4 {
459 gpio@5 {
464 gpio@6 {
469 gpio@7 {
474 gpio@8 {
479 gpio@9 {
484 gpio@10 {
489 gpio@11 {
494 gpio@12 {
499 gpio@13 {
504 gpio@14 {
509 gpio@15 {
515 power-supply@68 {
520 power-supply@69 {
576 * -> PCIe Slot 3
577 * -> PCIe Slot 4
588 #address-cells = <1>;
589 #size-cells = <0>;
590 gpio-controller;
591 #gpio-cells = <2>;
593 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
602 gpio@0 {
607 gpio@1 {
612 gpio@2 {
617 gpio@3 {
622 gpio@4 {
627 gpio@5 {
632 gpio@6 {
637 gpio@7 {
642 gpio@8 {
647 gpio@9 {
652 gpio@10 {
657 gpio@11 {
662 gpio@12 {
667 gpio@13 {
672 gpio@14 {
677 gpio@15 {
713 memory-region = <&gfx_memory>;
717 aspeed,reset-type = "none";
718 aspeed,external-signal;
719 aspeed,ext-push-pull;
720 aspeed,ext-active-high;
722 pinctrl-names = "default";
723 pinctrl-0 = <&pinctrl_wdtrst1_default>;
727 aspeed,alt-boot;
744 memory-region = <&video_engine_memory>;
749 memory-region = <&vga_memory>;
752 #include "ibm-power9-dual.dtsi"