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@5c000000 {
37 reg = <0x5C000000 0x02000000>; /* 32MB */
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 spi-max-frequency = <50000000>;
91 #include "openbmc-flash-layout.dtsi"
97 pinctrl-names = "default";
98 pinctrl-0 = <&pinctrl_spi1debug_default>;
103 spi-max-frequency = <50000000>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&pinctrl_flbusy_default &pinctrl_flwp_default
112 &pinctrl_vgahs_default &pinctrl_vgavs_default
113 &pinctrl_ddcclk_default &pinctrl_ddcdat_default>;
117 /* Rear RS-232 connector */
120 pinctrl-names = "default";
121 pinctrl-0 = <&pinctrl_txd1_default
122 &pinctrl_rxd1_default
123 &pinctrl_nrts1_default
124 &pinctrl_ndtr1_default
125 &pinctrl_ndsr1_default
126 &pinctrl_ncts1_default
127 &pinctrl_ndcd1_default
128 &pinctrl_nri1_default>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_rmii1_default>;
148 compatible = "atmel,24c256";
154 compatible = "dallas,ds3231";
167 compatible = "ti,tmp423";
176 compatible = "ibm,p8-occ-hwmon";
207 memory-region = <&flash_memory>;
214 gpios = <ASPEED_GPIO(C, 4) GPIO_ACTIVE_HIGH>;
216 line-name = "func_mode0";
221 gpios = <ASPEED_GPIO(C, 5) GPIO_ACTIVE_HIGH>;
223 line-name = "func_mode1";
228 gpios = <ASPEED_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
230 line-name = "func_mode2";
235 gpios = <ASPEED_GPIO(A, 0) GPIO_ACTIVE_HIGH>;
237 line-name = "BMC_FAN_RESERVED_N";
242 gpios = <ASPEED_GPIO(A, 1) GPIO_ACTIVE_HIGH>;
244 line-name = "APSS_WDT_N";
249 gpios = <ASPEED_GPIO(B, 1) GPIO_ACTIVE_HIGH>;
251 line-name = "APSS_BOOT_MODE";
256 gpios = <ASPEED_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
258 line-name = "APSS_RESET_N";
263 gpios = <ASPEED_GPIO(B, 7) GPIO_ACTIVE_HIGH>;
265 line-name = "SPIVID_STBY_RESET_N";
270 gpios = <ASPEED_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
272 line-name = "BMC_POWER_UP";
277 gpios = <ASPEED_GPIO(F, 1) GPIO_ACTIVE_HIGH>;
279 line-name = "BMC_BATTERY_TEST";
284 gpios = <ASPEED_GPIO(F, 4) GPIO_ACTIVE_HIGH>;
286 line-name = "AST_HW_FAULT_N";
291 gpios = <ASPEED_GPIO(F, 5) GPIO_ACTIVE_HIGH>;
293 line-name = "AST_SYS_FAULT_N";
298 gpios = <ASPEED_GPIO(F, 7) GPIO_ACTIVE_HIGH>;
300 line-name = "BMC_FULL_SPEED_N";
305 gpios = <ASPEED_GPIO(G, 3) GPIO_ACTIVE_HIGH>;
307 line-name = "BMC_FAN_ERROR_N";
312 gpios = <ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>;
314 line-name = "BMC_WDT_RST1_P";
319 gpios = <ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>;
321 line-name = "BMC_WDT_RST2_P";
326 gpios = <ASPEED_GPIO(H, 0) GPIO_ACTIVE_HIGH>;
328 line-name = "PE_SLOT_TEST_EN_N";
333 gpios = <ASPEED_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
335 line-name = "BMC_RTCRST_N";
340 gpios = <ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
342 line-name = "SYS_PWROK_BMC";
347 gpios = <ASPEED_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
349 line-name = "BMC_TPM_INT_N";
356 #address-cells = <1>;
361 compatible = "ibm,fsi2pib";
362 reg = <0x1000 0x400>;
366 compatible = "ibm,fsi-master-hub";
367 reg = <0x3400 0x400>;
368 #address-cells = <2>;