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