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