1// SPDX-License-Identifier: GPL-2.0+
2/dts-v1/;
3
4#include "aspeed-g5.dtsi"
5
6/ {
7	model = "AST2500 EVB";
8	compatible = "aspeed,ast2500";
9
10	aliases {
11		serial4 = &uart5;
12	};
13
14	chosen {
15		stdout-path = &uart5;
16		bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
17	};
18
19	memory@80000000 {
20		reg = <0x80000000 0x20000000>;
21	};
22
23	reserved-memory {
24		#address-cells = <1>;
25		#size-cells = <1>;
26		ranges;
27
28		gfx_memory: framebuffer {
29			size = <0x01000000>;
30			alignment = <0x01000000>;
31			compatible = "shared-dma-pool";
32			reusable;
33		};
34	};
35};
36
37&fmc {
38	status = "okay";
39	flash@0 {
40		status = "okay";
41		m25p,fast-read;
42		label = "bmc";
43#include "openbmc-flash-layout.dtsi"
44	};
45};
46
47&spi1 {
48	status = "okay";
49	flash@0 {
50		status = "okay";
51		m25p,fast-read;
52		label = "pnor";
53	};
54};
55
56&spi2 {
57	status = "okay";
58};
59
60&uart5 {
61	status = "okay";
62};
63
64&mac0 {
65	status = "okay";
66
67	pinctrl-names = "default";
68	pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
69};
70
71&mac1 {
72	status = "okay";
73
74	pinctrl-names = "default";
75	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
76};
77
78&i2c3 {
79	status = "okay";
80
81	eeprom@50 {
82		compatible = "atmel,24c08";
83		reg = <0x50>;
84		pagesize = <16>;
85	};
86};
87
88&i2c7 {
89	status = "okay";
90
91	lm75@4d {
92		compatible = "national,lm75";
93		reg = <0x4d>;
94	};
95};
96
97&sdmmc {
98	status = "okay";
99};
100
101&sdhci0 {
102	status = "okay";
103
104	pinctrl-names = "default";
105	pinctrl-0 = <&pinctrl_sd1_default>;
106};
107
108/*
109 * Enable port A as device (via the virtual hub) and port B as
110 * host by default on the eval board. This can be easily changed
111 * by replacing the override below with &ehci0 { ... } to enable
112 * host on both ports.
113 */
114&vhub {
115	status = "okay";
116};
117
118&ehci1 {
119	status = "okay";
120};
121
122&uhci {
123	status = "okay";
124};
125
126&gfx {
127     status = "okay";
128     memory-region = <&gfx_memory>;
129};
130