blob: 52ec5a45667a5a759bc341ddff65cde6653ff32a [file] [log] [blame]
Peter Crosthwaite9757b652014-08-28 21:16:39 +10001/*
2 * Digilent ZYBO board DTS
3 *
Michal Simek999667c2015-07-22 11:12:10 +02004 * Copyright (C) 2011 - 2015 Xilinx
5 * Copyright (C) 2012 National Instruments Corp.
Peter Crosthwaite9757b652014-08-28 21:16:39 +10006 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9/dts-v1/;
10#include "zynq-7000.dtsi"
11
12/ {
Michal Simek999667c2015-07-22 11:12:10 +020013 model = "Zynq ZYBO Development Board";
14 compatible = "digilent,zynq-zybo", "xlnx,zynq-7000";
Peter Crosthwaite9757b652014-08-28 21:16:39 +100015
16 aliases {
Michal Simek999667c2015-07-22 11:12:10 +020017 ethernet0 = &gem0;
Peter Crosthwaite9757b652014-08-28 21:16:39 +100018 serial0 = &uart1;
Nathan Rossi7bbf8252015-12-09 00:44:42 +100019 spi0 = &qspi;
Michal Simek86472192015-12-08 11:56:23 +010020 mmc0 = &sdhci0;
Peter Crosthwaite9757b652014-08-28 21:16:39 +100021 };
22
Michal Simekcc7978b2016-11-11 13:11:37 +010023 memory@0 {
Peter Crosthwaite9757b652014-08-28 21:16:39 +100024 device_type = "memory";
Michal Simek999667c2015-07-22 11:12:10 +020025 reg = <0x0 0x20000000>;
Peter Crosthwaite9757b652014-08-28 21:16:39 +100026 };
Michal Simek999667c2015-07-22 11:12:10 +020027
28 chosen {
Michal Simek936bbc52016-04-07 11:15:00 +020029 bootargs = "";
Michal Simek999667c2015-07-22 11:12:10 +020030 stdout-path = "serial0:115200n8";
31 };
32
Nathan Rossi7bbf8252015-12-09 00:44:42 +100033 usb_phy0: phy0 {
Michal Simeka195ed32016-04-07 14:42:53 +020034 #phy-cells = <0>;
Michal Simek534f7e02017-11-02 09:24:12 +010035 compatible = "usb-nop-xceiv";
Michal Simekbaec7df2016-02-13 10:38:08 +010036 reset-gpios = <&gpio0 46 1>;
Nathan Rossi7bbf8252015-12-09 00:44:42 +100037 };
Michal Simek999667c2015-07-22 11:12:10 +020038};
39
40&clkc {
41 ps-clk-frequency = <50000000>;
42};
43
44&gem0 {
45 status = "okay";
46 phy-mode = "rgmii-id";
47 phy-handle = <&ethernet_phy>;
48
49 ethernet_phy: ethernet-phy@0 {
50 reg = <0>;
Sai Pavan Boddu5fad1ab2017-03-06 18:17:19 +053051 device_type = "ethernet-phy";
Michal Simek999667c2015-07-22 11:12:10 +020052 };
53};
54
Michal Simeka95d54b2016-04-07 13:04:15 +020055&qspi {
56 u-boot,dm-pre-reloc;
57 status = "okay";
58};
59
Michal Simek999667c2015-07-22 11:12:10 +020060&sdhci0 {
Michal Simek86472192015-12-08 11:56:23 +010061 u-boot,dm-pre-reloc;
Michal Simek999667c2015-07-22 11:12:10 +020062 status = "okay";
63};
64
65&uart1 {
Simon Glass035c6b22015-10-17 19:41:24 -060066 u-boot,dm-pre-reloc;
Michal Simek999667c2015-07-22 11:12:10 +020067 status = "okay";
Peter Crosthwaite9757b652014-08-28 21:16:39 +100068};
Nathan Rossi7bbf8252015-12-09 00:44:42 +100069
Nathan Rossi7bbf8252015-12-09 00:44:42 +100070&usb0 {
71 status = "okay";
72 dr_mode = "host";
73 usb-phy = <&usb_phy0>;
74};