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