1 // SPDX-License-Identifier: GPL-2.0+
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "ibm,romulus-bmc", "aspeed,ast2500";
12 bootargs = "console=ttyS4,115200 earlyprintk";
16 reg = <0x80000000 0x20000000>;
24 vga_memory: framebuffer@9f000000 {
26 reg = <0x9f000000 0x01000000>; /* 16M */
29 flash_memory: region@98000000 {
31 reg = <0x98000000 0x04000000>; /* 64M */
36 compatible = "gpio-leds";
39 gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
43 gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
47 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
52 compatible = "fsi-master-gpio", "fsi-master";
57 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
58 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
59 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
60 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
61 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
65 compatible = "gpio-keys";
69 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
70 linux,code = <ASPEED_GPIO(J, 2)>;
75 gpios = <&gpio ASPEED_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
76 linux,code = <ASPEED_GPIO(Q, 7)>;
87 #include "openbmc-flash-layout.dtsi"
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_spi1_default>;
105 memory-region = <&flash_memory>;
110 /* Rear RS-232 connector */
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_txd1_default
115 &pinctrl_rxd1_default
116 &pinctrl_nrts1_default
117 &pinctrl_ndtr1_default
118 &pinctrl_ndsr1_default
119 &pinctrl_ncts1_default
120 &pinctrl_ndcd1_default
121 &pinctrl_nri1_default>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&pinctrl_rmii1_default>;
158 /* PCIe slot 1 (x8) */
163 /* PCIe slot 2 (x16) */
168 /* PCIe slot 3 (x16) */
173 /* PCIe slot 4 (x16) */
178 /* PCIe slot 5 (x8) */
186 compatible = "epson,rx8900";
195 compatible = "nuvoton,w83773g";
203 gpios = <ASPEED_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
205 line-name = "nic_func_mode0";
209 gpios = <ASPEED_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
211 line-name = "nic_func_mode1";
215 gpios = <ASPEED_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
217 line-name = "seq_cont";
230 aspeed,external-nodes = <&gfx &lhc>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
240 aspeed,fan-tach-ch = /bits/ 8 <0x08>;
245 aspeed,fan-tach-ch = /bits/ 8 <0x09>;
250 aspeed,fan-tach-ch = /bits/ 8 <0x0a>;
255 aspeed,fan-tach-ch = /bits/ 8 <0x0b>;
260 aspeed,fan-tach-ch = /bits/ 8 <0x0c>;
265 aspeed,fan-tach-ch = /bits/ 8 <0x0d>;
270 aspeed,fan-tach-ch = /bits/ 8 <0x0e>;