blob: ff6a52270a9b06847ea10430f6362453410cef75 [file] [log] [blame]
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -05001/*
2 * SBC8560 Device Tree Source
3 *
4 * Copyright 2007 Wind River Systems Inc.
5 *
6 * Paul Gortmaker (see MAINTAINERS for contact information)
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 */
13
14/dts-v1/;
15
16/ {
17 model = "SBC8560";
18 compatible = "SBC8560";
19 #address-cells = <1>;
20 #size-cells = <1>;
21
22 aliases {
23 ethernet0 = &enet0;
24 ethernet1 = &enet1;
25 ethernet2 = &enet2;
26 ethernet3 = &enet3;
27 serial0 = &serial0;
28 serial1 = &serial1;
29 pci0 = &pci0;
30 };
31
32 cpus {
33 #address-cells = <1>;
34 #size-cells = <0>;
35
36 PowerPC,8560@0 {
37 device_type = "cpu";
38 reg = <0>;
39 d-cache-line-size = <0x20>; // 32 bytes
40 i-cache-line-size = <0x20>; // 32 bytes
41 d-cache-size = <0x8000>; // L1, 32K
42 i-cache-size = <0x8000>; // L1, 32K
43 timebase-frequency = <0>; // From uboot
44 bus-frequency = <0>;
45 clock-frequency = <0>;
Kumar Galac0540652008-05-30 13:43:43 -050046 next-level-cache = <&L2>;
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -050047 };
48 };
49
50 memory {
51 device_type = "memory";
52 reg = <0x00000000 0x20000000>;
53 };
54
55 soc@ff700000 {
56 #address-cells = <1>;
57 #size-cells = <1>;
58 device_type = "soc";
59 ranges = <0x0 0xff700000 0x00100000>;
60 reg = <0xff700000 0x00100000>;
61 clock-frequency = <0>;
62
Kumar Galae1a22892009-04-22 13:17:42 -050063 ecm-law@0 {
64 compatible = "fsl,ecm-law";
65 reg = <0x0 0x1000>;
66 fsl,num-laws = <8>;
67 };
68
69 ecm@1000 {
70 compatible = "fsl,mpc8560-ecm", "fsl,ecm";
71 reg = <0x1000 0x1000>;
72 interrupts = <17 2>;
73 interrupt-parent = <&mpic>;
74 };
75
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -050076 memory-controller@2000 {
Kumar Galafe671772009-03-31 08:46:25 -050077 compatible = "fsl,mpc8560-memory-controller";
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -050078 reg = <0x2000 0x1000>;
79 interrupt-parent = <&mpic>;
80 interrupts = <0x12 0x2>;
81 };
82
Kumar Galac0540652008-05-30 13:43:43 -050083 L2: l2-cache-controller@20000 {
Kumar Galafe671772009-03-31 08:46:25 -050084 compatible = "fsl,mpc8560-l2-cache-controller";
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -050085 reg = <0x20000 0x1000>;
86 cache-line-size = <0x20>; // 32 bytes
87 cache-size = <0x40000>; // L2, 256K
88 interrupt-parent = <&mpic>;
89 interrupts = <0x10 0x2>;
90 };
91
92 i2c@3000 {
93 #address-cells = <1>;
94 #size-cells = <0>;
95 cell-index = <0>;
96 compatible = "fsl-i2c";
97 reg = <0x3000 0x100>;
98 interrupts = <0x2b 0x2>;
99 interrupt-parent = <&mpic>;
100 dfsrr;
101 };
102
103 i2c@3100 {
104 #address-cells = <1>;
105 #size-cells = <0>;
106 cell-index = <1>;
107 compatible = "fsl-i2c";
108 reg = <0x3100 0x100>;
109 interrupts = <0x2b 0x2>;
110 interrupt-parent = <&mpic>;
111 dfsrr;
112 };
113
Kumar Galadee80552008-06-27 13:45:19 -0500114 dma@21300 {
115 #address-cells = <1>;
116 #size-cells = <1>;
117 compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
118 reg = <0x21300 0x4>;
119 ranges = <0x0 0x21100 0x200>;
120 cell-index = <0>;
121 dma-channel@0 {
122 compatible = "fsl,mpc8560-dma-channel",
123 "fsl,eloplus-dma-channel";
124 reg = <0x0 0x80>;
125 cell-index = <0>;
126 interrupt-parent = <&mpic>;
127 interrupts = <20 2>;
128 };
129 dma-channel@80 {
130 compatible = "fsl,mpc8560-dma-channel",
131 "fsl,eloplus-dma-channel";
132 reg = <0x80 0x80>;
133 cell-index = <1>;
134 interrupt-parent = <&mpic>;
135 interrupts = <21 2>;
136 };
137 dma-channel@100 {
138 compatible = "fsl,mpc8560-dma-channel",
139 "fsl,eloplus-dma-channel";
140 reg = <0x100 0x80>;
141 cell-index = <2>;
142 interrupt-parent = <&mpic>;
143 interrupts = <22 2>;
144 };
145 dma-channel@180 {
146 compatible = "fsl,mpc8560-dma-channel",
147 "fsl,eloplus-dma-channel";
148 reg = <0x180 0x80>;
149 cell-index = <3>;
150 interrupt-parent = <&mpic>;
151 interrupts = <23 2>;
152 };
153 };
154
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500155 enet0: ethernet@24000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300156 #address-cells = <1>;
157 #size-cells = <1>;
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500158 cell-index = <0>;
159 device_type = "network";
160 model = "TSEC";
161 compatible = "gianfar";
162 reg = <0x24000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300163 ranges = <0x0 0x24000 0x1000>;
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500164 local-mac-address = [ 00 00 00 00 00 00 ];
165 interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
166 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800167 tbi-handle = <&tbi0>;
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500168 phy-handle = <&phy0>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300169
170 mdio@520 {
171 #address-cells = <1>;
172 #size-cells = <0>;
173 compatible = "fsl,gianfar-mdio";
174 reg = <0x520 0x20>;
175 phy0: ethernet-phy@19 {
176 interrupt-parent = <&mpic>;
177 interrupts = <0x6 0x1>;
178 reg = <0x19>;
179 device_type = "ethernet-phy";
180 };
181 phy1: ethernet-phy@1a {
182 interrupt-parent = <&mpic>;
183 interrupts = <0x7 0x1>;
184 reg = <0x1a>;
185 device_type = "ethernet-phy";
186 };
187 phy2: ethernet-phy@1b {
188 interrupt-parent = <&mpic>;
189 interrupts = <0x8 0x1>;
190 reg = <0x1b>;
191 device_type = "ethernet-phy";
192 };
193 phy3: ethernet-phy@1c {
194 interrupt-parent = <&mpic>;
195 interrupts = <0x8 0x1>;
196 reg = <0x1c>;
197 device_type = "ethernet-phy";
198 };
199 tbi0: tbi-phy@11 {
200 reg = <0x11>;
201 device_type = "tbi-phy";
202 };
203 };
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500204 };
205
206 enet1: ethernet@25000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300207 #address-cells = <1>;
208 #size-cells = <1>;
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500209 cell-index = <1>;
210 device_type = "network";
211 model = "TSEC";
212 compatible = "gianfar";
213 reg = <0x25000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300214 ranges = <0x0 0x25000 0x1000>;
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500215 local-mac-address = [ 00 00 00 00 00 00 ];
216 interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
217 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800218 tbi-handle = <&tbi1>;
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500219 phy-handle = <&phy1>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300220
221 mdio@520 {
222 #address-cells = <1>;
223 #size-cells = <0>;
224 compatible = "fsl,gianfar-tbi";
225 reg = <0x520 0x20>;
226
227 tbi1: tbi-phy@11 {
228 reg = <0x11>;
229 device_type = "tbi-phy";
230 };
231 };
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500232 };
233
234 mpic: pic@40000 {
235 interrupt-controller;
236 #address-cells = <0>;
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500237 #interrupt-cells = <2>;
Kumar Galaacd4b712008-05-30 12:12:26 -0500238 compatible = "chrp,open-pic";
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500239 reg = <0x40000 0x40000>;
240 device_type = "open-pic";
241 };
242
243 cpm@919c0 {
244 #address-cells = <1>;
245 #size-cells = <1>;
246 compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
247 reg = <0x919c0 0x30>;
248 ranges;
249
250 muram@80000 {
251 #address-cells = <1>;
252 #size-cells = <1>;
253 ranges = <0x0 0x80000 0x10000>;
254
255 data@0 {
256 compatible = "fsl,cpm-muram-data";
257 reg = <0x0 0x4000 0x9000 0x2000>;
258 };
259 };
260
261 brg@919f0 {
262 compatible = "fsl,mpc8560-brg",
263 "fsl,cpm2-brg",
264 "fsl,cpm-brg";
265 reg = <0x919f0 0x10 0x915f0 0x10>;
266 clock-frequency = <165000000>;
267 };
268
269 cpmpic: pic@90c00 {
270 interrupt-controller;
271 #address-cells = <0>;
272 #interrupt-cells = <2>;
273 interrupts = <0x2e 0x2>;
274 interrupt-parent = <&mpic>;
275 reg = <0x90c00 0x80>;
276 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
277 };
278
279 enet2: ethernet@91320 {
280 device_type = "network";
281 compatible = "fsl,mpc8560-fcc-enet",
282 "fsl,cpm2-fcc-enet";
283 reg = <0x91320 0x20 0x88500 0x100 0x913b0 0x1>;
284 local-mac-address = [ 00 00 00 00 00 00 ];
285 fsl,cpm-command = <0x16200300>;
286 interrupts = <0x21 0x8>;
287 interrupt-parent = <&cpmpic>;
288 phy-handle = <&phy2>;
289 };
290
291 enet3: ethernet@91340 {
292 device_type = "network";
293 compatible = "fsl,mpc8560-fcc-enet",
294 "fsl,cpm2-fcc-enet";
295 reg = <0x91340 0x20 0x88600 0x100 0x913d0 0x1>;
296 local-mac-address = [ 00 00 00 00 00 00 ];
297 fsl,cpm-command = <0x1a400300>;
298 interrupts = <0x22 0x8>;
299 interrupt-parent = <&cpmpic>;
300 phy-handle = <&phy3>;
301 };
302 };
303
304 global-utilities@e0000 {
305 compatible = "fsl,mpc8560-guts";
306 reg = <0xe0000 0x1000>;
307 fsl,has-rstcr;
308 };
309 };
310
311 pci0: pci@ff708000 {
Paul Gortmaker6a35b6f2008-01-24 18:41:24 -0500312 #interrupt-cells = <1>;
313 #size-cells = <2>;
314 #address-cells = <3>;
315 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
316 device_type = "pci";
317 reg = <0xff708000 0x1000>;
318 clock-frequency = <66666666>;
319 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
320 interrupt-map = <
321
322 /* IDSEL 0x02 */
323 0x1000 0x0 0x0 0x1 &mpic 0x2 0x1
324 0x1000 0x0 0x0 0x2 &mpic 0x3 0x1
325 0x1000 0x0 0x0 0x3 &mpic 0x4 0x1
326 0x1000 0x0 0x0 0x4 &mpic 0x5 0x1>;
327
328 interrupt-parent = <&mpic>;
329 interrupts = <0x18 0x2>;
330 bus-range = <0x0 0x0>;
331 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
332 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
333 };
334
335 localbus@ff705000 {
336 compatible = "fsl,mpc8560-localbus";
337 #address-cells = <2>;
338 #size-cells = <1>;
339 reg = <0xff705000 0x100>; // BRx, ORx, etc.
340
341 ranges = <
342 0x0 0x0 0xff800000 0x0800000 // 8MB boot flash
343 0x1 0x0 0xe4000000 0x4000000 // 64MB flash
344 0x3 0x0 0x20000000 0x4000000 // 64MB SDRAM
345 0x4 0x0 0x24000000 0x4000000 // 64MB SDRAM
346 0x5 0x0 0xfc000000 0x0c00000 // EPLD
347 0x6 0x0 0xe0000000 0x4000000 // 64MB flash
348 0x7 0x0 0x80000000 0x0200000 // ATM1,2
349 >;
350
351 epld@5,0 {
352 compatible = "wrs,epld-localbus";
353 #address-cells = <2>;
354 #size-cells = <1>;
355 reg = <0x5 0x0 0xc00000>;
356 ranges = <
357 0x0 0x0 0x5 0x000000 0x1fff // LED disp.
358 0x1 0x0 0x5 0x100000 0x1fff // switches
359 0x2 0x0 0x5 0x200000 0x1fff // ID reg.
360 0x3 0x0 0x5 0x300000 0x1fff // status reg.
361 0x4 0x0 0x5 0x400000 0x1fff // reset reg.
362 0x5 0x0 0x5 0x500000 0x1fff // Wind port
363 0x7 0x0 0x5 0x700000 0x1fff // UART #1
364 0x8 0x0 0x5 0x800000 0x1fff // UART #2
365 0x9 0x0 0x5 0x900000 0x1fff // RTC
366 0xb 0x0 0x5 0xb00000 0x1fff // EEPROM
367 >;
368
369 bidr@2,0 {
370 compatible = "wrs,sbc8560-bidr";
371 reg = <0x2 0x0 0x10>;
372 };
373
374 bcsr@3,0 {
375 compatible = "wrs,sbc8560-bcsr";
376 reg = <0x3 0x0 0x10>;
377 };
378
379 brstcr@4,0 {
380 compatible = "wrs,sbc8560-brstcr";
381 reg = <0x4 0x0 0x10>;
382 };
383
384 serial0: serial@7,0 {
385 device_type = "serial";
386 compatible = "ns16550";
387 reg = <0x7 0x0 0x100>;
388 clock-frequency = <1843200>;
389 interrupts = <0x9 0x2>;
390 interrupt-parent = <&mpic>;
391 };
392
393 serial1: serial@8,0 {
394 device_type = "serial";
395 compatible = "ns16550";
396 reg = <0x8 0x0 0x100>;
397 clock-frequency = <1843200>;
398 interrupts = <0xa 0x2>;
399 interrupt-parent = <&mpic>;
400 };
401
402 rtc@9,0 {
403 compatible = "m48t59";
404 reg = <0x9 0x0 0x1fff>;
405 };
406 };
407 };
408};