1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2020 AMD Inc.
3 // Author: Supreeth Venkatesh <supreeth.venkatesh@amd.com>
6 #include "aspeed-g5.dtsi"
7 #include <dt-bindings/gpio/aspeed-gpio.h>
10 model = "AMD EthanolX BMC";
11 compatible = "amd,ethanolx-bmc", "aspeed,ast2500";
14 reg = <0x80000000 0x20000000>;
22 video_engine_memory: jpegbuffer {
23 size = <0x02000000>; /* 32M */
24 alignment = <0x01000000>;
25 compatible = "shared-dma-pool";
37 bootargs = "console=ttyS4,115200 earlyprintk";
40 compatible = "gpio-leds";
43 gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>;
47 gpios = <&gpio ASPEED_GPIO(A, 3) GPIO_ACTIVE_LOW>;
51 compatible = "iio-hwmon";
52 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>;
61 #include "openbmc-flash-layout.dtsi"
69 pinctrl-names = "default";
70 pinctrl-0 = <&pinctrl_rmii1_default>;
71 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
72 <&syscon ASPEED_CLK_MAC1RCLK>;
73 clock-names = "MACCLK", "RCLK";
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_txd1_default
81 &pinctrl_rxd1_default>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_adc0_default
97 &pinctrl_adc4_default>;
103 /*A0-A7*/ "","","FAULT_LED","CHASSIS_ID_LED","","","","",
104 /*B0-B7*/ "","","","","","","","",
105 /*C0-C7*/ "CHASSIS_ID_BTN","INTRUDER","AC_LOSS","","","","","",
106 /*D0-D7*/ "HDT_DBREQ","LOCAL_SPI_ROM_SEL","FPGA_SPI_ROM_SEL","JTAG_MUX_S",
107 "JTAG_MUX_OE","HDT_SEL","ASERT_WARM_RST_BTN","FPGA_RSVD",
108 /*E0-E7*/ "","","MON_P0_PWR_BTN","MON_P0_RST_BTN","MON_P0_NMI_BTN",
109 "MON_P0_PWR_GOOD","MON_PWROK","MON_RESET",
110 /*F0-F7*/ "MON_P0_PROCHOT","MON_P1_PROCHOT","MON_P0_THERMTRIP",
111 "MON_P1_THERMTRIP","P0_PRESENT","P1_PRESENT","MON_ATX_PWR_OK","",
112 /*G0-G7*/ "BRD_REV_ID_3","BRD_REV_ID_2","BRD_REV_ID_1","BRD_REV_ID_0",
113 "P0_APML_ALERT","P1_APML_ALERT","FPGA ALERT","",
114 /*H0-H7*/ "BRD_ID_0","BRD_ID_1","BRD_ID_2","BRD_ID_3",
115 "PCIE_DISCONNECTED","USB_DISCONNECTED","SPARE_0","SPARE_1",
116 /*I0-I7*/ "","","","","","","","",
117 /*J0-J7*/ "","","","","","","","",
118 /*K0-K7*/ "","","","","","","","",
119 /*L0-L7*/ "","","","","","","","",
120 /*M0-M7*/ "ASSERT_PWR_BTN","ASSERT_RST_BTN","ASSERT_NMI_BTN",
121 "ASSERT_LOCAL_LOCK","ASSERT_P0_PROCHOT","ASSERT_P1_PROCHOT",
122 "ASSERT_CLR_CMOS","ASSERT_BMC_READY",
123 /*N0-N7*/ "","","","","","","","",
124 /*O0-O7*/ "","","","","","","","",
125 /*P0-P7*/ "P0_VDD_CORE_RUN_VRHOT","P0_VDD_SOC_RUN_VRHOT",
126 "P0_VDD_MEM_ABCD_SUS_VRHOT","P0_VDD_MEM_EFGH_SUS_VRHOT",
127 "P1_VDD_CORE_RUN_VRHOT","P1_VDD_SOC_RUN_VRHOT",
128 "P1_VDD_MEM_ABCD_SUS_VRHOT","P1_VDD_MEM_EFGH_SUS_VRHOT",
129 /*Q0-Q7*/ "","","","","","","","",
130 /*R0-R7*/ "","","","","","","","",
131 /*S0-S7*/ "","","","","","","","",
132 /*T0-T7*/ "","","","","","","","",
133 /*U0-U7*/ "","","","","","","","",
134 /*V0-V7*/ "","","","","","","","",
135 /*W0-W7*/ "","","","","","","","",
136 /*X0-X7*/ "","","","","","","","",
137 /*Y0-Y7*/ "","","","","","","","",
138 /*Z0-Z7*/ "","","","","","","","",
139 /*AA0-AA7*/ "","SENSOR THERM","","","","","","",
140 /*AB0-AB7*/ "","","","","","","","",
141 /*AC0-AC7*/ "","","","","","","","";
159 compatible = "national,lm75a";
164 compatible = "national,lm75a";
169 compatible = "national,lm75a";
174 compatible = "national,lm75a";
179 compatible = "national,lm75a";
184 compatible = "national,lm75a";
189 compatible = "national,lm75a";
194 compatible = "national,lm75a";
201 aspeed,lpc-io-reg = <0x60>;
206 aspeed,lpc-io-reg = <0x62>;
211 aspeed,lpc-io-reg = <0xCA2>;
216 aspeed,lpc-io-reg = <0x97DE>;
221 snoop-ports = <0x80>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&pinctrl_pwm0_default
233 &pinctrl_pwm1_default
234 &pinctrl_pwm2_default
235 &pinctrl_pwm3_default
236 &pinctrl_pwm4_default
237 &pinctrl_pwm5_default
238 &pinctrl_pwm6_default
239 &pinctrl_pwm7_default>;
243 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
248 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
253 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
258 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
263 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
268 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
273 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
278 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
284 memory-region = <&video_engine_memory>;