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 */
30 coldfire_memory: codefire_memory@5ee00000 {
31 reg = <0x5ee00000 0x00200000>;
35 flash_memory: region@98000000 {
37 reg = <0x98000000 0x01000000>; /* 16MB */
42 compatible = "gpio-leds";
45 gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_LOW>;
49 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
53 gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>;
58 compatible = "aspeed,ast2400-cf-fsi-master", "fsi-master";
62 memory-region = <&coldfire_memory>;
63 aspeed,sram = <&sram>;
64 aspeed,cvic = <&cvic>;
66 clock-gpios = <&gpio ASPEED_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
67 data-gpios = <&gpio ASPEED_GPIO(A, 5) GPIO_ACTIVE_HIGH>;
68 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
69 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
70 trans-gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
74 compatible = "gpio-keys";
78 gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
79 linux,code = <ASPEED_GPIO(P, 5)>;
90 #include "openbmc-flash-layout.dtsi"
96 pinctrl-names = "default";
97 pinctrl-0 = <&pinctrl_spi1debug_default>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_flbusy_default &pinctrl_flwp_default
110 &pinctrl_vgahs_default &pinctrl_vgavs_default
111 &pinctrl_ddcclk_default &pinctrl_ddcdat_default>;
115 /* Rear RS-232 connector */
118 pinctrl-names = "default";
119 pinctrl-0 = <&pinctrl_txd1_default
120 &pinctrl_rxd1_default
121 &pinctrl_nrts1_default
122 &pinctrl_ndtr1_default
123 &pinctrl_ndsr1_default
124 &pinctrl_ncts1_default
125 &pinctrl_ndcd1_default
126 &pinctrl_nri1_default>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_rmii1_default>;
146 compatible = "atmel,24c256";
152 compatible = "dallas,ds3231";
165 compatible = "ti,tmp423";
174 compatible = "ibm,p8-occ-hwmon";
205 memory-region = <&flash_memory>;
212 gpios = <ASPEED_GPIO(C, 4) GPIO_ACTIVE_HIGH>;
214 line-name = "func_mode0";
219 gpios = <ASPEED_GPIO(C, 5) GPIO_ACTIVE_HIGH>;
221 line-name = "func_mode1";
226 gpios = <ASPEED_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
228 line-name = "func_mode2";
233 gpios = <ASPEED_GPIO(A, 0) GPIO_ACTIVE_HIGH>;
235 line-name = "BMC_FAN_RESERVED_N";
240 gpios = <ASPEED_GPIO(A, 1) GPIO_ACTIVE_HIGH>;
242 line-name = "APSS_WDT_N";
247 gpios = <ASPEED_GPIO(B, 1) GPIO_ACTIVE_HIGH>;
249 line-name = "APSS_BOOT_MODE";
254 gpios = <ASPEED_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
256 line-name = "APSS_RESET_N";
261 gpios = <ASPEED_GPIO(B, 7) GPIO_ACTIVE_HIGH>;
263 line-name = "SPIVID_STBY_RESET_N";
268 gpios = <ASPEED_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
270 line-name = "BMC_POWER_UP";
275 gpios = <ASPEED_GPIO(F, 1) GPIO_ACTIVE_HIGH>;
277 line-name = "BMC_BATTERY_TEST";
282 gpios = <ASPEED_GPIO(F, 4) GPIO_ACTIVE_HIGH>;
284 line-name = "AST_HW_FAULT_N";
289 gpios = <ASPEED_GPIO(F, 5) GPIO_ACTIVE_HIGH>;
291 line-name = "AST_SYS_FAULT_N";
296 gpios = <ASPEED_GPIO(F, 7) GPIO_ACTIVE_HIGH>;
298 line-name = "BMC_FULL_SPEED_N";
303 gpios = <ASPEED_GPIO(G, 3) GPIO_ACTIVE_HIGH>;
305 line-name = "BMC_FAN_ERROR_N";
310 gpios = <ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>;
312 line-name = "BMC_WDT_RST1_P";
317 gpios = <ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>;
319 line-name = "BMC_WDT_RST2_P";
324 gpios = <ASPEED_GPIO(H, 0) GPIO_ACTIVE_HIGH>;
326 line-name = "PE_SLOT_TEST_EN_N";
331 gpios = <ASPEED_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
333 line-name = "BMC_RTCRST_N";
338 gpios = <ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
340 line-name = "SYS_PWROK_BMC";
345 gpios = <ASPEED_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
347 line-name = "BMC_TPM_INT_N";