1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2019 YADRO
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
9 compatible = "yadro,nicole-bmc", "aspeed,ast2500";
13 bootargs = "console=ttyS4,115200 earlyprintk";
17 reg = <0x80000000 0x20000000>;
25 vga_memory: framebuffer@9f000000 {
27 reg = <0x9f000000 0x01000000>; /* 16M */
30 flash_memory: region@98000000 {
32 reg = <0x98000000 0x04000000>; /* 64M */
35 coldfire_memory: codefire_memory@9ef00000 {
36 reg = <0x9ef00000 0x00100000>;
40 gfx_memory: framebuffer {
42 alignment = <0x01000000>;
43 compatible = "shared-dma-pool";
47 video_engine_memory: jpegbuffer {
48 size = <0x02000000>; /* 32M */
49 alignment = <0x01000000>;
50 compatible = "shared-dma-pool";
56 compatible = "gpio-leds";
59 label = "platform:green:power";
60 gpios = <&gpio ASPEED_GPIO(AA, 4) GPIO_ACTIVE_HIGH>;
64 label = "platform:blue:indicator";
65 gpios = <&gpio ASPEED_GPIO(AA, 7) GPIO_ACTIVE_HIGH>;
69 label = "platform:red:fault";
70 gpios = <&gpio ASPEED_GPIO(AA, 3) GPIO_ACTIVE_HIGH>;
74 label = "platform:yellow:alarm";
75 gpios = <&gpio ASPEED_GPIO(AA, 1) GPIO_ACTIVE_HIGH>;
80 compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
85 memory-region = <&coldfire_memory>;
86 aspeed,sram = <&sram>;
87 aspeed,cvic = <&cvic>;
89 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
90 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
91 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
92 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
93 trans-gpios = <&gpio ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>;
97 compatible = "gpio-keys";
101 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
102 linux,code = <ASPEED_GPIO(J, 2)>;
107 compatible = "iio-hwmon";
108 io-channels = <&adc 12>;
118 spi-max-frequency = <50000000>;
119 #include "openbmc-flash-layout.dtsi"
125 pinctrl-names = "default";
126 pinctrl-0 = <&pinctrl_spi1_default>;
132 spi-max-frequency = <100000000>;
138 memory-region = <&flash_memory>;
143 /* Rear RS-232 connector */
146 pinctrl-names = "default";
147 pinctrl-0 = <&pinctrl_txd1_default
148 &pinctrl_rxd1_default
149 &pinctrl_nrts1_default
150 &pinctrl_ndtr1_default
151 &pinctrl_ndsr1_default
152 &pinctrl_ncts1_default
153 &pinctrl_ndcd1_default
154 &pinctrl_nri1_default>;
166 pinctrl-names = "default";
167 pinctrl-0 = <&pinctrl_rmii1_default>;
168 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
169 <&syscon ASPEED_CLK_MAC1RCLK>;
170 clock-names = "MACCLK", "RCLK";
177 compatible = "atmel,24c256";
185 /* CPU0 characterization connector */
195 /* Voltage regulators for CPU0 */
200 /* Voltage regulators for CPU1 */
207 compatible = "epson,rx8900";
219 /*A0-A7*/ "","cfam-reset","","","","","fsi-mux","",
220 /*B0-B7*/ "","","","","","","","",
221 /*C0-C7*/ "","","","","","","","",
222 /*D0-D7*/ "fsi-enable","bmc_power_up","sys_pwrok_buf",
223 "func_mode0","func_mode1","func_mode2","","",
224 /*E0-E7*/ "","ncsi_cfg","","","","","","",
225 /*F0-F7*/ "","","","","","","","",
226 /*G0-G7*/ "","","","","","","","",
227 /*H0-H7*/ "","","","","","","","",
228 /*I0-I7*/ "","","","","","","","",
229 /*J0-J7*/ "","","checkstop","","","","","",
230 /*K0-K7*/ "","","","","","","","",
231 /*L0-L7*/ "","","","","","","","",
232 /*M0-M7*/ "","","","","","","","",
233 /*N0-N7*/ "","","","","","","","",
234 /*O0-O7*/ "","","power-button","","","","","",
235 /*P0-P7*/ "","fsi-trans","pm_rtc_adc_en","","","","","",
236 /*Q0-Q7*/ "","","","","","","","id-button",
237 /*R0-R7*/ "","software_pwrgood","","","","","","",
238 /*S0-S7*/ "","","","","","","","seq_cont",
239 /*T0-T7*/ "","","","","","","","",
240 /*U0-U7*/ "","","","","","","","",
241 /*V0-V7*/ "","","","","","","","",
242 /*W0-W7*/ "","","","","","","","",
243 /*X0-X7*/ "","","","","","","","",
244 /*Y0-Y7*/ "","","","","","","","",
245 /*Z0-Z7*/ "","","","","","","","",
246 /*AA0-AA7*/ "fsi-clock","led-attention","fsi-data","led-fault",
247 "led-power","","","led-identify",
248 /*AB0-AB7*/ "","","","","","","","",
249 /*AC0-AC7*/ "","","","","","","","";
253 gpios = <ASPEED_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
258 gpios = <ASPEED_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
263 gpios = <ASPEED_GPIO(D, 5) GPIO_ACTIVE_HIGH>;
268 gpios = <ASPEED_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
274 gpios = <ASPEED_GPIO(E, 1) GPIO_ACTIVE_HIGH>;
284 memory-region = <&gfx_memory>;
288 aspeed,external-nodes = <&gfx &lhc>;
302 pinctrl-names = "default";
303 pinctrl-0 = <&pinctrl_adc0_default
304 &pinctrl_adc1_default
305 &pinctrl_adc2_default
306 &pinctrl_adc3_default
307 &pinctrl_adc4_default
308 &pinctrl_adc5_default
309 &pinctrl_adc6_default
310 &pinctrl_adc7_default
311 &pinctrl_adc8_default
312 &pinctrl_adc9_default
313 &pinctrl_adc10_default
314 &pinctrl_adc11_default
315 &pinctrl_adc12_default
316 &pinctrl_adc13_default
317 &pinctrl_adc14_default
318 &pinctrl_adc15_default>;
323 memory-region = <&video_engine_memory>;
326 #include "ibm-power9-dual.dtsi"