Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 1 | /* |
| 2 | * dts file for Xilinx ZynqMP ep108 development board |
| 3 | * |
| 4 | * (C) Copyright 2014 - 2015, Xilinx, Inc. |
| 5 | * |
| 6 | * Michal Simek <michal.simek@xilinx.com> |
| 7 | * |
| 8 | * SPDX-License-Identifier: GPL-2.0+ |
| 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
| 12 | |
Alistair Francis | 65aaf11 | 2016-02-25 09:30:03 -0800 | [diff] [blame] | 13 | #include "zynqmp.dtsi" |
| 14 | #include "zynqmp-ep108-clk.dtsi" |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | model = "ZynqMP EP108"; |
| 18 | |
| 19 | aliases { |
Michal Simek | 8e77a47 | 2017-05-11 10:15:15 +0200 | [diff] [blame] | 20 | ethernet0 = &gem0; |
Michal Simek | ea79504 | 2016-02-23 09:30:15 +0100 | [diff] [blame] | 21 | mmc0 = &sdhci0; |
| 22 | mmc1 = &sdhci1; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 23 | serial0 = &uart0; |
| 24 | spi0 = &qspi; |
| 25 | spi1 = &spi0; |
| 26 | spi2 = &spi1; |
Michal Simek | 13111a1 | 2016-04-07 15:06:07 +0200 | [diff] [blame] | 27 | usb0 = &usb0; |
| 28 | usb1 = &usb1; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | chosen { |
Michal Simek | 1ff1da6 | 2016-12-16 13:08:55 +0100 | [diff] [blame] | 32 | bootargs = "earlycon"; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 33 | stdout-path = "serial0:115200n8"; |
| 34 | }; |
| 35 | |
Michal Simek | 79c1cbf | 2016-11-11 13:21:04 +0100 | [diff] [blame] | 36 | memory@0 { |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 37 | device_type = "memory"; |
Michal Simek | d171c75 | 2016-04-07 15:07:38 +0200 | [diff] [blame] | 38 | reg = <0x0 0x0 0x0 0x40000000>; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 39 | }; |
| 40 | }; |
| 41 | |
| 42 | &can0 { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
Naga Sureshkumar Relli | 8edf53d | 2016-04-12 11:46:11 +0530 | [diff] [blame] | 46 | &can1 { |
| 47 | status = "okay"; |
| 48 | }; |
| 49 | |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 50 | &gem0 { |
| 51 | status = "okay"; |
| 52 | phy-handle = <&phy0>; |
| 53 | phy-mode = "rgmii-id"; |
Michal Simek | b7c56ef | 2016-01-14 13:11:51 +0100 | [diff] [blame] | 54 | phy0: phy@0 { |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 55 | reg = <0>; |
| 56 | max-speed = <100>; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | &gpio { |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
| 64 | &i2c0 { |
| 65 | status = "okay"; |
| 66 | clock-frequency = <400000>; |
| 67 | eeprom@54 { |
Javier Martinez Canillas | c0e843d | 2017-06-15 20:54:13 +0200 | [diff] [blame] | 68 | compatible = "atmel,24c64"; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 69 | reg = <0x54>; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | &i2c1 { |
| 74 | status = "okay"; |
| 75 | clock-frequency = <400000>; |
| 76 | eeprom@55 { |
Javier Martinez Canillas | c0e843d | 2017-06-15 20:54:13 +0200 | [diff] [blame] | 77 | compatible = "atmel,24c64"; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 78 | reg = <0x55>; |
| 79 | }; |
| 80 | }; |
| 81 | |
Punnaiah Choudary Kalluri | 3a9dfcf | 2015-11-05 22:21:14 +0530 | [diff] [blame] | 82 | &nand0 { |
| 83 | status = "okay"; |
| 84 | arasan,has-mdma; |
| 85 | num-cs = <1>; |
| 86 | |
| 87 | partition@0 { /* for testing purpose */ |
| 88 | label = "nand-fsbl-uboot"; |
| 89 | reg = <0x0 0x0 0x400000>; |
| 90 | }; |
| 91 | partition@1 { /* for testing purpose */ |
| 92 | label = "nand-linux"; |
| 93 | reg = <0x0 0x400000 0x1400000>; |
| 94 | }; |
| 95 | partition@2 { /* for testing purpose */ |
| 96 | label = "nand-device-tree"; |
| 97 | reg = <0x0 0x1800000 0x400000>; |
| 98 | }; |
| 99 | partition@3 { /* for testing purpose */ |
| 100 | label = "nand-rootfs"; |
| 101 | reg = <0x0 0x1C00000 0x1400000>; |
| 102 | }; |
| 103 | partition@4 { /* for testing purpose */ |
| 104 | label = "nand-bitstream"; |
| 105 | reg = <0x0 0x3000000 0x400000>; |
| 106 | }; |
| 107 | partition@5 { /* for testing purpose */ |
| 108 | label = "nand-misc"; |
| 109 | reg = <0x0 0x3400000 0xFCC00000>; |
| 110 | }; |
| 111 | }; |
| 112 | |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 113 | &qspi { |
| 114 | status = "okay"; |
| 115 | flash@0 { |
Ranjit Waghmode | aebee4f | 2015-12-02 10:06:58 +0530 | [diff] [blame] | 116 | compatible = "m25p80"; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 117 | #address-cells = <1>; |
| 118 | #size-cells = <1>; |
| 119 | reg = <0x0>; |
| 120 | spi-tx-bus-width = <1>; |
| 121 | spi-rx-bus-width = <4>; |
| 122 | spi-max-frequency = <10000000>; |
| 123 | partition@qspi-fsbl-uboot { /* for testing purpose */ |
| 124 | label = "qspi-fsbl-uboot"; |
| 125 | reg = <0x0 0x100000>; |
| 126 | }; |
| 127 | partition@qspi-linux { /* for testing purpose */ |
| 128 | label = "qspi-linux"; |
| 129 | reg = <0x100000 0x500000>; |
| 130 | }; |
| 131 | partition@qspi-device-tree { /* for testing purpose */ |
| 132 | label = "qspi-device-tree"; |
| 133 | reg = <0x600000 0x20000>; |
| 134 | }; |
| 135 | partition@qspi-rootfs { /* for testing purpose */ |
| 136 | label = "qspi-rootfs"; |
| 137 | reg = <0x620000 0x5E0000>; |
| 138 | }; |
| 139 | }; |
| 140 | }; |
| 141 | |
| 142 | &sata { |
| 143 | status = "okay"; |
| 144 | ceva,broken-gen2; |
Anurag Kumar Vulisha | 8386b64 | 2015-11-05 17:21:37 +0530 | [diff] [blame] | 145 | /* SATA Phy OOB timing settings */ |
| 146 | ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>; |
| 147 | ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>; |
| 148 | ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>; |
| 149 | ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>; |
| 150 | ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>; |
| 151 | ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>; |
| 152 | ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>; |
| 153 | ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 154 | }; |
| 155 | |
| 156 | &sdhci0 { |
| 157 | status = "okay"; |
P L Sai Krishna | c345e71 | 2016-01-07 14:57:27 +0530 | [diff] [blame] | 158 | bus-width = <8>; |
Sai Krishna Potthuri | 02550fb | 2016-08-16 14:41:35 +0530 | [diff] [blame] | 159 | xlnx,mio_bank = <2>; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 160 | }; |
| 161 | |
| 162 | &sdhci1 { |
| 163 | status = "okay"; |
Sai Krishna Potthuri | 02550fb | 2016-08-16 14:41:35 +0530 | [diff] [blame] | 164 | xlnx,mio_bank = <1>; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 165 | }; |
| 166 | |
| 167 | &spi0 { |
| 168 | status = "okay"; |
| 169 | num-cs = <1>; |
| 170 | spi0_flash0: spi0_flash0@0 { |
| 171 | compatible = "m25p80"; |
| 172 | #address-cells = <1>; |
| 173 | #size-cells = <1>; |
| 174 | spi-max-frequency = <50000000>; |
| 175 | reg = <0>; |
| 176 | |
Michal Simek | 43550d1 | 2017-07-05 14:50:44 +0200 | [diff] [blame] | 177 | spi0_flash0@0 { |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 178 | label = "spi0_flash0"; |
| 179 | reg = <0x0 0x100000>; |
| 180 | }; |
| 181 | }; |
| 182 | }; |
| 183 | |
| 184 | &spi1 { |
| 185 | status = "okay"; |
| 186 | num-cs = <1>; |
| 187 | spi1_flash0: spi1_flash0@0 { |
| 188 | compatible = "m25p80"; |
| 189 | #address-cells = <1>; |
| 190 | #size-cells = <1>; |
| 191 | spi-max-frequency = <50000000>; |
| 192 | reg = <0>; |
| 193 | |
Michal Simek | 43550d1 | 2017-07-05 14:50:44 +0200 | [diff] [blame] | 194 | spi1_flash0@0 { |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 195 | label = "spi1_flash0"; |
| 196 | reg = <0x0 0x100000>; |
| 197 | }; |
| 198 | }; |
| 199 | }; |
| 200 | |
| 201 | &uart0 { |
| 202 | status = "okay"; |
| 203 | }; |
| 204 | |
| 205 | &usb0 { |
| 206 | status = "okay"; |
Michal Simek | 13111a1 | 2016-04-07 15:06:07 +0200 | [diff] [blame] | 207 | }; |
| 208 | |
| 209 | &dwc3_0 { |
| 210 | status = "okay"; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 211 | dr_mode = "peripheral"; |
| 212 | maximum-speed = "high-speed"; |
| 213 | }; |
| 214 | |
| 215 | &usb1 { |
| 216 | status = "okay"; |
Michal Simek | 13111a1 | 2016-04-07 15:06:07 +0200 | [diff] [blame] | 217 | }; |
| 218 | |
| 219 | &dwc3_1 { |
| 220 | status = "okay"; |
Michal Simek | 54b896f | 2015-10-30 15:39:18 +0100 | [diff] [blame] | 221 | dr_mode = "host"; |
| 222 | maximum-speed = "high-speed"; |
| 223 | }; |
| 224 | |
| 225 | &watchdog0 { |
| 226 | status = "okay"; |
| 227 | }; |
| 228 | |
| 229 | &xlnx_dp { |
| 230 | xlnx,max-pclock-frequency = <200000>; |
| 231 | }; |
| 232 | |
| 233 | &xlnx_dpdma { |
| 234 | xlnx,axi-clock-freq = <200000000>; |
| 235 | }; |