Lines Matching +full:m0 +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g5.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
12 compatible = "bytedance,g220a-bmc", "aspeed,ast2500";
57 stdout-path = &uart5;
65 reserved-memory {
66 #address-cells = <1>;
67 #size-cells = <1>;
71 no-map;
78 compatible = "shared-dma-pool";
83 iio-hwmon {
84 compatible = "iio-hwmon";
85 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
92 compatible = "gpio-leds";
95 gpios = <&gpio ASPEED_GPIO(B, 0) GPIO_ACTIVE_LOW>;
96 linux,default-trigger = "timer";
97 led-pattern = <1000 1000>;
101 gpio-keys {
102 compatible = "gpio-keys";
103 event-burn-in-signal {
104 label = "burn-in";
105 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
110 gpio-keys-polled {
111 compatible = "gpio-keys-polled";
112 poll-interval = <1000>;
114 event-rear-riser1-presence {
115 label = "rear-riser1-presence";
116 gpios = <&pca0 1 GPIO_ACTIVE_LOW>;
120 event-alrt-pvddq-cpu0 {
121 label = "alrt-pvddq-cpu0";
122 gpios = <&pca0 8 GPIO_ACTIVE_LOW>;
126 event-rear-riser0-presence {
127 label = "rear-riser0-presence";
128 gpios = <&pca0 9 GPIO_ACTIVE_LOW>;
132 event-fault-pvddq-cpu0 {
133 label = "fault-pvddq-cpu0";
134 gpios = <&pca0 10 GPIO_ACTIVE_LOW>;
138 event-alrt-pvddq-cpu1 {
139 label = "alrt-pvddq-cpu1";
140 gpios = <&pca0 11 GPIO_ACTIVE_LOW>;
144 event-fault-pvddq-cpu1 {
145 label = "alrt-pvddq-cpu1";
146 gpios = <&pca0 12 GPIO_ACTIVE_LOW>;
150 event-fault-pvccin-cpu1 {
151 label = "fault-pvccin-cpuq";
152 gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
156 event-bmc-rom0-wp {
157 label = "bmc-rom0-wp";
158 gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
162 event-bmc-rom1-wp {
163 label = "bmc-rom1-wp";
164 gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
168 event-fan0-presence {
169 label = "fan0-presence";
170 gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
174 event-fan1-presence {
175 label = "fan1-presence";
176 gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
180 event-fan2-presence {
181 label = "fan2-presence";
182 gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
186 event-fan3-presence {
187 label = "fan3-presence";
188 gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
192 event-fan4-presence {
193 label = "fan4-presence";
194 gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
198 event-fan5-presence {
199 label = "fan5-presence";
200 gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
204 event-front-bp1-presence {
205 label = "front-bp1-presence";
206 gpios = <&pca1 8 GPIO_ACTIVE_LOW>;
210 event-rear-bp-presence {
211 label = "rear-bp-presence";
212 gpios = <&pca1 9 GPIO_ACTIVE_LOW>;
216 event-fault-pvccin-cpu0 {
217 label = "fault-pvccin-cpu0";
218 gpios = <&pca1 10 GPIO_ACTIVE_LOW>;
222 event-alrt-p1v05-pvcc {
223 label = "alrt-p1v05-pvcc1";
224 gpios = <&pca1 11 GPIO_ACTIVE_LOW>;
228 event-fault-p1v05-pvccio {
229 label = "alrt-p1v05-pvcc1";
230 gpios = <&pca1 12 GPIO_ACTIVE_LOW>;
234 event-alrt-p1v8-pvccio {
235 label = "alrt-p1v8-pvccio";
236 gpios = <&pca1 13 GPIO_ACTIVE_LOW>;
240 event-fault-p1v8-pvccio {
241 label = "fault-p1v8-pvccio";
242 gpios = <&pca1 14 GPIO_ACTIVE_LOW>;
246 event-front-bp0-presence {
247 label = "front-bp0-presence";
248 gpios = <&pca1 15 GPIO_ACTIVE_LOW>;
259 m25p,fast-read;
260 spi-max-frequency = <50000000>;
261 #include "openbmc-flash-layout-64.dtsi"
265 label = "alt-bmc";
266 m25p,fast-read;
267 spi-max-frequency = <50000000>;
268 #include "openbmc-flash-layout-64-alt.dtsi"
274 pinctrl-names = "default";
275 pinctrl-0 = <&pinctrl_spi1_default>;
278 m25p,fast-read;
280 spi-max-frequency = <100000000>;
290 aspeed,alt-boot;
295 gpio-line-names =
296 /*A0-A7*/ "SMRST_OCP_N","MAC2_LINK","BMC_CPLD_SMB_RST_R_N","BMC_CPLD_GPIO0",
298 /*B0-B7*/ "BMC_INIT_R_OK","FM_BOARD_REV_ID2","FM_PROJECT_ID7","FAULT_P12V_STBY_N",
300 /*C0-C7*/ "","","","","","","","",
301 /*D0-D7*/ "","","","","","","","",
302 /*E0-E7*/ "FM_PROJECT_ID0","FM_PROJECT_ID1","FM_PROJECT_ID2","FM_PROJECT_ID3",
304 /*F0-F7*/ "PSU0_PRSNT_N","PSU1_PRSNT_N","","FAULT_P12V_NVME_N",
307 /*G0-G7*/ "P12V_PMBUS_ALERT_N","CPLD_ALERT_N","BMC_RELOAD_N",
310 /*H0-H7*/ "BMC_CPLD_JTAG_TDI","BMC_CPLD_JTAG_TDO","BMC_CPLD_JTAG_TCK",
313 /*I0-I7*/ "FAULT_FRONT_RISER_P12V_N","FAULT_OCP_P12V_N","FM_BMC_PCH_SCI_R_N",
315 /*J0-J7*/ "FM_CPU0_SKTOCC_N","FM_CPU1_SKTOCC_N","FM_CPU1_DISABLE_COD_N",
317 /*K0-K7*/ "","","","","","","","",
318 /*L0-L7*/ "P12V_FAULT_N","PWRGD_P12V_PCIE_RISER","","LEAKAGE_DETECT_INPUT_N",
320 /*M0-M7*/ "","","","","","","","",
321 /*N0-N7*/ "","","","","","","","",
322 /*O0-O7*/ "","","","","","","","",
323 /*P0-P7*/ "","","","","","","","",
324 /*Q0-Q7*/ "","","","","","","FM_PCH_THERMTRIP_N","CHASSIS_INTRUSION",
325 /*R0-R7*/ "","PVCCIN_CPU1_SMBALERT_N","BMC_PREQ_R_N","FAULT_P12V_PCIE_RISER_N",
327 /*S0-S7*/ "BMC_PRDY_N","SIO_POWER_GOOD","FM_BMC_PWR_DEBUG_R_N",
329 /*T0-T7*/ "","","","","","","","",
330 /*U0-U7*/ "","","","","","","","",
331 /*V0-V7*/ "","","","","","","","",
332 /*W0-W7*/ "","","","","","","","",
333 /*X0-X7*/ "","","","","","","","",
334 /*Y0-Y7*/ "","PWRGD_PSU0_PWROK","CPU1_PROCHOT_LVT3_N","IRQ_BMC_PCH_SMI_LPC_N",
336 /*Z0-Z7*/ "XDP_PRSNT_N","BMC_XDP_SYS_PWROK","BMC_XDP_JTAG_SEL",
338 /*AA0-AA7*/ "PWRGD_P12V_STBY_OCP","PS_PWROK","RST_PLTRST_BMC_R_N","HDA_SDO_R",
340 /*AB0-AB7*/ "","RESET_OUT","SPI_BIOS_MODE_SELECT","POST_COMPLETE","","","","",
341 /*AC0-AC7*/ "","","","","","","","CPLD_PLTRST_B_N";
345 aspeed,lpc-io-reg = <0xCA2>;
350 aspeed,lpc-io-reg = <0xCA4>;
355 snoop-ports = <0x80>;
361 pinctrl-names = "default";
362 pinctrl-0 = <&pinctrl_txd1_default
374 pinctrl-names = "default";
375 pinctrl-0 = <&pinctrl_txd2_default
399 pinctrl-names = "default";
400 pinctrl-0 = <&pinctrl_rmii1_default>;
403 clock-names = "MACCLK", "RCLK";
404 use-ncsi;
409 pinctrl-names = "default";
410 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
427 i2c-mux@70 {
430 #address-cells = <1>;
431 #size-cells = <0>;
434 #address-cells = <1>;
435 #size-cells = <0>;
440 #address-cells = <1>;
441 #size-cells = <0>;
446 #address-cells = <1>;
447 #size-cells = <0>;
452 #address-cells = <1>;
453 #size-cells = <0>;
462 compatible = "ipmb-dev";
464 i2c-protocol;
474 i2c-mux@72 {
477 #address-cells = <1>;
478 #size-cells = <0>;
480 #address-cells = <1>;
481 #size-cells = <0>;
486 #address-cells = <1>;
487 #size-cells = <0>;
492 #address-cells = <1>;
493 #size-cells = <0>;
498 #address-cells = <1>;
499 #size-cells = <0>;
503 #address-cells = <1>;
504 #size-cells = <0>;
509 #address-cells = <1>;
510 #size-cells = <0>;
515 #address-cells = <1>;
516 #size-cells = <0>;
521 #address-cells = <1>;
522 #size-cells = <0>;
527 i2c-mux@70 {
530 #address-cells = <1>;
531 #size-cells = <0>;
533 #address-cells = <1>;
534 #size-cells = <0>;
536 i2c-mux@71 {
539 #address-cells = <1>;
540 #size-cells = <0>;
542 #address-cells = <1>;
543 #size-cells = <0>;
549 #address-cells = <1>;
550 #size-cells = <0>;
555 #address-cells = <1>;
556 #size-cells = <0>;
561 #address-cells = <1>;
562 #size-cells = <0>;
569 #address-cells = <1>;
570 #size-cells = <0>;
572 i2c-mux@71 {
575 #address-cells = <1>;
576 #size-cells = <0>;
578 #address-cells = <1>;
579 #size-cells = <0>;
585 #address-cells = <1>;
586 #size-cells = <0>;
591 #address-cells = <1>;
592 #size-cells = <0>;
597 #address-cells = <1>;
598 #size-cells = <0>;
605 #address-cells = <1>;
606 #size-cells = <0>;
608 i2c-mux@71 {
611 #address-cells = <1>;
612 #size-cells = <0>;
614 #address-cells = <1>;
615 #size-cells = <0>;
620 #address-cells = <1>;
621 #size-cells = <0>;
626 #address-cells = <1>;
627 #size-cells = <0>;
632 #address-cells = <1>;
633 #size-cells = <0>;
640 #address-cells = <1>;
641 #size-cells = <0>;
643 i2c-mux@71 {
646 #address-cells = <1>;
647 #size-cells = <0>;
649 #address-cells = <1>;
650 #size-cells = <0>;
655 #address-cells = <1>;
656 #size-cells = <0>;
673 #address-cells = <1>;
674 #size-cells = <0>;
676 gpio-controller;
677 #gpio-cells = <2>;
718 #address-cells = <1>;
719 #size-cells = <0>;
721 gpio-controller;
722 #gpio-cells = <2>;
811 i2c-mux@70 {
814 #address-cells = <1>;
815 #size-cells = <0>;
817 #address-cells = <1>;
818 #size-cells = <0>;
823 #address-cells = <1>;
824 #size-cells = <0>;
829 #address-cells = <1>;
830 #size-cells = <0>;
835 #address-cells = <1>;
836 #size-cells = <0>;
841 i2c-mux@71 {
844 #address-cells = <1>;
845 #size-cells = <0>;
847 #address-cells = <1>;
848 #size-cells = <0>;
853 #address-cells = <1>;
854 #size-cells = <0>;
859 #address-cells = <1>;
860 #size-cells = <0>;
865 #address-cells = <1>;
866 #size-cells = <0>;
886 pinctrl-names = "default";
887 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
893 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
897 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
901 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
905 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
909 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
913 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
919 gpio-hog;
920 gpios = <ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
921 output-low;
922 line-name = "NCSI_BMC_R_SEL";
926 gpio-hog;
927 gpios = <ASPEED_GPIO(B, 6) GPIO_ACTIVE_HIGH>;
928 output-low;
929 line-name = "EN_NCSI_SWITCH_N";
935 memory-region = <&video_engine_memory>;