blob: 52ec5a45667a5a759bc341ddff65cde6653ff32a [file] [log] [blame]
Peter Crosthwaite9d7740a2014-08-28 21:16:39 +10001/*
2 * Digilent ZYBO board DTS
3 *
Michal Simeke2612e12015-07-22 11:12:10 +02004 * Copyright (C) 2011 - 2015 Xilinx
5 * Copyright (C) 2012 National Instruments Corp.
Peter Crosthwaite9d7740a2014-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 Simeke2612e12015-07-22 11:12:10 +020013 model = "Zynq ZYBO Development Board";
14 compatible = "digilent,zynq-zybo", "xlnx,zynq-7000";
Peter Crosthwaite9d7740a2014-08-28 21:16:39 +100015
16 aliases {
Michal Simeke2612e12015-07-22 11:12:10 +020017 ethernet0 = &gem0;
Peter Crosthwaite9d7740a2014-08-28 21:16:39 +100018 serial0 = &uart1;
Nathan Rossib13bb072015-12-09 00:44:42 +100019 spi0 = &qspi;
Michal Simek1a03a522015-12-08 11:56:23 +010020 mmc0 = &sdhci0;
Peter Crosthwaite9d7740a2014-08-28 21:16:39 +100021 };
22
Michal Simekb3585f42016-11-11 13:11:37 +010023 memory@0 {
Peter Crosthwaite9d7740a2014-08-28 21:16:39 +100024 device_type = "memory";
Michal Simeke2612e12015-07-22 11:12:10 +020025 reg = <0x0 0x20000000>;
Peter Crosthwaite9d7740a2014-08-28 21:16:39 +100026 };
Michal Simeke2612e12015-07-22 11:12:10 +020027
28 chosen {
Michal Simek8073b862016-04-07 11:15:00 +020029 bootargs = "";
Michal Simeke2612e12015-07-22 11:12:10 +020030 stdout-path = "serial0:115200n8";
31 };
32
Nathan Rossib13bb072015-12-09 00:44:42 +100033 usb_phy0: phy0 {
Michal Simekb46e95f2016-04-07 14:42:53 +020034 #phy-cells = <0>;
Michal Simekd69a70e2017-11-02 09:24:12 +010035 compatible = "usb-nop-xceiv";
Michal Simek18d0fa12016-02-13 10:38:08 +010036 reset-gpios = <&gpio0 46 1>;
Nathan Rossib13bb072015-12-09 00:44:42 +100037 };
Michal Simeke2612e12015-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 Boddub2ed84b2017-03-06 18:17:19 +053051 device_type = "ethernet-phy";
Michal Simeke2612e12015-07-22 11:12:10 +020052 };
53};
54
Michal Simek6603e1c2016-04-07 13:04:15 +020055&qspi {
Michal Simek1a03a522015-12-08 11:56:23 +010056 u-boot,dm-pre-reloc;
Michal Simeke2612e12015-07-22 11:12:10 +020057 status = "okay";
58};
59
Michal Simek6603e1c2016-04-07 13:04:15 +020060&sdhci0 {
Simon Glass8c7323a2015-10-17 19:41:24 -060061 u-boot,dm-pre-reloc;
Michal Simeke2612e12015-07-22 11:12:10 +020062 status = "okay";
Nathan Rossib13bb072015-12-09 00:44:42 +100063};
64
Michal Simek6603e1c2016-04-07 13:04:15 +020065&uart1 {
Nathan Rossib13bb072015-12-09 00:44:42 +100066 u-boot,dm-pre-reloc;
67 status = "okay";
68};
69
70&usb0 {
71 status = "okay";
72 dr_mode = "host";
73 usb-phy = <&usb_phy0>;
Peter Crosthwaite9d7740a2014-08-28 21:16:39 +100074};