blob: 7a540b63f47135584710e0c7d0b51b8fde63cc5b [file] [log] [blame]
Michal Simek051a8ad2018-03-27 13:43:05 +02001// SPDX-License-Identifier: GPL-2.0+
Jagannadha Sutradharudu Tekif8f36c52014-01-09 01:48:26 +05302/*
Michal Simek999667c2015-07-22 11:12:10 +02003 * Copyright (C) 2011 - 2015 Xilinx
4 * Copyright (C) 2012 National Instruments Corp.
Jagannadha Sutradharudu Tekif8f36c52014-01-09 01:48:26 +05305 */
6/dts-v1/;
7#include "zynq-7000.dtsi"
8
9/ {
Luis Araneda9896dc62018-07-12 00:10:20 -040010 model = "Avnet ZedBoard board";
Luis Aranedacd6160b2018-07-12 00:10:19 -040011 compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000";
Masahiro Yamada7d34c5d2014-05-15 20:37:54 +090012
Masahiro Yamada9f9d41b2014-05-15 20:37:55 +090013 aliases {
Michal Simek999667c2015-07-22 11:12:10 +020014 ethernet0 = &gem0;
Masahiro Yamada9f9d41b2014-05-15 20:37:55 +090015 serial0 = &uart1;
Jagan Teki976dfb02015-08-15 23:19:05 +053016 spi0 = &qspi;
Michal Simek86472192015-12-08 11:56:23 +010017 mmc0 = &sdhci0;
Masahiro Yamada9f9d41b2014-05-15 20:37:55 +090018 };
19
Michal Simekcc7978b2016-11-11 13:11:37 +010020 memory@0 {
Masahiro Yamada7d34c5d2014-05-15 20:37:54 +090021 device_type = "memory";
Michal Simek999667c2015-07-22 11:12:10 +020022 reg = <0x0 0x20000000>;
Masahiro Yamada7d34c5d2014-05-15 20:37:54 +090023 };
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
30 usb_phy0: phy0 {
31 compatible = "usb-nop-xceiv";
32 #phy-cells = <0>;
33 };
34};
35
36&clkc {
37 ps-clk-frequency = <33333333>;
38};
39
40&gem0 {
41 status = "okay";
42 phy-mode = "rgmii-id";
43 phy-handle = <&ethernet_phy>;
44
45 ethernet_phy: ethernet-phy@0 {
46 reg = <0>;
Sai Pavan Boddu5fad1ab2017-03-06 18:17:19 +053047 device_type = "ethernet-phy";
Michal Simek999667c2015-07-22 11:12:10 +020048 };
49};
50
Michal Simeka95d54b2016-04-07 13:04:15 +020051&qspi {
52 u-boot,dm-pre-reloc;
53 status = "okay";
Luis Aranedaa492fdf2018-07-27 04:43:42 -040054 num-cs = <1>;
55 flash@0 {
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000056 compatible = "spansion,s25fl256s", "jedec,spi-nor";
Luis Aranedaa492fdf2018-07-27 04:43:42 -040057 reg = <0>;
58 spi-max-frequency = <30000000>;
59 m25p,fast-read;
60 };
Michal Simeka95d54b2016-04-07 13:04:15 +020061};
62
Michal Simek999667c2015-07-22 11:12:10 +020063&sdhci0 {
Michal Simek86472192015-12-08 11:56:23 +010064 u-boot,dm-pre-reloc;
Michal Simek999667c2015-07-22 11:12:10 +020065 status = "okay";
66};
67
68&uart1 {
Simon Glass035c6b22015-10-17 19:41:24 -060069 u-boot,dm-pre-reloc;
Michal Simek999667c2015-07-22 11:12:10 +020070 status = "okay";
71};
72
73&usb0 {
74 status = "okay";
75 dr_mode = "host";
76 usb-phy = <&usb_phy0>;
Jagannadha Sutradharudu Tekif8f36c52014-01-09 01:48:26 +053077};