xref: /openbmc/u-boot/arch/arm/dts/ast2500-evb.dts (revision cd2e88b3)
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		status = "okay";
69		spi-max-frequency = <50000000>;
70		spi-tx-bus-width = <2>;
71		spi-rx-bus-width = <2>;
72	};
73
74	flash@1 {
75                status = "okay";
76                spi-max-frequency = <50000000>;
77                spi-tx-bus-width = <2>;
78                spi-rx-bus-width = <2>;
79        };
80};
81
82&spi1 {
83	status = "okay";
84	flash@0 {
85		pinctrl-names = "default";
86		pinctrl-0 = <&pinctrl_spi1_default>;
87		status = "okay";
88		spi-max-frequency = <50000000>;
89		spi-tx-bus-width = <2>;
90		spi-rx-bus-width = <2>;
91	};
92	flash@1 {
93		pinctrl-names = "default";
94		pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1cs1_default>;
95		status = "okay";
96		spi-max-frequency = <50000000>;
97		spi-tx-bus-width = <2>;
98		spi-rx-bus-width = <2>;
99	};
100};
101
102&sdhci_slot0 {
103	status = "okay";
104	bus-width = <4>;
105	pinctrl-names = "default";
106	pinctrl-0 = <&pinctrl_sd1_default>;
107};
108
109&sdhci_slot1 {
110	status = "okay";
111	bus-width = <4>;
112	pinctrl-names = "default";
113	pinctrl-0 = <&pinctrl_sd2_default>;
114};
115
116&i2c3 {
117        status = "okay";
118
119};
120
121&i2c7 {
122        status = "okay";
123
124};
125