1/* 2 * Xilinx CC108 board DTS 3 * 4 * (C) Copyright 2007-2013 Xilinx, Inc. 5 * (C) Copyright 2007-2013 Michal Simek 6 * (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd 7 * 8 * Michal SIMEK <monstr@monstr.eu> 9 * 10 * SPDX-License-Identifier: GPL-2.0+ 11 */ 12/dts-v1/; 13/include/ "zynq-7000.dtsi" 14 15/ { 16 compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; 17 model = "Xilinx Zynq"; 18 19 aliases { 20 ethernet0 = &gem0; 21 serial0 = &uart0; 22 spi0 = &qspi; 23 }; 24 25 chosen { 26 bootargs = ""; 27 stdout-path = "serial0:115200n8"; 28 }; 29 30 memory@0 { 31 device_type = "memory"; 32 reg = <0x0 0x20000000>; 33 }; 34 35 usb_phy0: phy0 { 36 compatible = "usb-nop-xceiv"; 37 #phy-cells = <0>; 38 }; 39 40 usb_phy1: phy1 { 41 compatible = "usb-nop-xceiv"; 42 #phy-cells = <0>; 43 }; 44}; 45 46&gem0 { 47 status = "okay"; 48 phy-mode = "rgmii-id"; 49 phy-handle = <ðernet_phy>; 50 51 ethernet_phy: ethernet-phy@1 { 52 reg = <1>; 53 device_type = "ethernet-phy"; 54 }; 55}; 56 57&qspi { 58 status = "okay"; 59 is-dual = <0>; 60 num-cs = <1>; 61 flash@0 { /* 16 MB */ 62 compatible = "n25q128a11"; 63 reg = <0x0>; 64 spi-max-frequency = <50000000>; 65 spi-tx-bus-width = <1>; 66 spi-rx-bus-width = <4>; 67 #address-cells = <1>; 68 #size-cells = <1>; 69 partition@0 { 70 label = "qspi-fsbl-uboot-bs"; 71 reg = <0x0 0x400000>; /* 4MB */ 72 }; 73 partition@0x400000 { 74 label = "qspi-linux"; 75 reg = <0x400000 0x400000>; /* 4MB */ 76 }; 77 partition@0x800000 { 78 label = "qspi-rootfs"; 79 reg = <0x800000 0x400000>; /* 4MB */ 80 }; 81 partition@0xc00000 { 82 label = "qspi-devicetree"; 83 reg = <0xc00000 0x100000>; /* 1MB */ 84 }; 85 partition@0xd00000 { 86 label = "qspi-scratch"; 87 reg = <0xd00000 0x200000>; /* 2MB */ 88 }; 89 partition@0xf00000 { 90 label = "qspi-uboot-env"; 91 reg = <0xf00000 0x100000>; /* 1MB */ 92 }; 93 }; 94}; 95 96&sdhci1 { 97 status = "okay"; 98 broken-cd ; 99 wp-inverted ; 100}; 101 102&uart0 { 103 status = "okay"; 104}; 105 106&usb0 { 107 status = "okay"; 108 dr_mode = "host"; 109 usb-phy = <&usb_phy0>; 110}; 111 112&usb1 { 113 status = "okay"; 114 dr_mode = "host"; 115 usb-phy = <&usb_phy1>; 116}; 117