xref: /openbmc/u-boot/arch/arm/dts/ast2600-evb.dts (revision baa29d5e)
1/dts-v1/;
2
3#include "ast2600-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#if 0
18		ethernet0 = &mac0;
19#else
20		ethernet1 = &mac1;
21		ethernet2 = &mac2;
22		ethernet3 = &mac3;
23#endif
24	};
25};
26
27&uart5 {
28	u-boot,dm-pre-reloc;
29	status = "okay";
30};
31
32&sdrammc {
33	clock-frequency = <400000000>;
34};
35
36&wdt1 {
37	u-boot,dm-pre-reloc;
38	status = "okay";
39};
40
41&wdt2 {
42	u-boot,dm-pre-reloc;
43	status = "okay";
44};
45
46&wdt3 {
47	u-boot,dm-pre-reloc;
48	status = "okay";
49};
50
51&mdio {
52	status = "okay";
53};
54
55#if 0
56&mac0 {
57	status = "okay";
58	phy-mode = "rgmii";
59
60	pinctrl-names = "default";
61	pinctrl-0 = <&pinctrl_mac1link_default &pinctrl_mdio1_default>;
62};
63#else
64&mac1 {
65	status = "okay";
66	phy-mode = "rgmii";
67	pinctrl-names = "default";
68	pinctrl-0 = <&pinctrl_mac2link_default &pinctrl_mdio2_default>;
69};
70
71&mac2 {
72	status = "okay";
73	phy-mode = "rgmii";
74	pinctrl-names = "default";
75	pinctrl-0 = <&pinctrl_mac3link_default &pinctrl_mdio3_default>;
76};
77
78&mac3 {
79	status = "okay";
80	phy-mode = "rgmii";
81	pinctrl-names = "default";
82	pinctrl-0 = <&pinctrl_mac4link_default &pinctrl_mdio4_default>;
83};
84#endif
85&fmc {
86	status = "okay";
87	flash@0 {
88		compatible = "spi-flash", "sst,w25q256";
89		status = "okay";
90		spi-max-frequency = <50000000>;
91		spi-tx-bus-width = <2>;
92		spi-rx-bus-width = <2>;
93	};
94
95	flash@1 {
96                compatible = "spi-flash", "sst,w25q256";
97                status = "okay";
98                spi-max-frequency = <50000000>;
99                spi-tx-bus-width = <2>;
100                spi-rx-bus-width = <2>;
101        };
102};
103
104#if 0
105&sdhci_slot0 {
106	status = "okay";
107	bus-width = <4>;
108	pwr-gpios = <&gpio0 ASPEED_GPIO(V, 0) GPIO_ACTIVE_HIGH>;
109	pwr-sw-gpios = <&gpio0 ASPEED_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
110	pinctrl-names = "default";
111	pinctrl-0 = <&pinctrl_sd1_default>;
112};
113
114&sdhci_slot1 {
115	status = "okay";
116	bus-width = <4>;
117    pwr-gpios = <&gpio0 ASPEED_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
118    pwr-sw-gpios = <&gpio0 ASPEED_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
119	pinctrl-names = "default";
120	pinctrl-0 = <&pinctrl_sd2_default>;
121};
122#endif
123
124&emmc_slot0 {
125	status = "okay";
126	bus-width = <4>;
127	pinctrl-names = "default";
128	pinctrl-0 = <&pinctrl_emmc_default>;
129};
130
131&i2c0 {
132        status = "okay";
133};
134
135&i2c3 {
136        status = "okay";
137
138};
139
140&i2c7 {
141        status = "okay";
142
143};
144