1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2011 - 2014 Xilinx 4 * Copyright (C) 2012 National Instruments Corp. 5 */ 6/dts-v1/; 7#include "zynq-7000.dtsi" 8 9/ { 10 model = "Avnet ZedBoard board"; 11 compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000"; 12 13 aliases { 14 ethernet0 = &gem0; 15 serial0 = &uart1; 16 spi0 = &qspi; 17 mmc0 = &sdhci0; 18 }; 19 20 memory@0 { 21 device_type = "memory"; 22 reg = <0x0 0x20000000>; 23 }; 24 25 chosen { 26 bootargs = ""; 27 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 = <ðernet_phy>; 44 45 ethernet_phy: ethernet-phy@0 { 46 reg = <0>; 47 }; 48}; 49 50&qspi { 51 bootph-all; 52 status = "okay"; 53 num-cs = <1>; 54 flash@0 { 55 compatible = "jedec,spi-nor"; 56 reg = <0>; 57 spi-tx-bus-width = <1>; 58 spi-rx-bus-width = <4>; 59 spi-max-frequency = <50000000>; 60 m25p,fast-read; 61 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 }; 86 }; 87}; 88 89&sdhci0 { 90 bootph-all; 91 status = "okay"; 92}; 93 94&uart1 { 95 bootph-all; 96 status = "okay"; 97}; 98 99&usb0 { 100 status = "okay"; 101 dr_mode = "host"; 102 usb-phy = <&usb_phy0>; 103}; 104