blob: a779672f3add58e9843fbc40956e1b7dd6797d5f [file] [log] [blame]
Michal Simek051a8ad2018-03-27 13:43:05 +02001// SPDX-License-Identifier: GPL-2.0+
Jagannadha Sutradharudu Teki9e0802b2014-01-09 01:48:29 +05302/*
3 * Xilinx ZC770 XM010 board DTS
4 *
Michal Simek051a8ad2018-03-27 13:43:05 +02005 * Copyright (C) 2013-2018 Xilinx, Inc.
Jagannadha Sutradharudu Teki9e0802b2014-01-09 01:48:29 +05306 */
7/dts-v1/;
8#include "zynq-7000.dtsi"
9
10/ {
Jagannadha Sutradharudu Teki9e0802b2014-01-09 01:48:29 +053011 compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000";
Michal Simek5c45b162015-07-22 11:36:32 +020012 model = "Xilinx Zynq";
Masahiro Yamada7d34c5d2014-05-15 20:37:54 +090013
Masahiro Yamada9f9d41b2014-05-15 20:37:55 +090014 aliases {
Michal Simek5c45b162015-07-22 11:36:32 +020015 ethernet0 = &gem0;
16 i2c0 = &i2c0;
Masahiro Yamada9f9d41b2014-05-15 20:37:55 +090017 serial0 = &uart1;
Jagan Teki7b0d3452015-09-04 12:49:49 +053018 spi0 = &qspi;
19 spi1 = &spi1;
Masahiro Yamada9f9d41b2014-05-15 20:37:55 +090020 };
21
Michal Simek5c45b162015-07-22 11:36:32 +020022 chosen {
Michal Simek936bbc52016-04-07 11:15:00 +020023 bootargs = "";
Michal Simek46919412016-01-12 13:56:44 +010024 stdout-path = "serial0:115200n8";
Michal Simek5c45b162015-07-22 11:36:32 +020025 };
26
Michal Simekcc7978b2016-11-11 13:11:37 +010027 memory@0 {
Masahiro Yamada7d34c5d2014-05-15 20:37:54 +090028 device_type = "memory";
Michal Simek5c45b162015-07-22 11:36:32 +020029 reg = <0x0 0x40000000>;
30 };
31
32 usb_phy0: phy0 {
33 compatible = "usb-nop-xceiv";
34 #phy-cells = <0>;
Masahiro Yamada7d34c5d2014-05-15 20:37:54 +090035 };
Jagannadha Sutradharudu Teki9e0802b2014-01-09 01:48:29 +053036};
Jagan Teki89cab972015-06-27 00:51:35 +053037
Michal Simek5c45b162015-07-22 11:36:32 +020038&can0 {
39 status = "okay";
40};
41
42&gem0 {
43 status = "okay";
44 phy-mode = "rgmii-id";
45 phy-handle = <&ethernet_phy>;
46
47 ethernet_phy: ethernet-phy@7 {
48 reg = <7>;
Sai Pavan Boddu5fad1ab2017-03-06 18:17:19 +053049 device_type = "ethernet-phy";
Michal Simek5c45b162015-07-22 11:36:32 +020050 };
51};
52
53&i2c0 {
54 status = "okay";
55 clock-frequency = <400000>;
56
Michal Simek99a2e342018-03-27 13:48:51 +020057 eeprom: eeprom@52 {
58 compatible = "atmel,24c02";
Michal Simek5c45b162015-07-22 11:36:32 +020059 reg = <0x52>;
60 };
61
62};
63
Michal Simeka95d54b2016-04-07 13:04:15 +020064&qspi {
65 status = "okay";
66};
67
Michal Simek5c45b162015-07-22 11:36:32 +020068&sdhci0 {
69 status = "okay";
70};
71
Michal Simeka95d54b2016-04-07 13:04:15 +020072&spi1 {
73 status = "okay";
74 num-cs = <4>;
75 is-decoded-cs = <0>;
76 flash@0 {
Michal Simek5510d632018-03-27 13:49:05 +020077 compatible = "sst25wf080", "jedec,spi-nor";
Michal Simeka95d54b2016-04-07 13:04:15 +020078 reg = <1>;
79 spi-max-frequency = <1000000>;
Michal Simek5510d632018-03-27 13:49:05 +020080 partitions {
81 compatible = "fixed-partitions";
82 #address-cells = <1>;
83 #size-cells = <1>;
84 partition@0 {
85 label = "data";
86 reg = <0x0 0x100000>;
87 };
Michal Simeka95d54b2016-04-07 13:04:15 +020088 };
89 };
90};
91
Michal Simek5c45b162015-07-22 11:36:32 +020092&uart1 {
Simon Glass035c6b22015-10-17 19:41:24 -060093 u-boot,dm-pre-reloc;
Michal Simek5c45b162015-07-22 11:36:32 +020094 status = "okay";
95};
96
97&usb0 {
98 status = "okay";
99 dr_mode = "host";
100 usb-phy = <&usb_phy0>;
Jagan Teki89cab972015-06-27 00:51:35 +0530101};