]> rtime.felk.cvut.cz Git - zynq/linux.git/blob - arch/arm/boot/dts/zynq-zc770-xm013.dts
ARM: zynq: Add/Update/Sync DTs for xilinx platforms
[zynq/linux.git] / arch / arm / boot / 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         is-dual = <1>;
65         num-cs = <1>;
66         flash@0 {
67                 compatible = "n25q128a11";
68                 reg = <0x0>;
69                 spi-tx-bus-width = <1>;
70                 spi-rx-bus-width = <4>;
71                 spi-max-frequency = <50000000>;
72                 #address-cells = <1>;
73                 #size-cells = <1>;
74                 partition@qspi-fsbl-uboot {
75                         label = "qspi-fsbl-uboot";
76                         reg = <0x0 0x100000>;
77                 };
78                 partition@qspi-linux {
79                         label = "qspi-linux";
80                         reg = <0x100000 0x500000>;
81                 };
82                 partition@qspi-device-tree {
83                         label = "qspi-device-tree";
84                         reg = <0x600000 0x20000>;
85                 };
86                 partition@qspi-rootfs {
87                         label = "qspi-rootfs";
88                         reg = <0x620000 0x5E0000>;
89                 };
90                 partition@qspi-bitstream {
91                         label = "qspi-bitstream";
92                         reg = <0xC00000 0x400000>;
93                 };
94         };
95 };
96
97 &spi0 {
98         status = "okay";
99         num-cs = <4>;
100         is-decoded-cs = <0>;
101         eeprom: eeprom@0 {
102                 at25,byte-len = <8192>;
103                 at25,addr-mode = <2>;
104                 at25,page-size = <32>;
105
106                 compatible = "atmel,at25";
107                 reg = <2>;
108                 spi-max-frequency = <1000000>;
109         };
110 };
111
112 &uart0 {
113         u-boot,dm-pre-reloc;
114         status = "okay";
115 };