Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / arm / dts / zynq-zc770-xm013.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Xilinx ZC770 XM013 board DTS
4  *
5  * Copyright (C) 2013 Xilinx, Inc.
6  */
7 /dts-v1/;
8 #include "zynq-7000.dtsi"
9
10 / {
11         model = "Xilinx ZC770 XM013 board";
12         compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000";
13
14         aliases {
15                 ethernet0 = &gem1;
16                 i2c0 = &i2c1;
17                 serial0 = &uart0;
18                 spi0 = &qspi;
19                 spi1 = &spi0;
20         };
21
22         chosen {
23                 bootargs = "";
24                 stdout-path = "serial0:115200n8";
25         };
26
27         memory@0 {
28                 device_type = "memory";
29                 reg = <0x0 0x40000000>;
30         };
31 };
32
33 &can1 {
34         status = "okay";
35 };
36
37 &gem1 {
38         status = "okay";
39         phy-mode = "rgmii-id";
40         phy-handle = <&ethernet_phy>;
41
42         ethernet_phy: ethernet-phy@7 {
43                 reg = <7>;
44                 device_type = "ethernet-phy";
45         };
46 };
47
48 &i2c1 {
49         status = "okay";
50         clock-frequency = <400000>;
51
52         si570: clock-generator@55 {
53                 #clock-cells = <0>;
54                 compatible = "silabs,si570";
55                 temperature-stability = <50>;
56                 reg = <0x55>;
57                 factory-fout = <156250000>;
58                 clock-frequency = <148500000>;
59         };
60 };
61
62 &qspi {
63         status = "okay";
64 };
65
66 &spi0 {
67         status = "okay";
68         num-cs = <4>;
69         is-decoded-cs = <0>;
70         eeprom: eeprom@2 {
71                 at25,byte-len = <8192>;
72                 at25,addr-mode = <2>;
73                 at25,page-size = <32>;
74
75                 compatible = "atmel,at25";
76                 reg = <2>;
77                 spi-max-frequency = <1000000>;
78         };
79 };
80
81 &uart0 {
82         u-boot,dm-pre-reloc;
83         status = "okay";
84 };