xref: /openbmc/u-boot/arch/arm/dts/ast2500-evb.dts (revision cc2ae64d)
1/dts-v1/;
2
3#include "ast2500-u-boot.dtsi"
4
5/ {
6        model = "AST2500 EVB";
7        compatible = "aspeed,ast2500-evb", "aspeed,ast2500";
8
9	memory {
10		device_type = "memory";
11		reg = <0x80000000 0x20000000>;
12	};
13
14	chosen {
15		stdout-path = &uart5;
16	};
17
18	aliases {
19		spi0 = &fmc;
20		spi1 = &spi1;
21		ethernet0 = &mac0;
22		ethernet1 = &mac1;
23	};
24};
25
26&uart5 {
27	u-boot,dm-pre-reloc;
28	status = "okay";
29};
30
31&sdrammc {
32	clock-frequency = <400000000>;
33};
34
35&wdt1 {
36	u-boot,dm-pre-reloc;
37	status = "okay";
38};
39
40&wdt2 {
41	u-boot,dm-pre-reloc;
42	status = "okay";
43};
44
45&wdt3 {
46	u-boot,dm-pre-reloc;
47	status = "okay";
48};
49
50&mac0 {
51	status = "okay";
52	phy-mode = "rgmii";
53
54	pinctrl-names = "default";
55	pinctrl-0 = <&pinctrl_mac1link_default &pinctrl_mdio1_default>;
56};
57
58&mac1 {
59	status = "okay";
60	phy-mode = "rgmii";
61	pinctrl-names = "default";
62	pinctrl-0 = <&pinctrl_mac2link_default &pinctrl_mdio2_default>;
63};
64
65&fmc {
66	status = "okay";
67	flash@0 {
68		compatible = "spi-flash", "sst,w25q256";
69		status = "okay";
70		spi-max-frequency = <50000000>;
71		spi-tx-bus-width = <2>;
72		spi-rx-bus-width = <2>;
73	};
74
75	flash@1 {
76                compatible = "spi-flash", "sst,w25q256";
77                status = "okay";
78                spi-max-frequency = <50000000>;
79                spi-tx-bus-width = <2>;
80                spi-rx-bus-width = <2>;
81        };
82};
83
84&spi1 {
85	status = "okay";
86	flash@0 {
87		pinctrl-names = "default";
88		pinctrl-0 = <&pinctrl_spi1_default>;
89		compatible = "spi-flash", "sst,w25q256";
90		status = "okay";
91		spi-max-frequency = <50000000>;
92		spi-tx-bus-width = <2>;
93		spi-rx-bus-width = <2>;
94	};
95	flash@1 {
96		pinctrl-names = "default";
97		pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1cs1_default>;
98		compatible = "spi-flash", "sst,w25q256";
99		status = "okay";
100		spi-max-frequency = <50000000>;
101		spi-tx-bus-width = <2>;
102		spi-rx-bus-width = <2>;
103	};
104};
105
106&sdhci_slot0 {
107	status = "okay";
108	bus-width = <4>;
109	pinctrl-names = "default";
110	pinctrl-0 = <&pinctrl_sd1_default>;
111};
112
113&sdhci_slot1 {
114	status = "okay";
115	bus-width = <4>;
116	pinctrl-names = "default";
117	pinctrl-0 = <&pinctrl_sd2_default>;
118};
119
120&i2c3 {
121        status = "okay";
122
123};
124
125&i2c7 {
126        status = "okay";
127
128};
129