Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 1 | /* |
| 2 | * DTS file for all SPEAr13xx SoCs |
| 3 | * |
Viresh Kumar | 10d8935 | 2012-06-20 12:53:02 -0700 | [diff] [blame] | 4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 5 | * |
| 6 | * The code contained herein is licensed under the GNU General Public |
| 7 | * License. You may obtain a copy of the GNU General Public License |
| 8 | * Version 2 or later at the following locations: |
| 9 | * |
| 10 | * http://www.opensource.org/licenses/gpl-license.html |
| 11 | * http://www.gnu.org/copyleft/gpl.html |
| 12 | */ |
| 13 | |
| 14 | /include/ "skeleton.dtsi" |
| 15 | |
| 16 | / { |
| 17 | interrupt-parent = <&gic>; |
| 18 | |
| 19 | cpus { |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <0>; |
| 22 | |
| 23 | cpu@0 { |
| 24 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | 78e6573 | 2013-04-18 18:41:22 +0100 | [diff] [blame] | 25 | device_type = "cpu"; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 26 | reg = <0>; |
| 27 | next-level-cache = <&L2>; |
| 28 | }; |
| 29 | |
| 30 | cpu@1 { |
| 31 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | 78e6573 | 2013-04-18 18:41:22 +0100 | [diff] [blame] | 32 | device_type = "cpu"; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 33 | reg = <1>; |
| 34 | next-level-cache = <&L2>; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | gic: interrupt-controller@ec801000 { |
| 39 | compatible = "arm,cortex-a9-gic"; |
| 40 | interrupt-controller; |
| 41 | #interrupt-cells = <3>; |
| 42 | reg = < 0xec801000 0x1000 >, |
| 43 | < 0xec800100 0x0100 >; |
| 44 | }; |
| 45 | |
| 46 | pmu { |
| 47 | compatible = "arm,cortex-a9-pmu"; |
Vipul Kumar Samar | 465e4f2b | 2012-07-04 18:52:17 +0800 | [diff] [blame] | 48 | interrupts = <0 6 0x04 |
| 49 | 0 7 0x04>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | L2: l2-cache { |
| 53 | compatible = "arm,pl310-cache"; |
| 54 | reg = <0xed000000 0x1000>; |
| 55 | cache-unified; |
| 56 | cache-level = <2>; |
| 57 | }; |
| 58 | |
| 59 | memory { |
| 60 | name = "memory"; |
| 61 | device_type = "memory"; |
| 62 | reg = <0 0x40000000>; |
| 63 | }; |
| 64 | |
| 65 | chosen { |
| 66 | bootargs = "console=ttyAMA0,115200"; |
| 67 | }; |
| 68 | |
Shiraz Hashim | 8113ba9 | 2012-11-10 17:31:01 +0530 | [diff] [blame] | 69 | cpufreq { |
| 70 | compatible = "st,cpufreq-spear"; |
| 71 | cpufreq_tbl = < 166000 |
| 72 | 200000 |
| 73 | 250000 |
| 74 | 300000 |
| 75 | 400000 |
| 76 | 500000 |
| 77 | 600000 >; |
Linus Torvalds | ca2a88f | 2012-12-19 12:47:41 -0800 | [diff] [blame] | 78 | status = "disabled"; |
Shiraz Hashim | 8113ba9 | 2012-11-10 17:31:01 +0530 | [diff] [blame] | 79 | }; |
| 80 | |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 81 | ahb { |
| 82 | #address-cells = <1>; |
| 83 | #size-cells = <1>; |
| 84 | compatible = "simple-bus"; |
| 85 | ranges = <0x50000000 0x50000000 0x10000000 |
Pratyush Anand | 549f3ae | 2014-04-14 15:27:36 +0530 | [diff] [blame] | 86 | 0x80000000 0x80000000 0x20000000 |
| 87 | 0xb0000000 0xb0000000 0x22000000 |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 88 | 0xd8000000 0xd8000000 0x01000000 |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 89 | 0xe0000000 0xe0000000 0x10000000>; |
| 90 | |
| 91 | sdhci@b3000000 { |
| 92 | compatible = "st,sdhci-spear"; |
| 93 | reg = <0xb3000000 0x100>; |
| 94 | interrupts = <0 28 0x4>; |
| 95 | status = "disabled"; |
| 96 | }; |
| 97 | |
| 98 | cf@b2800000 { |
| 99 | compatible = "arasan,cf-spear1340"; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 100 | reg = <0xb2800000 0x1000>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 101 | interrupts = <0 29 0x4>; |
| 102 | status = "disabled"; |
Arnd Bergmann | 6e8887f6 | 2013-01-28 21:48:47 +0000 | [diff] [blame] | 103 | dmas = <&dwdma0 0 0 0 0>; |
| 104 | dma-names = "data"; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 105 | }; |
| 106 | |
Arnd Bergmann | 6e8887f6 | 2013-01-28 21:48:47 +0000 | [diff] [blame] | 107 | dwdma0: dma@ea800000 { |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 108 | compatible = "snps,dma-spear1340"; |
| 109 | reg = <0xea800000 0x1000>; |
| 110 | interrupts = <0 19 0x4>; |
| 111 | status = "disabled"; |
Arnd Bergmann | 6e8887f6 | 2013-01-28 21:48:47 +0000 | [diff] [blame] | 112 | |
| 113 | dma-channels = <8>; |
| 114 | #dma-cells = <3>; |
| 115 | dma-requests = <32>; |
| 116 | chan_allocation_order = <1>; |
| 117 | chan_priority = <1>; |
| 118 | block_size = <0xfff>; |
| 119 | dma-masters = <2>; |
| 120 | data_width = <3 3 0 0>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 121 | }; |
| 122 | |
| 123 | dma@eb000000 { |
| 124 | compatible = "snps,dma-spear1340"; |
| 125 | reg = <0xeb000000 0x1000>; |
| 126 | interrupts = <0 59 0x4>; |
| 127 | status = "disabled"; |
Arnd Bergmann | 6e8887f6 | 2013-01-28 21:48:47 +0000 | [diff] [blame] | 128 | |
| 129 | dma-requests = <32>; |
| 130 | dma-channels = <8>; |
| 131 | dma-masters = <2>; |
| 132 | #dma-cells = <3>; |
| 133 | chan_allocation_order = <1>; |
| 134 | chan_priority = <1>; |
| 135 | block_size = <0xfff>; |
| 136 | data_width = <3 3 0 0>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 137 | }; |
| 138 | |
| 139 | fsmc: flash@b0000000 { |
| 140 | compatible = "st,spear600-fsmc-nand"; |
| 141 | #address-cells = <1>; |
| 142 | #size-cells = <1>; |
Jean-Christophe PLAGNIOL-VILLARD | 6d7b42a | 2012-10-04 15:14:16 +0200 | [diff] [blame] | 143 | reg = <0xb0000000 0x1000 /* FSMC Register*/ |
| 144 | 0xb0800000 0x0010 /* NAND Base DATA */ |
| 145 | 0xb0820000 0x0010 /* NAND Base ADDR */ |
| 146 | 0xb0810000 0x0010>; /* NAND Base CMD */ |
| 147 | reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd"; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 148 | interrupts = <0 20 0x4 |
| 149 | 0 21 0x4 |
| 150 | 0 22 0x4 |
| 151 | 0 23 0x4>; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 152 | st,mode = <2>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 153 | status = "disabled"; |
| 154 | }; |
| 155 | |
| 156 | gmac0: eth@e2000000 { |
| 157 | compatible = "st,spear600-gmac"; |
| 158 | reg = <0xe2000000 0x8000>; |
Vipul Kumar Samar | 465e4f2b | 2012-07-04 18:52:17 +0800 | [diff] [blame] | 159 | interrupts = <0 33 0x4 |
| 160 | 0 34 0x4>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 161 | interrupt-names = "macirq", "eth_wake_irq"; |
| 162 | status = "disabled"; |
| 163 | }; |
| 164 | |
Shiraz Hashim | 8113ba9 | 2012-11-10 17:31:01 +0530 | [diff] [blame] | 165 | pcm { |
| 166 | compatible = "st,pcm-audio"; |
| 167 | #address-cells = <0>; |
| 168 | #size-cells = <0>; |
Linus Torvalds | ca2a88f | 2012-12-19 12:47:41 -0800 | [diff] [blame] | 169 | status = "disabled"; |
Shiraz Hashim | 8113ba9 | 2012-11-10 17:31:01 +0530 | [diff] [blame] | 170 | }; |
| 171 | |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 172 | smi: flash@ea000000 { |
| 173 | compatible = "st,spear600-smi"; |
| 174 | #address-cells = <1>; |
| 175 | #size-cells = <1>; |
| 176 | reg = <0xea000000 0x1000>; |
| 177 | interrupts = <0 30 0x4>; |
| 178 | status = "disabled"; |
| 179 | }; |
| 180 | |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 181 | ehci@e4800000 { |
| 182 | compatible = "st,spear600-ehci", "usb-ehci"; |
| 183 | reg = <0xe4800000 0x1000>; |
| 184 | interrupts = <0 64 0x4>; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 185 | usbh0_id = <0>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 186 | status = "disabled"; |
| 187 | }; |
| 188 | |
| 189 | ehci@e5800000 { |
| 190 | compatible = "st,spear600-ehci", "usb-ehci"; |
| 191 | reg = <0xe5800000 0x1000>; |
| 192 | interrupts = <0 66 0x4>; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 193 | usbh1_id = <1>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 194 | status = "disabled"; |
| 195 | }; |
| 196 | |
| 197 | ohci@e4000000 { |
| 198 | compatible = "st,spear600-ohci", "usb-ohci"; |
| 199 | reg = <0xe4000000 0x1000>; |
| 200 | interrupts = <0 65 0x4>; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 201 | usbh0_id = <0>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 202 | status = "disabled"; |
| 203 | }; |
| 204 | |
| 205 | ohci@e5000000 { |
| 206 | compatible = "st,spear600-ohci", "usb-ohci"; |
| 207 | reg = <0xe5000000 0x1000>; |
| 208 | interrupts = <0 67 0x4>; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 209 | usbh1_id = <1>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 210 | status = "disabled"; |
| 211 | }; |
| 212 | |
| 213 | apb { |
| 214 | #address-cells = <1>; |
| 215 | #size-cells = <1>; |
| 216 | compatible = "simple-bus"; |
| 217 | ranges = <0x50000000 0x50000000 0x10000000 |
| 218 | 0xb0000000 0xb0000000 0x10000000 |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 219 | 0xd0000000 0xd0000000 0x02000000 |
| 220 | 0xd8000000 0xd8000000 0x01000000 |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 221 | 0xe0000000 0xe0000000 0x10000000>; |
| 222 | |
Pratyush Anand | 23b7ad2 | 2014-02-11 12:10:47 +0530 | [diff] [blame] | 223 | misc: syscon@e0700000 { |
| 224 | compatible = "st,spear1340-misc", "syscon"; |
| 225 | reg = <0xe0700000 0x1000>; |
| 226 | }; |
| 227 | |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 228 | gpio0: gpio@e0600000 { |
| 229 | compatible = "arm,pl061", "arm,primecell"; |
| 230 | reg = <0xe0600000 0x1000>; |
| 231 | interrupts = <0 24 0x4>; |
| 232 | gpio-controller; |
| 233 | #gpio-cells = <2>; |
| 234 | interrupt-controller; |
| 235 | #interrupt-cells = <2>; |
| 236 | status = "disabled"; |
| 237 | }; |
| 238 | |
| 239 | gpio1: gpio@e0680000 { |
| 240 | compatible = "arm,pl061", "arm,primecell"; |
| 241 | reg = <0xe0680000 0x1000>; |
| 242 | interrupts = <0 25 0x4>; |
| 243 | gpio-controller; |
| 244 | #gpio-cells = <2>; |
| 245 | interrupt-controller; |
| 246 | #interrupt-cells = <2>; |
| 247 | status = "disabled"; |
| 248 | }; |
| 249 | |
| 250 | kbd@e0300000 { |
| 251 | compatible = "st,spear300-kbd"; |
| 252 | reg = <0xe0300000 0x1000>; |
Vipul Kumar Samar | 465e4f2b | 2012-07-04 18:52:17 +0800 | [diff] [blame] | 253 | interrupts = <0 52 0x4>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 254 | status = "disabled"; |
| 255 | }; |
| 256 | |
| 257 | i2c0: i2c@e0280000 { |
| 258 | #address-cells = <1>; |
| 259 | #size-cells = <0>; |
| 260 | compatible = "snps,designware-i2c"; |
| 261 | reg = <0xe0280000 0x1000>; |
| 262 | interrupts = <0 41 0x4>; |
| 263 | status = "disabled"; |
| 264 | }; |
| 265 | |
Shiraz Hashim | 8113ba9 | 2012-11-10 17:31:01 +0530 | [diff] [blame] | 266 | i2s@e0180000 { |
| 267 | compatible = "st,designware-i2s"; |
| 268 | reg = <0xe0180000 0x1000>; |
| 269 | interrupt-names = "play_irq", "record_irq"; |
| 270 | interrupts = <0 10 0x4 |
| 271 | 0 11 0x4 >; |
| 272 | status = "disabled"; |
| 273 | }; |
| 274 | |
| 275 | i2s@e0200000 { |
| 276 | compatible = "st,designware-i2s"; |
| 277 | reg = <0xe0200000 0x1000>; |
| 278 | interrupt-names = "play_irq", "record_irq"; |
| 279 | interrupts = <0 26 0x4 |
| 280 | 0 53 0x4>; |
| 281 | status = "disabled"; |
| 282 | }; |
| 283 | |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 284 | spi0: spi@e0100000 { |
| 285 | compatible = "arm,pl022", "arm,primecell"; |
| 286 | reg = <0xe0100000 0x1000>; |
Shiraz Hashim | 8113ba9 | 2012-11-10 17:31:01 +0530 | [diff] [blame] | 287 | #address-cells = <1>; |
| 288 | #size-cells = <0>; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 289 | interrupts = <0 31 0x4>; |
| 290 | status = "disabled"; |
Arnd Bergmann | 6e8887f6 | 2013-01-28 21:48:47 +0000 | [diff] [blame] | 291 | dmas = <&dwdma0 0x2000 0 0 0>, /* 0x4 << 11 */ |
| 292 | <&dwdma0 0x0280 0 0 0>; /* 0x5 << 7 */ |
| 293 | dma-names = "tx", "rx"; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 294 | }; |
| 295 | |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 296 | rtc@e0580000 { |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 297 | compatible = "st,spear600-rtc"; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 298 | reg = <0xe0580000 0x1000>; |
| 299 | interrupts = <0 36 0x4>; |
| 300 | status = "disabled"; |
| 301 | }; |
| 302 | |
| 303 | serial@e0000000 { |
| 304 | compatible = "arm,pl011", "arm,primecell"; |
| 305 | reg = <0xe0000000 0x1000>; |
Vipul Kumar Samar | 465e4f2b | 2012-07-04 18:52:17 +0800 | [diff] [blame] | 306 | interrupts = <0 35 0x4>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 307 | status = "disabled"; |
| 308 | }; |
| 309 | |
| 310 | adc@e0080000 { |
| 311 | compatible = "st,spear600-adc"; |
| 312 | reg = <0xe0080000 0x1000>; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 313 | interrupts = <0 12 0x4>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 314 | status = "disabled"; |
| 315 | }; |
| 316 | |
| 317 | timer@e0380000 { |
| 318 | compatible = "st,spear-timer"; |
| 319 | reg = <0xe0380000 0x400>; |
| 320 | interrupts = <0 37 0x4>; |
| 321 | }; |
| 322 | |
| 323 | timer@ec800600 { |
| 324 | compatible = "arm,cortex-a9-twd-timer"; |
| 325 | reg = <0xec800600 0x20>; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 326 | interrupts = <1 13 0x4>; |
| 327 | status = "disabled"; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 328 | }; |
| 329 | |
| 330 | wdt@ec800620 { |
| 331 | compatible = "arm,cortex-a9-twd-wdt"; |
| 332 | reg = <0xec800620 0x20>; |
| 333 | status = "disabled"; |
| 334 | }; |
| 335 | |
| 336 | thermal@e07008c4 { |
| 337 | compatible = "st,thermal-spear1340"; |
| 338 | reg = <0xe07008c4 0x4>; |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 339 | thermal_flags = <0x7000>; |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 340 | }; |
| 341 | }; |
| 342 | }; |
| 343 | }; |