blob: 70bc41822e3604590100ba1e941ec59caf939713 [file] [log] [blame]
Michal Simek71d84b42018-03-27 13:43:05 +02001// SPDX-License-Identifier: GPL-2.0+
Jagannadha Sutradharudu Teki369ccb12014-01-09 01:48:26 +05302/*
Michal Simeke2612e12015-07-22 11:12:10 +02003 * Copyright (C) 2011 - 2015 Xilinx
4 * Copyright (C) 2012 National Instruments Corp.
Jagannadha Sutradharudu Teki369ccb12014-01-09 01:48:26 +05305 */
6/dts-v1/;
7#include "zynq-7000.dtsi"
8
9/ {
Luis Aranedaac891162018-07-12 00:10:20 -040010 model = "Avnet ZedBoard board";
Luis Araneda74897bf2018-07-12 00:10:19 -040011 compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000";
Masahiro Yamadad6367a22014-05-15 20:37:54 +090012
Masahiro Yamada87f645e2014-05-15 20:37:55 +090013 aliases {
Michal Simeke2612e12015-07-22 11:12:10 +020014 ethernet0 = &gem0;
Masahiro Yamada87f645e2014-05-15 20:37:55 +090015 serial0 = &uart1;
Jagan Tekide0fe092015-08-15 23:19:05 +053016 spi0 = &qspi;
Michal Simek1a03a522015-12-08 11:56:23 +010017 mmc0 = &sdhci0;
Masahiro Yamada87f645e2014-05-15 20:37:55 +090018 };
19
Michal Simekb3585f42016-11-11 13:11:37 +010020 memory@0 {
Masahiro Yamadad6367a22014-05-15 20:37:54 +090021 device_type = "memory";
Michal Simeke2612e12015-07-22 11:12:10 +020022 reg = <0x0 0x20000000>;
Masahiro Yamadad6367a22014-05-15 20:37:54 +090023 };
Michal Simeke2612e12015-07-22 11:12:10 +020024
25 chosen {
Michal Simek8073b862016-04-07 11:15:00 +020026 bootargs = "";
Michal Simeke2612e12015-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 Boddub2ed84b2017-03-06 18:17:19 +053047 device_type = "ethernet-phy";
Michal Simeke2612e12015-07-22 11:12:10 +020048 };
49};
50
Michal Simek6603e1c2016-04-07 13:04:15 +020051&qspi {
Simon Glassd3a98cb2023-02-13 08:56:33 -070052 bootph-all;
Michal Simeke2612e12015-07-22 11:12:10 +020053 status = "okay";
Luis Araneda1f53aba2018-07-27 04:43:42 -040054 num-cs = <1>;
55 flash@0 {
Michal Simekc2184a82021-09-15 16:22:31 +020056 compatible = "spansion,s25fl256s1", "jedec,spi-nor";
Luis Araneda1f53aba2018-07-27 04:43:42 -040057 reg = <0>;
Michal Simek181c7632023-11-01 12:22:14 +010058 spi-tx-bus-width = <1>;
59 spi-rx-bus-width = <4>;
60 spi-max-frequency = <50000000>;
Luis Araneda1f53aba2018-07-27 04:43:42 -040061 m25p,fast-read;
Michal Simek181c7632023-11-01 12:22:14 +010062 partitions {
63 compatible = "fixed-partitions";
64 #address-cells = <1>;
65 #size-cells = <1>;
66 partition@0 {
67 label = "qspi-fsbl-uboot";
68 reg = <0x0 0x100000>;
69 };
70 partition@100000 {
71 label = "qspi-linux";
72 reg = <0x100000 0x500000>;
73 };
74 partition@600000 {
75 label = "qspi-device-tree";
76 reg = <0x600000 0x20000>;
77 };
78 partition@620000 {
79 label = "qspi-rootfs";
80 reg = <0x620000 0x5e0000>;
81 };
82 partition@c00000 {
83 label = "qspi-bitstream";
84 reg = <0xc00000 0x400000>;
85 };
86 };
Luis Araneda1f53aba2018-07-27 04:43:42 -040087 };
Michal Simeke2612e12015-07-22 11:12:10 +020088};
89
Michal Simek6603e1c2016-04-07 13:04:15 +020090&sdhci0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-all;
Michal Simeke2612e12015-07-22 11:12:10 +020092 status = "okay";
93};
94
Michal Simek6603e1c2016-04-07 13:04:15 +020095&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070096 bootph-all;
Jagan Tekide0fe092015-08-15 23:19:05 +053097 status = "okay";
98};
99
Michal Simeke2612e12015-07-22 11:12:10 +0200100&usb0 {
101 status = "okay";
102 dr_mode = "host";
103 usb-phy = <&usb_phy0>;
Jagannadha Sutradharudu Teki369ccb12014-01-09 01:48:26 +0530104};