xref: /openbmc/u-boot/arch/arm/dts/ast2400-evb.dts (revision 32b6b914)
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		status = "okay";
64		spi-max-frequency = <50000000>;
65		spi-tx-bus-width = <2>;
66		spi-rx-bus-width = <2>;
67	};
68
69	flash@1 {
70                status = "okay";
71                spi-max-frequency = <50000000>;
72                spi-tx-bus-width = <2>;
73                spi-rx-bus-width = <2>;
74        };
75};
76
77&spi1 {
78	status = "okay";
79	flash@0 {
80		pinctrl-names = "default";
81		pinctrl-0 = <&pinctrl_spi1_default>;
82		status = "okay";
83		spi-max-frequency = <50000000>;
84		spi-tx-bus-width = <2>;
85		spi-rx-bus-width = <2>;
86	};
87	flash@1 {
88		pinctrl-names = "default";
89		pinctrl-0 = <&pinctrl_spi1_default &pinctrl_spi1cs1_default>;
90		status = "okay";
91		spi-max-frequency = <50000000>;
92		spi-tx-bus-width = <2>;
93		spi-rx-bus-width = <2>;
94	};
95};
96
97