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