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