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@bf000000 {
26 reg = <0xbf000000 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";
56 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
57 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
58 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
59 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
60 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
64 compatible = "gpio-keys";
68 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
69 linux,code = <ASPEED_GPIO(J, 2)>;
74 gpios = <&gpio ASPEED_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
75 linux,code = <ASPEED_GPIO(Q, 7)>;
86 #include "openbmc-flash-layout.dtsi"
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_spi1_default>;
104 memory-region = <&flash_memory>;
109 /* Rear RS-232 connector */
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_txd1_default
114 &pinctrl_rxd1_default
115 &pinctrl_nrts1_default
116 &pinctrl_ndtr1_default
117 &pinctrl_ndsr1_default
118 &pinctrl_ncts1_default
119 &pinctrl_ndcd1_default
120 &pinctrl_nri1_default>;
132 pinctrl-names = "default";
133 pinctrl-0 = <&pinctrl_rmii1_default>;
157 /* PCIe slot 1 (x8) */
162 /* PCIe slot 2 (x16) */
167 /* PCIe slot 3 (x16) */
172 /* PCIe slot 4 (x16) */
177 /* PCIe slot 5 (x8) */
185 compatible = "epson,rx8900";
194 compatible = "nuvoton,w83773g";
202 gpios = <ASPEED_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
204 line-name = "nic_func_mode0";
208 gpios = <ASPEED_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
210 line-name = "nic_func_mode1";
214 gpios = <ASPEED_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
216 line-name = "seq_cont";
229 aspeed,external-nodes = <&gfx &lhc>;
234 pinctrl-names = "default";
235 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
239 aspeed,fan-tach-ch = /bits/ 8 <0x08>;
244 aspeed,fan-tach-ch = /bits/ 8 <0x09>;
249 aspeed,fan-tach-ch = /bits/ 8 <0x0a>;
254 aspeed,fan-tach-ch = /bits/ 8 <0x0b>;
259 aspeed,fan-tach-ch = /bits/ 8 <0x0c>;
264 aspeed,fan-tach-ch = /bits/ 8 <0x0d>;
269 aspeed,fan-tach-ch = /bits/ 8 <0x0e>;