Lines Matching +full:shutdown +full:- +full:gpios
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";
90 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
94 event-fan1-presence {
95 label = "fan1-presence";
96 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
100 event-fan2-presence {
101 label = "fan2-presence";
102 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
106 event-fan3-presence {
107 label = "fan3-presence";
108 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
114 compatible = "gpio-leds";
117 retain-state-shutdown;
118 default-state = "keep";
119 gpios = <&pca0 0 GPIO_ACTIVE_LOW>;
123 retain-state-shutdown;
124 default-state = "keep";
125 gpios = <&pca0 1 GPIO_ACTIVE_LOW>;
129 retain-state-shutdown;
130 default-state = "keep";
131 gpios = <&pca0 2 GPIO_ACTIVE_LOW>;
135 retain-state-shutdown;
136 default-state = "keep";
137 gpios = <&pca0 3 GPIO_ACTIVE_LOW>;
140 front-fault {
141 retain-state-shutdown;
142 default-state = "keep";
143 gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
146 front-power {
147 retain-state-shutdown;
148 default-state = "keep";
149 gpios = <&pca0 14 GPIO_ACTIVE_LOW>;
152 front-id {
153 retain-state-shutdown;
154 default-state = "keep";
155 gpios = <&pca0 15 GPIO_ACTIVE_LOW>;
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>;
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>;
370 #io-channel-cells = <0>;
376 #address-cells = <1>;
377 #size-cells = <0>;
379 gpio-controller;
380 #gpio-cells = <2>;
463 power-supply@68 {
468 power-supply@69 {
524 * -> PCIe Slot 3
525 * -> PCIe Slot 4
536 #address-cells = <1>;
537 #size-cells = <0>;
538 gpio-controller;
539 #gpio-cells = <2>;
541 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
661 memory-region = <&gfx_memory>;
665 aspeed,reset-type = "none";
666 aspeed,external-signal;
667 aspeed,ext-push-pull;
668 aspeed,ext-active-high;
670 pinctrl-names = "default";
671 pinctrl-0 = <&pinctrl_wdtrst1_default>;
675 aspeed,alt-boot;
692 memory-region = <&video_engine_memory>;
695 #include "ibm-power9-dual.dtsi"