Commit | Line | Data |
---|---|---|
3d741971 KG |
1 | /* |
2 | * T4240 Silicon/SoC Device Tree Source (post include) | |
3 | * | |
4 | * Copyright 2012 Freescale Semiconductor Inc. | |
5 | * | |
6 | * Redistribution and use in source and binary forms, with or without | |
7 | * modification, are permitted provided that the following conditions are met: | |
8 | * * Redistributions of source code must retain the above copyright | |
9 | * notice, this list of conditions and the following disclaimer. | |
10 | * * Redistributions in binary form must reproduce the above copyright | |
11 | * notice, this list of conditions and the following disclaimer in the | |
12 | * documentation and/or other materials provided with the distribution. | |
13 | * * Neither the name of Freescale Semiconductor nor the | |
14 | * names of its contributors may be used to endorse or promote products | |
15 | * derived from this software without specific prior written permission. | |
16 | * | |
17 | * | |
18 | * ALTERNATIVELY, this software may be distributed under the terms of the | |
19 | * GNU General Public License ("GPL") as published by the Free Software | |
20 | * Foundation, either version 2 of that License or (at your option) any | |
21 | * later version. | |
22 | * | |
23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | |
24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | |
27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | |
30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
33 | */ | |
34 | ||
35 | &ifc { | |
36 | #address-cells = <2>; | |
37 | #size-cells = <1>; | |
38 | compatible = "fsl,ifc", "simple-bus"; | |
39 | interrupts = <25 2 0 0>; | |
40 | }; | |
41 | ||
42 | /* controller at 0x240000 */ | |
43 | &pci0 { | |
44 | compatible = "fsl,t4240-pcie", "fsl,qoriq-pcie-v3.0"; | |
45 | device_type = "pci"; | |
46 | #size-cells = <2>; | |
47 | #address-cells = <3>; | |
48 | bus-range = <0x0 0xff>; | |
49 | interrupts = <20 2 0 0>; | |
50 | pcie@0 { | |
51 | #interrupt-cells = <1>; | |
52 | #size-cells = <2>; | |
53 | #address-cells = <3>; | |
54 | device_type = "pci"; | |
9e2ecdbb | 55 | reg = <0 0 0 0 0>; |
3d741971 KG |
56 | interrupts = <20 2 0 0>; |
57 | interrupt-map-mask = <0xf800 0 0 7>; | |
58 | interrupt-map = < | |
59 | /* IDSEL 0x0 */ | |
60 | 0000 0 0 1 &mpic 40 1 0 0 | |
61 | 0000 0 0 2 &mpic 1 1 0 0 | |
62 | 0000 0 0 3 &mpic 2 1 0 0 | |
63 | 0000 0 0 4 &mpic 3 1 0 0 | |
64 | >; | |
65 | }; | |
66 | }; | |
67 | ||
68 | /* controller at 0x250000 */ | |
69 | &pci1 { | |
70 | compatible = "fsl,t4240-pcie", "fsl,qoriq-pcie-v3.0"; | |
71 | device_type = "pci"; | |
72 | #size-cells = <2>; | |
73 | #address-cells = <3>; | |
74 | bus-range = <0 0xff>; | |
75 | interrupts = <21 2 0 0>; | |
76 | pcie@0 { | |
77 | #interrupt-cells = <1>; | |
78 | #size-cells = <2>; | |
79 | #address-cells = <3>; | |
80 | device_type = "pci"; | |
9e2ecdbb | 81 | reg = <0 0 0 0 0>; |
3d741971 KG |
82 | interrupts = <21 2 0 0>; |
83 | interrupt-map-mask = <0xf800 0 0 7>; | |
84 | interrupt-map = < | |
85 | /* IDSEL 0x0 */ | |
86 | 0000 0 0 1 &mpic 41 1 0 0 | |
87 | 0000 0 0 2 &mpic 5 1 0 0 | |
88 | 0000 0 0 3 &mpic 6 1 0 0 | |
89 | 0000 0 0 4 &mpic 7 1 0 0 | |
90 | >; | |
91 | }; | |
92 | }; | |
93 | ||
94 | /* controller at 0x260000 */ | |
95 | &pci2 { | |
96 | compatible = "fsl,t4240-pcie", "fsl,qoriq-pcie-v3.0"; | |
97 | device_type = "pci"; | |
98 | #size-cells = <2>; | |
99 | #address-cells = <3>; | |
100 | bus-range = <0x0 0xff>; | |
101 | interrupts = <22 2 0 0>; | |
102 | pcie@0 { | |
103 | #interrupt-cells = <1>; | |
104 | #size-cells = <2>; | |
105 | #address-cells = <3>; | |
106 | device_type = "pci"; | |
9e2ecdbb | 107 | reg = <0 0 0 0 0>; |
3d741971 KG |
108 | interrupts = <22 2 0 0>; |
109 | interrupt-map-mask = <0xf800 0 0 7>; | |
110 | interrupt-map = < | |
111 | /* IDSEL 0x0 */ | |
112 | 0000 0 0 1 &mpic 42 1 0 0 | |
113 | 0000 0 0 2 &mpic 9 1 0 0 | |
114 | 0000 0 0 3 &mpic 10 1 0 0 | |
115 | 0000 0 0 4 &mpic 11 1 0 0 | |
116 | >; | |
117 | }; | |
118 | }; | |
119 | ||
120 | /* controller at 0x270000 */ | |
121 | &pci3 { | |
122 | compatible = "fsl,t4240-pcie", "fsl,qoriq-pcie-v3.0"; | |
123 | device_type = "pci"; | |
124 | #size-cells = <2>; | |
125 | #address-cells = <3>; | |
126 | bus-range = <0x0 0xff>; | |
127 | interrupts = <23 2 0 0>; | |
128 | pcie@0 { | |
129 | #interrupt-cells = <1>; | |
130 | #size-cells = <2>; | |
131 | #address-cells = <3>; | |
132 | device_type = "pci"; | |
9e2ecdbb | 133 | reg = <0 0 0 0 0>; |
3d741971 KG |
134 | interrupts = <23 2 0 0>; |
135 | interrupt-map-mask = <0xf800 0 0 7>; | |
136 | interrupt-map = < | |
137 | /* IDSEL 0x0 */ | |
138 | 0000 0 0 1 &mpic 43 1 0 0 | |
139 | 0000 0 0 2 &mpic 0 1 0 0 | |
140 | 0000 0 0 3 &mpic 4 1 0 0 | |
141 | 0000 0 0 4 &mpic 8 1 0 0 | |
142 | >; | |
143 | }; | |
144 | }; | |
145 | ||
146 | &rio { | |
147 | compatible = "fsl,srio"; | |
148 | interrupts = <16 2 1 11>; | |
149 | #address-cells = <2>; | |
150 | #size-cells = <2>; | |
151 | ranges; | |
152 | ||
153 | port1 { | |
154 | #address-cells = <2>; | |
155 | #size-cells = <2>; | |
156 | cell-index = <1>; | |
157 | }; | |
158 | ||
159 | port2 { | |
160 | #address-cells = <2>; | |
161 | #size-cells = <2>; | |
162 | cell-index = <2>; | |
163 | }; | |
164 | }; | |
165 | ||
8c33de98 SG |
166 | &dcsr { |
167 | #address-cells = <1>; | |
168 | #size-cells = <1>; | |
169 | compatible = "fsl,dcsr", "simple-bus"; | |
170 | ||
171 | dcsr-epu@0 { | |
172 | compatible = "fsl,t4240-dcsr-epu", "fsl,dcsr-epu"; | |
173 | interrupts = <52 2 0 0 | |
174 | 84 2 0 0 | |
175 | 85 2 0 0 | |
176 | 94 2 0 0 | |
177 | 95 2 0 0>; | |
178 | reg = <0x0 0x1000>; | |
179 | }; | |
180 | dcsr-npc { | |
181 | compatible = "fsl,t4240-dcsr-cnpc", "fsl,dcsr-cnpc"; | |
182 | reg = <0x1000 0x1000 0x1002000 0x10000>; | |
183 | }; | |
184 | dcsr-nxc@2000 { | |
185 | compatible = "fsl,dcsr-nxc"; | |
186 | reg = <0x2000 0x1000>; | |
187 | }; | |
188 | dcsr-corenet { | |
189 | compatible = "fsl,dcsr-corenet"; | |
190 | reg = <0x8000 0x1000 0x1A000 0x1000>; | |
191 | }; | |
192 | dcsr-dpaa@9000 { | |
193 | compatible = "fsl,t4240-dcsr-dpaa", "fsl,dcsr-dpaa"; | |
194 | reg = <0x9000 0x1000>; | |
195 | }; | |
196 | dcsr-ocn@11000 { | |
197 | compatible = "fsl,t4240-dcsr-ocn", "fsl,dcsr-ocn"; | |
198 | reg = <0x11000 0x1000>; | |
199 | }; | |
200 | dcsr-ddr@12000 { | |
201 | compatible = "fsl,dcsr-ddr"; | |
202 | dev-handle = <&ddr1>; | |
203 | reg = <0x12000 0x1000>; | |
204 | }; | |
205 | dcsr-ddr@13000 { | |
206 | compatible = "fsl,dcsr-ddr"; | |
207 | dev-handle = <&ddr2>; | |
208 | reg = <0x13000 0x1000>; | |
209 | }; | |
210 | dcsr-ddr@14000 { | |
211 | compatible = "fsl,dcsr-ddr"; | |
212 | dev-handle = <&ddr3>; | |
213 | reg = <0x14000 0x1000>; | |
214 | }; | |
215 | dcsr-nal@18000 { | |
216 | compatible = "fsl,t4240-dcsr-nal", "fsl,dcsr-nal"; | |
217 | reg = <0x18000 0x1000>; | |
218 | }; | |
219 | dcsr-rcpm@22000 { | |
220 | compatible = "fsl,t4240-dcsr-rcpm", "fsl,dcsr-rcpm"; | |
221 | reg = <0x22000 0x1000>; | |
222 | }; | |
223 | dcsr-snpc@30000 { | |
224 | compatible = "fsl,t4240-dcsr-snpc", "fsl,dcsr-snpc"; | |
225 | reg = <0x30000 0x1000 0x1022000 0x10000>; | |
226 | }; | |
227 | dcsr-snpc@31000 { | |
228 | compatible = "fsl,t4240-dcsr-snpc", "fsl,dcsr-snpc"; | |
229 | reg = <0x31000 0x1000 0x1042000 0x10000>; | |
230 | }; | |
231 | dcsr-snpc@32000 { | |
232 | compatible = "fsl,t4240-dcsr-snpc", "fsl,dcsr-snpc"; | |
233 | reg = <0x32000 0x1000 0x1062000 0x10000>; | |
234 | }; | |
235 | dcsr-cpu-sb-proxy@100000 { | |
236 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
237 | cpu-handle = <&cpu0>; | |
238 | reg = <0x100000 0x1000 0x101000 0x1000>; | |
239 | }; | |
240 | dcsr-cpu-sb-proxy@108000 { | |
241 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
242 | cpu-handle = <&cpu1>; | |
243 | reg = <0x108000 0x1000 0x109000 0x1000>; | |
244 | }; | |
245 | dcsr-cpu-sb-proxy@110000 { | |
246 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
247 | cpu-handle = <&cpu2>; | |
248 | reg = <0x110000 0x1000 0x111000 0x1000>; | |
249 | }; | |
250 | dcsr-cpu-sb-proxy@118000 { | |
251 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
252 | cpu-handle = <&cpu3>; | |
253 | reg = <0x118000 0x1000 0x119000 0x1000>; | |
254 | }; | |
255 | dcsr-cpu-sb-proxy@120000 { | |
256 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
257 | cpu-handle = <&cpu4>; | |
258 | reg = <0x120000 0x1000 0x121000 0x1000>; | |
259 | }; | |
260 | dcsr-cpu-sb-proxy@128000 { | |
261 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
262 | cpu-handle = <&cpu5>; | |
263 | reg = <0x128000 0x1000 0x129000 0x1000>; | |
264 | }; | |
265 | dcsr-cpu-sb-proxy@130000 { | |
266 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
267 | cpu-handle = <&cpu6>; | |
268 | reg = <0x130000 0x1000 0x131000 0x1000>; | |
269 | }; | |
270 | dcsr-cpu-sb-proxy@138000 { | |
271 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
272 | cpu-handle = <&cpu7>; | |
273 | reg = <0x138000 0x1000 0x139000 0x1000>; | |
274 | }; | |
275 | dcsr-cpu-sb-proxy@140000 { | |
276 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
277 | cpu-handle = <&cpu8>; | |
278 | reg = <0x140000 0x1000 0x141000 0x1000>; | |
279 | }; | |
280 | dcsr-cpu-sb-proxy@148000 { | |
281 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
282 | cpu-handle = <&cpu9>; | |
283 | reg = <0x148000 0x1000 0x149000 0x1000>; | |
284 | }; | |
285 | dcsr-cpu-sb-proxy@150000 { | |
286 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
287 | cpu-handle = <&cpu10>; | |
288 | reg = <0x150000 0x1000 0x151000 0x1000>; | |
289 | }; | |
290 | dcsr-cpu-sb-proxy@158000 { | |
291 | compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; | |
292 | cpu-handle = <&cpu11>; | |
293 | reg = <0x158000 0x1000 0x159000 0x1000>; | |
294 | }; | |
295 | }; | |
296 | ||
3d741971 KG |
297 | &soc { |
298 | #address-cells = <1>; | |
299 | #size-cells = <1>; | |
300 | device_type = "soc"; | |
301 | compatible = "simple-bus"; | |
302 | ||
303 | soc-sram-error { | |
304 | compatible = "fsl,soc-sram-error"; | |
305 | interrupts = <16 2 1 29>; | |
306 | }; | |
307 | ||
308 | corenet-law@0 { | |
309 | compatible = "fsl,corenet-law"; | |
310 | reg = <0x0 0x1000>; | |
311 | fsl,num-laws = <32>; | |
312 | }; | |
313 | ||
314 | ddr1: memory-controller@8000 { | |
315 | compatible = "fsl,qoriq-memory-controller-v4.7", | |
316 | "fsl,qoriq-memory-controller"; | |
317 | reg = <0x8000 0x1000>; | |
318 | interrupts = <16 2 1 23>; | |
319 | }; | |
320 | ||
321 | ddr2: memory-controller@9000 { | |
322 | compatible = "fsl,qoriq-memory-controller-v4.7", | |
323 | "fsl,qoriq-memory-controller"; | |
324 | reg = <0x9000 0x1000>; | |
325 | interrupts = <16 2 1 22>; | |
326 | }; | |
327 | ||
328 | ddr3: memory-controller@a000 { | |
329 | compatible = "fsl,qoriq-memory-controller-v4.7", | |
330 | "fsl,qoriq-memory-controller"; | |
331 | reg = <0xa000 0x1000>; | |
332 | interrupts = <16 2 1 21>; | |
333 | }; | |
334 | ||
335 | cpc: l3-cache-controller@10000 { | |
336 | compatible = "fsl,t4240-l3-cache-controller", "cache"; | |
337 | reg = <0x10000 0x1000 | |
338 | 0x11000 0x1000 | |
339 | 0x12000 0x1000>; | |
340 | interrupts = <16 2 1 27 | |
341 | 16 2 1 26 | |
342 | 16 2 1 25>; | |
343 | }; | |
344 | ||
345 | corenet-cf@18000 { | |
346 | compatible = "fsl,corenet-cf"; | |
347 | reg = <0x18000 0x1000>; | |
348 | interrupts = <16 2 1 31>; | |
349 | fsl,ccf-num-csdids = <32>; | |
350 | fsl,ccf-num-snoopids = <32>; | |
351 | }; | |
352 | ||
353 | iommu@20000 { | |
354 | compatible = "fsl,pamu-v1.0", "fsl,pamu"; | |
355 | reg = <0x20000 0x6000>; | |
356 | interrupts = < | |
357 | 24 2 0 0 | |
358 | 16 2 1 30>; | |
359 | }; | |
360 | ||
361 | /include/ "qoriq-mpic.dtsi" | |
362 | ||
363 | guts: global-utilities@e0000 { | |
3dfd44c5 | 364 | compatible = "fsl,t4240-device-config", "fsl,qoriq-device-config-2.0"; |
3d741971 KG |
365 | reg = <0xe0000 0xe00>; |
366 | fsl,has-rstcr; | |
367 | fsl,liodn-bits = <12>; | |
368 | }; | |
369 | ||
370 | clockgen: global-utilities@e1000 { | |
9ac8f50a | 371 | compatible = "fsl,t4240-clockgen", "fsl,qoriq-clockgen-2.0"; |
3d741971 KG |
372 | reg = <0xe1000 0x1000>; |
373 | }; | |
374 | ||
375 | rcpm: global-utilities@e2000 { | |
9ac8f50a | 376 | compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0"; |
3d741971 KG |
377 | reg = <0xe2000 0x1000>; |
378 | }; | |
379 | ||
380 | sfp: sfp@e8000 { | |
381 | compatible = "fsl,t4240-sfp"; | |
382 | reg = <0xe8000 0x1000>; | |
383 | }; | |
384 | ||
385 | serdes: serdes@ea000 { | |
386 | compatible = "fsl,t4240-serdes"; | |
387 | reg = <0xea000 0x4000>; | |
388 | }; | |
389 | ||
390 | /include/ "qoriq-dma-0.dtsi" | |
391 | /include/ "qoriq-dma-1.dtsi" | |
392 | ||
393 | /include/ "qoriq-espi-0.dtsi" | |
394 | spi@110000 { | |
395 | fsl,espi-num-chipselects = <4>; | |
396 | }; | |
397 | ||
398 | /include/ "qoriq-esdhc-0.dtsi" | |
399 | sdhc@114000 { | |
400 | compatible = "fsl,t4240-esdhc", "fsl,esdhc"; | |
401 | sdhci,auto-cmd12; | |
402 | }; | |
403 | /include/ "qoriq-i2c-0.dtsi" | |
404 | /include/ "qoriq-i2c-1.dtsi" | |
405 | /include/ "qoriq-duart-0.dtsi" | |
406 | /include/ "qoriq-duart-1.dtsi" | |
407 | /include/ "qoriq-gpio-0.dtsi" | |
408 | /include/ "qoriq-gpio-1.dtsi" | |
409 | /include/ "qoriq-gpio-2.dtsi" | |
410 | /include/ "qoriq-gpio-3.dtsi" | |
411 | /include/ "qoriq-usb2-mph-0.dtsi" | |
412 | usb0: usb@210000 { | |
413 | compatible = "fsl-usb2-mph-v2.4", "fsl-usb2-mph"; | |
414 | phy_type = "utmi"; | |
415 | port0; | |
416 | }; | |
417 | /include/ "qoriq-usb2-dr-0.dtsi" | |
418 | usb1: usb@211000 { | |
419 | compatible = "fsl-usb2-dr-v2.4", "fsl-usb2-dr"; | |
420 | dr_mode = "host"; | |
421 | phy_type = "utmi"; | |
422 | }; | |
423 | /include/ "qoriq-sata2-0.dtsi" | |
424 | /include/ "qoriq-sata2-1.dtsi" | |
425 | /include/ "qoriq-sec5.0-0.dtsi" | |
426 | ||
427 | L2_1: l2-cache-controller@c20000 { | |
428 | compatible = "fsl,t4240-l2-cache-controller"; | |
429 | reg = <0xc20000 0x40000>; | |
430 | next-level-cache = <&cpc>; | |
431 | }; | |
432 | L2_2: l2-cache-controller@c60000 { | |
433 | compatible = "fsl,t4240-l2-cache-controller"; | |
434 | reg = <0xc60000 0x40000>; | |
435 | next-level-cache = <&cpc>; | |
436 | }; | |
437 | L2_3: l2-cache-controller@ca0000 { | |
438 | compatible = "fsl,t4240-l2-cache-controller"; | |
439 | reg = <0xca0000 0x40000>; | |
440 | next-level-cache = <&cpc>; | |
441 | }; | |
442 | }; |