blob: b6982c0c45dae9f3e03f527606476001a594c427 [file] [log] [blame]
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +05301/*
2 * Xilinx ZC770 XM010 board DTS
3 *
Michal Simek1b27e662015-07-22 11:36:32 +02004 * Copyright (C) 2013 - 2015 Xilinx, Inc.
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +05305 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8/dts-v1/;
9#include "zynq-7000.dtsi"
10
11/ {
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +053012 compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000";
Michal Simek1b27e662015-07-22 11:36:32 +020013 model = "Xilinx Zynq";
Masahiro Yamadad6367a22014-05-15 20:37:54 +090014
Masahiro Yamada87f645e2014-05-15 20:37:55 +090015 aliases {
Michal Simek1b27e662015-07-22 11:36:32 +020016 ethernet0 = &gem0;
17 i2c0 = &i2c0;
Masahiro Yamada87f645e2014-05-15 20:37:55 +090018 serial0 = &uart1;
Jagan Teki4d79f782015-09-04 12:49:49 +053019 spi0 = &qspi;
20 spi1 = &spi1;
Masahiro Yamada87f645e2014-05-15 20:37:55 +090021 };
22
Michal Simek1b27e662015-07-22 11:36:32 +020023 chosen {
Michal Simekc9af95a2016-01-12 13:56:44 +010024 bootargs = "root=/dev/ram rw earlyprintk";
25 stdout-path = "serial0:115200n8";
Michal Simek1b27e662015-07-22 11:36:32 +020026 };
27
Michal Simeka8d362f2015-08-12 11:25:05 +020028 memory {
Masahiro Yamadad6367a22014-05-15 20:37:54 +090029 device_type = "memory";
Michal Simek1b27e662015-07-22 11:36:32 +020030 reg = <0x0 0x40000000>;
31 };
32
33 usb_phy0: phy0 {
34 compatible = "usb-nop-xceiv";
35 #phy-cells = <0>;
Masahiro Yamadad6367a22014-05-15 20:37:54 +090036 };
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +053037};
Jagan Teki414595e2015-06-27 00:51:35 +053038
39&spi1 {
40 status = "okay";
Michal Simek1b27e662015-07-22 11:36:32 +020041 num-cs = <4>;
42 is-decoded-cs = <0>;
43 flash@0 {
44 compatible = "sst25wf080";
45 reg = <1>;
46 spi-max-frequency = <1000000>;
47 #address-cells = <1>;
48 #size-cells = <1>;
49 partition@test {
50 label = "spi-flash";
51 reg = <0x0 0x100000>;
52 };
53 };
54};
55
Jagan Teki4d79f782015-09-04 12:49:49 +053056&qspi {
57 status = "okay";
58};
59
Michal Simek1b27e662015-07-22 11:36:32 +020060&can0 {
61 status = "okay";
62};
63
64&gem0 {
65 status = "okay";
66 phy-mode = "rgmii-id";
67 phy-handle = <&ethernet_phy>;
68
69 ethernet_phy: ethernet-phy@7 {
70 reg = <7>;
71 };
72};
73
74&i2c0 {
75 status = "okay";
76 clock-frequency = <400000>;
77
78 m24c02_eeprom@52 {
79 compatible = "at,24c02";
80 reg = <0x52>;
81 };
82
83};
84
85&sdhci0 {
86 status = "okay";
87};
88
89&uart1 {
Simon Glass8c7323a2015-10-17 19:41:24 -060090 u-boot,dm-pre-reloc;
Michal Simek1b27e662015-07-22 11:36:32 +020091 status = "okay";
92};
93
94&usb0 {
95 status = "okay";
96 dr_mode = "host";
97 usb-phy = <&usb_phy0>;
Jagan Teki414595e2015-06-27 00:51:35 +053098};