xref: /openbmc/u-boot/arch/arm/dts/ast2600a1-evb.dts (revision fd0bc623)
1/dts-v1/;
2
3#include "ast2600-u-boot.dtsi"
4
5/ {
6	memory {
7		device_type = "memory";
8		reg = <0x80000000 0x40000000>;
9	};
10
11	chosen {
12		stdout-path = &uart5;
13	};
14
15	aliases {
16		mmc0 = &emmc_slot0;
17		mmc1 = &sdhci_slot0;
18		mmc2 = &sdhci_slot1;
19		spi0 = &fmc;
20		spi1 = &spi1;
21		spi2 = &spi2;
22		ethernet0 = &mac0;
23		ethernet1 = &mac1;
24		ethernet2 = &mac2;
25		ethernet3 = &mac3;
26	};
27
28	cpus {
29		cpu@0 {
30			clock-frequency = <800000000>;
31		};
32		cpu@1 {
33			clock-frequency = <800000000>;
34		};
35	};
36};
37
38&uart5 {
39	u-boot,dm-pre-reloc;
40	status = "okay";
41};
42
43&sdrammc {
44	clock-frequency = <400000000>;
45};
46
47&wdt1 {
48	status = "okay";
49};
50
51&wdt2 {
52	status = "okay";
53};
54
55&wdt3 {
56	status = "okay";
57};
58
59&mdio {
60	status = "okay";
61	pinctrl-names = "default";
62	pinctrl-0 = <	&pinctrl_mdio1_default &pinctrl_mdio2_default
63			&pinctrl_mdio3_default &pinctrl_mdio4_default>;
64	#address-cells = <1>;
65	#size-cells = <0>;
66	ethphy0: ethernet-phy@0 {
67		reg = <0>;
68	};
69
70	ethphy1: ethernet-phy@1 {
71		reg = <0>;
72	};
73
74	ethphy2: ethernet-phy@2 {
75		reg = <0>;
76	};
77
78	ethphy3: ethernet-phy@3 {
79		reg = <0>;
80	};
81};
82
83&mac0 {
84	status = "okay";
85	phy-mode = "rgmii";
86	phy-handle = <&ethphy0>;
87	pinctrl-names = "default";
88	pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mac1link_default>;
89};
90
91&mac1 {
92	status = "okay";
93	phy-mode = "rgmii";
94	phy-handle = <&ethphy1>;
95	pinctrl-names = "default";
96	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mac2link_default>;
97};
98
99&mac2 {
100	status = "okay";
101	phy-mode = "rgmii";
102	phy-handle = <&ethphy2>;
103	pinctrl-names = "default";
104	pinctrl-0 = <&pinctrl_rgmii3_default &pinctrl_mac3link_default>;
105};
106
107&mac3 {
108	status = "okay";
109	phy-mode = "rgmii";
110	phy-handle = <&ethphy3>;
111	pinctrl-names = "default";
112	pinctrl-0 = <&pinctrl_rgmii4_default &pinctrl_mac4link_default>;
113};
114
115&fmc {
116	status = "okay";
117
118	pinctrl-names = "default";
119	pinctrl-0 = <&pinctrl_fmcquad_default>;
120
121	flash@0 {
122		compatible = "spi-flash", "sst,w25q256";
123		status = "okay";
124		spi-max-frequency = <50000000>;
125		spi-tx-bus-width = <4>;
126		spi-rx-bus-width = <4>;
127	};
128
129	flash@1 {
130		compatible = "spi-flash", "sst,w25q256";
131		status = "okay";
132		spi-max-frequency = <50000000>;
133		spi-tx-bus-width = <4>;
134		spi-rx-bus-width = <4>;
135	};
136
137	flash@2 {
138		compatible = "spi-flash", "sst,w25q256";
139		status = "okay";
140		spi-max-frequency = <50000000>;
141		spi-tx-bus-width = <4>;
142		spi-rx-bus-width = <4>;
143	};
144};
145
146&spi1 {
147	status = "okay";
148
149	pinctrl-names = "default";
150	pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1abr_default
151			&pinctrl_spi1cs1_default &pinctrl_spi1wp_default
152			&pinctrl_spi1wp_default &pinctrl_spi1quad_default>;
153
154	flash@0 {
155		compatible = "spi-flash", "sst,w25q256";
156		status = "okay";
157		spi-max-frequency = <50000000>;
158		spi-tx-bus-width = <4>;
159		spi-rx-bus-width = <4>;
160	};
161
162	flash@1 {
163		compatible = "spi-flash", "sst,w25q256";
164		status = "okay";
165		spi-max-frequency = <50000000>;
166		spi-tx-bus-width = <4>;
167		spi-rx-bus-width = <4>;
168	};
169};
170
171&spi2 {
172	status = "okay";
173
174	pinctrl-names = "default";
175	pinctrl-0 = <&pinctrl_spi2_default &pinctrl_spi2cs1_default
176			&pinctrl_spi2cs2_default &pinctrl_spi2quad_default>;
177
178	flash@0 {
179		compatible = "spi-flash", "sst,w25q256";
180		status = "okay";
181		spi-max-frequency = <50000000>;
182		spi-tx-bus-width = <4>;
183		spi-rx-bus-width = <4>;
184	};
185
186	flash@1 {
187		compatible = "spi-flash", "sst,w25q256";
188		status = "okay";
189		spi-max-frequency = <50000000>;
190		spi-tx-bus-width = <4>;
191		spi-rx-bus-width = <4>;
192	};
193
194	flash@2 {
195		compatible = "spi-flash", "sst,w25q256";
196		status = "okay";
197		spi-max-frequency = <50000000>;
198		spi-tx-bus-width = <4>;
199		spi-rx-bus-width = <4>;
200	};
201};
202
203&emmc {
204	u-boot,dm-pre-reloc;
205	timing-phase = <0x700ff>;
206};
207
208&emmc_slot0 {
209	u-boot,dm-pre-reloc;
210	status = "okay";
211	bus-width = <4>;
212	pinctrl-names = "default";
213	pinctrl-0 = <&pinctrl_emmc_default>;
214	sdhci-drive-type = <1>;
215};
216
217&sdhci {
218	timing-phase = <0xc6ffff>;
219};
220
221&sdhci_slot0 {
222	status = "okay";
223	bus-width = <4>;
224	pwr-gpios = <&gpio0 ASPEED_GPIO(V, 0) GPIO_ACTIVE_HIGH>;
225	pwr-sw-gpios = <&gpio0 ASPEED_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
226	pinctrl-names = "default";
227	pinctrl-0 = <&pinctrl_sd1_default>;
228	sdhci-drive-type = <1>;
229};
230
231&sdhci_slot1 {
232	status = "okay";
233	bus-width = <4>;
234	pwr-gpios = <&gpio0 ASPEED_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
235	pwr-sw-gpios = <&gpio0 ASPEED_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
236	pinctrl-names = "default";
237	pinctrl-0 = <&pinctrl_sd2_default>;
238	sdhci-drive-type = <1>;
239};
240
241&i2c4 {
242	status = "okay";
243
244	pinctrl-names = "default";
245	pinctrl-0 = <&pinctrl_i2c5_default>;
246};
247
248&i2c5 {
249	status = "okay";
250
251	pinctrl-names = "default";
252	pinctrl-0 = <&pinctrl_i2c6_default>;
253};
254
255&i2c6 {
256	status = "okay";
257
258	pinctrl-names = "default";
259	pinctrl-0 = <&pinctrl_i2c7_default>;
260};
261
262&i2c7 {
263	status = "okay";
264
265	pinctrl-names = "default";
266	pinctrl-0 = <&pinctrl_i2c8_default>;
267};
268
269&i2c8 {
270	status = "okay";
271
272	pinctrl-names = "default";
273	pinctrl-0 = <&pinctrl_i2c9_default>;
274};
275
276&pcie_bridge1 {
277	status = "okay";
278};
279
280&h2x {
281	status = "okay";
282};
283
284#if 0
285&fsim0 {
286	status = "okay";
287};
288
289&fsim1 {
290	status = "okay";
291};
292#endif
293
294&ehci1 {
295	status = "okay";
296};
297
298&display_port {
299	status = "okay";
300};
301