blob: 1d967bd1a28538e692b4aa60abac57764e24059a [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>;
47 };
48};
49
Michal Simek6603e1c2016-04-07 13:04:15 +020050&qspi {
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-all;
Michal Simeke2612e12015-07-22 11:12:10 +020052 status = "okay";
Luis Araneda1f53aba2018-07-27 04:43:42 -040053 num-cs = <1>;
54 flash@0 {
Michal Simekc2184a82021-09-15 16:22:31 +020055 compatible = "spansion,s25fl256s1", "jedec,spi-nor";
Luis Araneda1f53aba2018-07-27 04:43:42 -040056 reg = <0>;
Michal Simek181c7632023-11-01 12:22:14 +010057 spi-tx-bus-width = <1>;
58 spi-rx-bus-width = <4>;
59 spi-max-frequency = <50000000>;
Luis Araneda1f53aba2018-07-27 04:43:42 -040060 m25p,fast-read;
Michal Simek181c7632023-11-01 12:22:14 +010061 partitions {
62 compatible = "fixed-partitions";
63 #address-cells = <1>;
64 #size-cells = <1>;
65 partition@0 {
66 label = "qspi-fsbl-uboot";
67 reg = <0x0 0x100000>;
68 };
69 partition@100000 {
70 label = "qspi-linux";
71 reg = <0x100000 0x500000>;
72 };
73 partition@600000 {
74 label = "qspi-device-tree";
75 reg = <0x600000 0x20000>;
76 };
77 partition@620000 {
78 label = "qspi-rootfs";
79 reg = <0x620000 0x5e0000>;
80 };
81 partition@c00000 {
82 label = "qspi-bitstream";
83 reg = <0xc00000 0x400000>;
84 };
85 };
Luis Araneda1f53aba2018-07-27 04:43:42 -040086 };
Michal Simeke2612e12015-07-22 11:12:10 +020087};
88
Michal Simek6603e1c2016-04-07 13:04:15 +020089&sdhci0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070090 bootph-all;
Michal Simeke2612e12015-07-22 11:12:10 +020091 status = "okay";
92};
93
Michal Simek6603e1c2016-04-07 13:04:15 +020094&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070095 bootph-all;
Jagan Tekide0fe092015-08-15 23:19:05 +053096 status = "okay";
97};
98
Michal Simeke2612e12015-07-22 11:12:10 +020099&usb0 {
100 status = "okay";
101 dr_mode = "host";
102 usb-phy = <&usb_phy0>;
Jagannadha Sutradharudu Teki369ccb12014-01-09 01:48:26 +0530103};