1 // SPDX-License-Identifier: GPL-2.0+
4 #include "aspeed-g4.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
8 model = "Palmetto BMC";
9 compatible = "tyan,palmetto-bmc", "aspeed,ast2400";
13 bootargs = "console=ttyS4,115200 earlyprintk";
17 reg = <0x40000000 0x20000000>;
25 vga_memory: framebuffer@5f000000 {
27 reg = <0x5f000000 0x01000000>; /* 16M */
32 compatible = "gpio-leds";
35 gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_LOW>;
39 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
43 gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys";
52 gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
53 linux,code = <ASPEED_GPIO(P, 5)>;
64 #include "openbmc-flash-layout.dtsi"
70 pinctrl-names = "default";
71 pinctrl-0 = <&pinctrl_spi1debug_default>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_flbusy_default &pinctrl_flwp_default
84 &pinctrl_vgahs_default &pinctrl_vgavs_default
85 &pinctrl_ddcclk_default &pinctrl_ddcdat_default>;
89 /* Rear RS-232 connector */
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_txd1_default
95 &pinctrl_nrts1_default
96 &pinctrl_ndtr1_default
97 &pinctrl_ndsr1_default
98 &pinctrl_ncts1_default
99 &pinctrl_ndcd1_default
100 &pinctrl_nri1_default>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_rmii1_default>;
120 compatible = "atmel,24c256";
126 compatible = "dallas,ds3231";
139 compatible = "ti,tmp423";
175 gpios = <ASPEED_GPIO(C, 4) GPIO_ACTIVE_HIGH>;
177 line-name = "func_mode0";
182 gpios = <ASPEED_GPIO(C, 5) GPIO_ACTIVE_HIGH>;
184 line-name = "func_mode1";
189 gpios = <ASPEED_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
191 line-name = "func_mode2";
196 gpios = <ASPEED_GPIO(A, 0) GPIO_ACTIVE_HIGH>;
198 line-name = "BMC_FAN_RESERVED_N";
203 gpios = <ASPEED_GPIO(A, 1) GPIO_ACTIVE_HIGH>;
205 line-name = "APSS_WDT_N";
210 gpios = <ASPEED_GPIO(B, 1) GPIO_ACTIVE_HIGH>;
212 line-name = "APSS_BOOT_MODE";
217 gpios = <ASPEED_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
219 line-name = "APSS_RESET_N";
224 gpios = <ASPEED_GPIO(B, 7) GPIO_ACTIVE_HIGH>;
226 line-name = "SPIVID_STBY_RESET_N";
231 gpios = <ASPEED_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
233 line-name = "BMC_POWER_UP";
238 gpios = <ASPEED_GPIO(F, 1) GPIO_ACTIVE_HIGH>;
240 line-name = "BMC_BATTERY_TEST";
245 gpios = <ASPEED_GPIO(F, 4) GPIO_ACTIVE_HIGH>;
247 line-name = "AST_HW_FAULT_N";
252 gpios = <ASPEED_GPIO(F, 5) GPIO_ACTIVE_HIGH>;
254 line-name = "AST_SYS_FAULT_N";
259 gpios = <ASPEED_GPIO(F, 7) GPIO_ACTIVE_HIGH>;
261 line-name = "BMC_FULL_SPEED_N";
266 gpios = <ASPEED_GPIO(G, 3) GPIO_ACTIVE_HIGH>;
268 line-name = "BMC_FAN_ERROR_N";
273 gpios = <ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>;
275 line-name = "BMC_WDT_RST1_P";
280 gpios = <ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>;
282 line-name = "BMC_WDT_RST2_P";
287 gpios = <ASPEED_GPIO(H, 0) GPIO_ACTIVE_HIGH>;
289 line-name = "PE_SLOT_TEST_EN_N";
294 gpios = <ASPEED_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
296 line-name = "BMC_RTCRST_N";
301 gpios = <ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
303 line-name = "SYS_PWROK_BMC";
308 gpios = <ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
310 line-name = "SCM1_FSI0_DATA_EN";
315 gpios = <ASPEED_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
317 line-name = "BMC_TPM_INT_N";