]> rtime.felk.cvut.cz Git - zynq/linux.git/blob - arch/arm/boot/dts/zynq-zc770-xm011.dts
arm: zynq: Fix eeprom dt nodes
[zynq/linux.git] / arch / arm / boot / dts / zynq-zc770-xm011.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Xilinx ZC770 XM013 board DTS
4  *
5  * Copyright (C) 2013-2018 Xilinx, Inc.
6  */
7 /dts-v1/;
8 #include "zynq-7000.dtsi"
9
10 / {
11         compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000";
12         model = "Xilinx Zynq";
13
14         aliases {
15                 i2c0 = &i2c1;
16                 serial0 = &uart1;
17                 spi0 = &spi0;
18         };
19
20         chosen {
21                 bootargs = "";
22                 stdout-path = "serial0:115200n8";
23         };
24
25         memory@0 {
26                 device_type = "memory";
27                 reg = <0x0 0x40000000>;
28         };
29
30         usb_phy1: phy1 {
31                 compatible = "usb-nop-xceiv";
32                 #phy-cells = <0>;
33         };
34 };
35
36 &can0 {
37         status = "okay";
38 };
39
40 &i2c1 {
41         status = "okay";
42         clock-frequency = <400000>;
43
44         eeprom: eeprom@52 {
45                 compatible = "atmel,24c02";
46                 reg = <0x52>;
47         };
48 };
49
50 &nand0 {
51         status = "okay";
52         arm,nand-cycle-t0 = <0x4>;
53         arm,nand-cycle-t1 = <0x4>;
54         arm,nand-cycle-t2 = <0x1>;
55         arm,nand-cycle-t3 = <0x2>;
56         arm,nand-cycle-t4 = <0x2>;
57         arm,nand-cycle-t5 = <0x2>;
58         arm,nand-cycle-t6 = <0x4>;
59
60         partition@nand-fsbl-uboot {
61                 label = "nand-fsbl-uboot";
62                 reg = <0x0 0x100000>;
63         };
64         partition@nand-linux {
65                 label = "nand-linux";
66                 reg = <0x100000 0x500000>;
67         };
68         partition@nand-device-tree {
69                 label = "nand-device-tree";
70                 reg = <0x600000 0x20000>;
71         };
72         partition@nand-rootfs {
73                 label = "nand-rootfs";
74                 reg = <0x620000 0x5E0000>;
75         };
76         partition@nand-bitstream {
77                 label = "nand-bitstream";
78                 reg = <0xC00000 0x400000>;
79         };
80 };
81
82 &smcc {
83         status = "okay";
84         arm,addr25 = <0x0>;
85         arm,nor-chip-sel0 = <0x0>;
86         arm,nor-chip-sel1 = <0x0>;
87         arm,sram-chip-sel0 = <0x0>;
88         arm,sram-chip-sel1 = <0x0>;
89 };
90
91 &spi0 {
92         status = "okay";
93         num-cs = <4>;
94         is-decoded-cs = <0>;
95 };
96
97 &uart1 {
98         u-boot,dm-pre-reloc;
99         status = "okay";
100 };
101
102 &usb1 {
103         status = "okay";
104         dr_mode = "host";
105         usb-phy = <&usb_phy1>;
106 };