.. | .. |
---|
4 | 4 | */ |
---|
5 | 5 | |
---|
6 | 6 | /dts-v1/; |
---|
7 | | -/include/ "integrator.dtsi" |
---|
| 7 | +#include "integrator.dtsi" |
---|
| 8 | +#include <dt-bindings/gpio/gpio.h> |
---|
| 9 | +#include <dt-bindings/input/input.h> |
---|
8 | 10 | |
---|
9 | 11 | / { |
---|
10 | 12 | model = "ARM Integrator/AP"; |
---|
11 | 13 | compatible = "arm,integrator-ap"; |
---|
12 | | - dma-ranges = <0x80000000 0x0 0x80000000>; |
---|
13 | 14 | |
---|
14 | 15 | cpus { |
---|
15 | 16 | #address-cells = <1>; |
---|
.. | .. |
---|
108 | 109 | syscon { |
---|
109 | 110 | compatible = "arm,integrator-ap-syscon", "syscon"; |
---|
110 | 111 | reg = <0x11000000 0x100>; |
---|
111 | | - interrupt-parent = <&pic>; |
---|
112 | | - /* These are the logical module IRQs */ |
---|
113 | | - interrupts = <9>, <10>, <11>, <12>; |
---|
114 | 112 | |
---|
115 | 113 | /* |
---|
116 | 114 | * SYSCLK clocks PCIv3 bridge, system controller and the |
---|
.. | .. |
---|
155 | 153 | |
---|
156 | 154 | pci: pciv3@62000000 { |
---|
157 | 155 | compatible = "arm,integrator-ap-pci", "v3,v360epc-pci"; |
---|
| 156 | + device_type = "pci"; |
---|
158 | 157 | #interrupt-cells = <1>; |
---|
159 | 158 | #size-cells = <2>; |
---|
160 | 159 | #address-cells = <3>; |
---|
.. | .. |
---|
240 | 239 | clock-names = "KMIREFCLK", "apb_pclk"; |
---|
241 | 240 | }; |
---|
242 | 241 | }; |
---|
| 242 | + |
---|
| 243 | + /* |
---|
| 244 | + * Logic module bus, we support up to 4 logical modules |
---|
| 245 | + * They appear at 0xc0000000, 0xd0000000, 0xe0000000 and 0xf0000000 |
---|
| 246 | + * and use interrupts 9, 10, 11 and 12 respectively. |
---|
| 247 | + */ |
---|
| 248 | + bus@c0000000 { |
---|
| 249 | + compatible = "arm,integrator-ap-lm"; |
---|
| 250 | + #address-cells = <1>; |
---|
| 251 | + #size-cells = <1>; |
---|
| 252 | + ranges = <0xc0000000 0xc0000000 0x40000000>; |
---|
| 253 | + dma-ranges; |
---|
| 254 | + |
---|
| 255 | + lm0: bus@c0000000 { |
---|
| 256 | + compatible = "simple-bus"; |
---|
| 257 | + ranges = <0x00000000 0xc0000000 0x10000000>; |
---|
| 258 | + dma-ranges = <0x00000000 0x80000000 0x10000000>; |
---|
| 259 | + reg = <0xc0000000 0x10000000>; |
---|
| 260 | + #address-cells = <1>; |
---|
| 261 | + #size-cells = <1>; |
---|
| 262 | + }; |
---|
| 263 | + lm1: bus@d0000000 { |
---|
| 264 | + compatible = "simple-bus"; |
---|
| 265 | + ranges = <0x00000000 0xd0000000 0x10000000>; |
---|
| 266 | + dma-ranges = <0x00000000 0x80000000 0x10000000>; |
---|
| 267 | + reg = <0xd0000000 0x10000000>; |
---|
| 268 | + #address-cells = <1>; |
---|
| 269 | + #size-cells = <1>; |
---|
| 270 | + }; |
---|
| 271 | + lm2: bus@e0000000 { |
---|
| 272 | + compatible = "simple-bus"; |
---|
| 273 | + ranges = <0x00000000 0xe0000000 0x10000000>; |
---|
| 274 | + dma-ranges = <0x00000000 0x80000000 0x10000000>; |
---|
| 275 | + reg = <0xe0000000 0x10000000>; |
---|
| 276 | + #address-cells = <1>; |
---|
| 277 | + #size-cells = <1>; |
---|
| 278 | + }; |
---|
| 279 | + lm3: bus@f0000000 { |
---|
| 280 | + compatible = "simple-bus"; |
---|
| 281 | + ranges = <0x00000000 0xf0000000 0x10000000>; |
---|
| 282 | + dma-ranges = <0x00000000 0x80000000 0x10000000>; |
---|
| 283 | + reg = <0xf0000000 0x10000000>; |
---|
| 284 | + #address-cells = <1>; |
---|
| 285 | + #size-cells = <1>; |
---|
| 286 | + }; |
---|
| 287 | + }; |
---|
243 | 288 | }; |
---|