blob: 556ed469830cdb015dd7d3b3f7f3ad9d2883608b [file] [log] [blame]
Joel Stanleyeb323ad2017-12-11 14:55:28 +10301// SPDX-License-Identifier: GPL-2.0+
Joel Stanley02440622016-04-17 15:50:56 +09302/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;
Joel Stanley5de3b032018-04-19 13:50:03 +093016 bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
Joel Stanley02440622016-04-17 15:50:56 +093017 };
18
Joel Stanleye40ed272017-12-18 23:27:03 +103019 memory@80000000 {
Joel Stanley02440622016-04-17 15:50:56 +093020 reg = <0x80000000 0x20000000>;
21 };
Joel Stanley5de3b032018-04-19 13:50:03 +093022
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 };
Joel Stanley02440622016-04-17 15:50:56 +093035};
36
Cédric Le Goater74dc3cd2017-03-01 15:26:42 +010037&fmc {
38 status = "okay";
39 flash@0 {
40 status = "okay";
Cédric Le Goater63c65272017-04-06 19:02:33 +020041 m25p,fast-read;
Cédric Le Goater74dc3cd2017-03-01 15:26:42 +010042 label = "bmc";
Joel Stanleya9fc1022017-12-18 16:46:00 +103043#include "openbmc-flash-layout.dtsi"
Cédric Le Goater74dc3cd2017-03-01 15:26:42 +010044 };
45};
46
47&spi1 {
48 status = "okay";
49 flash@0 {
50 status = "okay";
Cédric Le Goater63c65272017-04-06 19:02:33 +020051 m25p,fast-read;
Cédric Le Goater74dc3cd2017-03-01 15:26:42 +010052 label = "pnor";
53 };
54};
55
56&spi2 {
57 status = "okay";
58};
59
Joel Stanley02440622016-04-17 15:50:56 +093060&uart5 {
61 status = "okay";
62};
Joel Stanley34ea5c92017-01-04 16:30:34 +110063
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};
Joel Stanleye6aa3ef2017-10-04 17:19:14 +103077
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};
Benjamin Herrenschmidt5b1d4fa2018-04-13 14:40:39 +100096
Benjamin Herrenschmidtb35bbd32018-06-29 13:51:06 +100097/*
98 * Enable port A as device (via the virtual hub) and port B as
99 * host by default on the eval board. This can be easily changed
100 * by replacing the override below with &ehci0 { ... } to enable
101 * host on both ports.
102 */
103&vhub {
Benjamin Herrenschmidt5b1d4fa2018-04-13 14:40:39 +1000104 status = "okay";
Benjamin Herrenschmidt5b1d4fa2018-04-13 14:40:39 +1000105};
106
107&ehci1 {
108 status = "okay";
Benjamin Herrenschmidt5b1d4fa2018-04-13 14:40:39 +1000109};
110
111&uhci {
112 status = "okay";
Benjamin Herrenschmidt5b1d4fa2018-04-13 14:40:39 +1000113};
Joel Stanley5de3b032018-04-19 13:50:03 +0930114
115&gfx {
116 status = "okay";
117 memory-region = <&gfx_memory>;
118};