arm: zynq: Add board support for cc108
[oweals/u-boot.git] / arch / arm / dts / zynq-zc770-xm013.dts
1 /*
2  * Xilinx ZC770 XM013 board DTS
3  *
4  * Copyright (C) 2013 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-xm013", "xlnx,zynq-7000";
13         model = "Xilinx Zynq";
14
15         aliases {
16                 ethernet0 = &gem1;
17                 i2c0 = &i2c1;
18                 serial0 = &uart0;
19                 spi0 = &qspi;
20                 spi1 = &spi0;
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
34 &can1 {
35         status = "okay";
36 };
37
38 &gem1 {
39         status = "okay";
40         phy-mode = "rgmii-id";
41         phy-handle = <&ethernet_phy>;
42
43         ethernet_phy: ethernet-phy@7 {
44                 reg = <7>;
45                 device_type = "ethernet-phy";
46         };
47 };
48
49 &i2c1 {
50         status = "okay";
51         clock-frequency = <400000>;
52
53         si570: clock-generator@55 {
54                 #clock-cells = <0>;
55                 compatible = "silabs,si570";
56                 temperature-stability = <50>;
57                 reg = <0x55>;
58                 factory-fout = <156250000>;
59                 clock-frequency = <148500000>;
60         };
61 };
62
63 &qspi {
64         status = "okay";
65 };
66
67 &spi0 {
68         status = "okay";
69         num-cs = <4>;
70         is-decoded-cs = <0>;
71         eeprom: at25@0 {
72                 at25,byte-len = <8192>;
73                 at25,addr-mode = <2>;
74                 at25,page-size = <32>;
75
76                 compatible = "atmel,at25";
77                 reg = <2>;
78                 spi-max-frequency = <1000000>;
79         };
80 };
81
82 &uart0 {
83         u-boot,dm-pre-reloc;
84         status = "okay";
85 };