xref: /openbmc/u-boot/arch/arm/dts/ast2600-fpga.dts (revision 0d1d4e81)
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	pinctrl-names = "default";
57	pinctrl-0 = <&pinctrl_mdio1_default>;
58	#address-cells = <1>;
59	#size-cells = <0>;
60	ethphy0: ethernet-phy@0 {
61		reg = <0>;
62	};
63};
64
65&mac0 {
66	status = "okay";
67	phy-mode = "rgmii";
68	phy-handle = <&ethphy0>;
69	pinctrl-names = "default";
70	pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mac1link_default>;
71};
72
73&fmc {
74	status = "okay";
75	flash@0 {
76		compatible = "spi-flash", "sst,w25q256";
77		status = "okay";
78		spi-max-frequency = <50000000>;
79		spi-tx-bus-width = <2>;
80		spi-rx-bus-width = <2>;
81	};
82
83	flash@1 {
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};
91
92&emmc_slot0 {
93	status = "okay";
94	bus-width = <4>;
95	pinctrl-names = "default";
96	pinctrl-0 = <&pinctrl_emmc_default>;
97};
98
99&i2c0 {
100        status = "okay";
101};
102
103&i2c3 {
104        status = "okay";
105
106};
107
108&i2c7 {
109        status = "okay";
110
111};
112