xref: /openbmc/u-boot/arch/arm/dts/ast2600-fpga.dts (revision 57efeb04)
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		ethernet0 = &mac0;
18	};
19
20	cpus {
21		cpu@0 {
22			clock-frequency = <50000000>;
23		};
24		cpu@1 {
25			clock-frequency = <50000000>;
26		};
27	};
28};
29
30&uart5 {
31	u-boot,dm-pre-reloc;
32	status = "okay";
33};
34
35&sdrammc {
36	clock-frequency = <400000000>;
37};
38
39&wdt1 {
40	u-boot,dm-pre-reloc;
41	status = "okay";
42};
43
44&wdt2 {
45	u-boot,dm-pre-reloc;
46	status = "okay";
47};
48
49&wdt3 {
50	u-boot,dm-pre-reloc;
51	status = "okay";
52};
53
54&mdio {
55	status = "okay";
56	#address-cells = <1>;
57	#size-cells = <0>;
58	ethphy1: ethernet-phy@1 {
59		reg = <0>;
60	};
61};
62
63&mac0 {
64	status = "okay";
65	phy-mode = "rgmii";
66	phy-handle = <&ethphy1>;
67	pinctrl-names = "default";
68	pinctrl-0 = <&pinctrl_mac1link_default &pinctrl_mdio1_default>;
69};
70
71&fmc {
72	status = "okay";
73	flash@0 {
74		compatible = "spi-flash", "sst,w25q256";
75		status = "okay";
76		spi-max-frequency = <50000000>;
77		spi-tx-bus-width = <2>;
78		spi-rx-bus-width = <2>;
79	};
80
81	flash@1 {
82                compatible = "spi-flash", "sst,w25q256";
83                status = "okay";
84                spi-max-frequency = <50000000>;
85                spi-tx-bus-width = <2>;
86                spi-rx-bus-width = <2>;
87        };
88};
89
90&emmc_slot0 {
91	status = "okay";
92	bus-width = <4>;
93	pinctrl-names = "default";
94	pinctrl-0 = <&pinctrl_emmc_default>;
95};
96
97&i2c0 {
98        status = "okay";
99};
100
101&i2c3 {
102        status = "okay";
103
104};
105
106&i2c7 {
107        status = "okay";
108
109};
110