xref: /openbmc/u-boot/arch/arm/dts/ast2400-evb.dts (revision fabbeb33)
1/dts-v1/;
2
3#include "ast2400-u-boot.dtsi"
4
5/ {
6        model = "AST2400 EVB";
7        compatible = "aspeed,ast2400-evb", "aspeed,ast2400";
8
9	memory {
10		device_type = "memory";
11		reg = <0x40000000 0x10000000>;
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 = <200000000>;
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&mac0 {
46	status = "okay";
47	phy-mode = "rgmii";
48
49	pinctrl-names = "default";
50	pinctrl-0 = <&pinctrl_mac1link_default &pinctrl_mdio1_default>;
51};
52
53&mac1 {
54	status = "okay";
55	phy-mode = "rgmii";
56	pinctrl-names = "default";
57	pinctrl-0 = <&pinctrl_mac2link_default &pinctrl_mdio2_default>;
58};
59
60&fmc {
61	status = "okay";
62	flash@0 {
63		compatible = "spi-flash", "sst,w25q256";
64		status = "okay";
65		spi-max-frequency = <50000000>;
66		spi-tx-bus-width = <2>;
67		spi-rx-bus-width = <2>;
68	};
69
70	flash@1 {
71                compatible = "spi-flash", "sst,w25q256";
72                status = "okay";
73                spi-max-frequency = <50000000>;
74                spi-tx-bus-width = <2>;
75                spi-rx-bus-width = <2>;
76        };
77};
78
79&spi1 {
80	status = "okay";
81	flash@0 {
82		pinctrl-names = "default";
83		pinctrl-0 = <&pinctrl_spi1_default>;
84		compatible = "spi-flash", "sst,w25q256";
85		status = "okay";
86		spi-max-frequency = <50000000>;
87		spi-tx-bus-width = <2>;
88		spi-rx-bus-width = <2>;
89	};
90	flash@1 {
91		pinctrl-names = "default";
92		pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1cs1_default>;
93		compatible = "spi-flash", "sst,w25q256";
94		status = "okay";
95		spi-max-frequency = <50000000>;
96		spi-tx-bus-width = <2>;
97		spi-rx-bus-width = <2>;
98	};
99};
100
101