blob: 38448223055cda6ad6c42af80ce59eda86cbe675 [file] [log] [blame]
Michal Simek051a8ad2018-03-27 13:43:05 +02001// SPDX-License-Identifier: GPL-2.0+
Peter Crosthwaite9757b652014-08-28 21:16:39 +10002/*
Michal Simek999667c2015-07-22 11:12:10 +02003 * Copyright (C) 2011 - 2015 Xilinx
4 * Copyright (C) 2012 National Instruments Corp.
Peter Crosthwaite9757b652014-08-28 21:16:39 +10005 */
6/dts-v1/;
7#include "zynq-7000.dtsi"
8
9/ {
Michal Simek999667c2015-07-22 11:12:10 +020010 model = "Zynq ZYBO Development Board";
11 compatible = "digilent,zynq-zybo", "xlnx,zynq-7000";
Peter Crosthwaite9757b652014-08-28 21:16:39 +100012
13 aliases {
Michal Simek999667c2015-07-22 11:12:10 +020014 ethernet0 = &gem0;
Peter Crosthwaite9757b652014-08-28 21:16:39 +100015 serial0 = &uart1;
Nathan Rossi7bbf8252015-12-09 00:44:42 +100016 spi0 = &qspi;
Michal Simek86472192015-12-08 11:56:23 +010017 mmc0 = &sdhci0;
Peter Crosthwaite9757b652014-08-28 21:16:39 +100018 };
19
Michal Simekcc7978b2016-11-11 13:11:37 +010020 memory@0 {
Peter Crosthwaite9757b652014-08-28 21:16:39 +100021 device_type = "memory";
Michal Simek999667c2015-07-22 11:12:10 +020022 reg = <0x0 0x20000000>;
Peter Crosthwaite9757b652014-08-28 21:16:39 +100023 };
Michal Simek999667c2015-07-22 11:12:10 +020024
25 chosen {
Michal Simek936bbc52016-04-07 11:15:00 +020026 bootargs = "";
Michal Simek999667c2015-07-22 11:12:10 +020027 stdout-path = "serial0:115200n8";
28 };
29
Nathan Rossi7bbf8252015-12-09 00:44:42 +100030 usb_phy0: phy0 {
Michal Simeka195ed32016-04-07 14:42:53 +020031 #phy-cells = <0>;
Michal Simek534f7e02017-11-02 09:24:12 +010032 compatible = "usb-nop-xceiv";
Michal Simekbaec7df2016-02-13 10:38:08 +010033 reset-gpios = <&gpio0 46 1>;
Nathan Rossi7bbf8252015-12-09 00:44:42 +100034 };
Michal Simek999667c2015-07-22 11:12:10 +020035};
36
37&clkc {
38 ps-clk-frequency = <50000000>;
39};
40
41&gem0 {
42 status = "okay";
43 phy-mode = "rgmii-id";
44 phy-handle = <&ethernet_phy>;
45
46 ethernet_phy: ethernet-phy@0 {
47 reg = <0>;
Sai Pavan Boddu5fad1ab2017-03-06 18:17:19 +053048 device_type = "ethernet-phy";
Michal Simek999667c2015-07-22 11:12:10 +020049 };
50};
51
Michal Simeka95d54b2016-04-07 13:04:15 +020052&qspi {
53 u-boot,dm-pre-reloc;
54 status = "okay";
55};
56
Michal Simek999667c2015-07-22 11:12:10 +020057&sdhci0 {
Michal Simek86472192015-12-08 11:56:23 +010058 u-boot,dm-pre-reloc;
Michal Simek999667c2015-07-22 11:12:10 +020059 status = "okay";
60};
61
62&uart1 {
Simon Glass035c6b22015-10-17 19:41:24 -060063 u-boot,dm-pre-reloc;
Michal Simek999667c2015-07-22 11:12:10 +020064 status = "okay";
Peter Crosthwaite9757b652014-08-28 21:16:39 +100065};
Nathan Rossi7bbf8252015-12-09 00:44:42 +100066
Nathan Rossi7bbf8252015-12-09 00:44:42 +100067&usb0 {
68 status = "okay";
69 dr_mode = "host";
70 usb-phy = <&usb_phy0>;
71};