Merge git://git.denx.de/u-boot-video
[oweals/u-boot.git] / arch / arm / dts / zynq-zc770-xm010.dts
1 /*
2  * Xilinx ZC770 XM010 board DTS
3  *
4  * Copyright (C) 2013 - 2015 Xilinx, Inc.
5  *
6  * SPDX-License-Identifier:     GPL-2.0+
7  */
8 /dts-v1/;
9 #include "zynq-7000.dtsi"
10
11 / {
12         compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000";
13         model = "Xilinx Zynq";
14
15         aliases {
16                 ethernet0 = &gem0;
17                 i2c0 = &i2c0;
18                 serial0 = &uart1;
19                 spi0 = &qspi;
20                 spi1 = &spi1;
21         };
22
23         chosen {
24                 bootargs = "";
25                 stdout-path = "serial0:115200n8";
26         };
27
28         memory@0 {
29                 device_type = "memory";
30                 reg = <0x0 0x40000000>;
31         };
32
33         usb_phy0: phy0 {
34                 compatible = "usb-nop-xceiv";
35                 #phy-cells = <0>;
36         };
37 };
38
39 &can0 {
40         status = "okay";
41 };
42
43 &gem0 {
44         status = "okay";
45         phy-mode = "rgmii-id";
46         phy-handle = <&ethernet_phy>;
47
48         ethernet_phy: ethernet-phy@7 {
49                 reg = <7>;
50         };
51 };
52
53 &i2c0 {
54         status = "okay";
55         clock-frequency = <400000>;
56
57         m24c02_eeprom@52 {
58                 compatible = "at,24c02";
59                 reg = <0x52>;
60         };
61
62 };
63
64 &qspi {
65         status = "okay";
66 };
67
68 &sdhci0 {
69         status = "okay";
70 };
71
72 &spi1 {
73         status = "okay";
74         num-cs = <4>;
75         is-decoded-cs = <0>;
76         flash@0 {
77                 compatible = "sst25wf080";
78                 reg = <1>;
79                 spi-max-frequency = <1000000>;
80                 #address-cells = <1>;
81                 #size-cells = <1>;
82                 partition@test {
83                         label = "spi-flash";
84                         reg = <0x0 0x100000>;
85                 };
86         };
87 };
88
89 &uart1 {
90         u-boot,dm-pre-reloc;
91         status = "okay";
92 };
93
94 &usb0 {
95         status = "okay";
96         dr_mode = "host";
97         usb-phy = <&usb_phy0>;
98 };