blob: 66c9165eeb7a39930b3426a26847ed61a0acee58 [file] [log] [blame]
Paul Gortmaker30340992008-01-24 18:41:28 -05001/*
2 * SBC8548 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
15/dts-v1/;
16
17/ {
18 model = "SBC8548";
19 compatible = "SBC8548";
20 #address-cells = <1>;
21 #size-cells = <1>;
22
23 aliases {
24 ethernet0 = &enet0;
25 ethernet1 = &enet1;
26 serial0 = &serial0;
27 serial1 = &serial1;
28 pci0 = &pci0;
29 /* pci1 doesn't have a corresponding physical connector */
30 pci2 = &pci2;
31 };
32
33 cpus {
34 #address-cells = <1>;
35 #size-cells = <0>;
36
37 PowerPC,8548@0 {
38 device_type = "cpu";
39 reg = <0>;
40 d-cache-line-size = <0x20>; // 32 bytes
41 i-cache-line-size = <0x20>; // 32 bytes
42 d-cache-size = <0x8000>; // L1, 32K
43 i-cache-size = <0x8000>; // L1, 32K
44 timebase-frequency = <0>; // From uboot
45 bus-frequency = <0>;
46 clock-frequency = <0>;
Kumar Galac0540652008-05-30 13:43:43 -050047 next-level-cache = <&L2>;
Paul Gortmaker30340992008-01-24 18:41:28 -050048 };
49 };
50
51 memory {
52 device_type = "memory";
53 reg = <0x00000000 0x10000000>;
54 };
55
Jeremy McNicollbfd123b2008-05-05 18:17:24 -040056 localbus@e0000000 {
57 #address-cells = <2>;
58 #size-cells = <1>;
59 compatible = "simple-bus";
60 reg = <0xe0000000 0x5000>;
61 interrupt-parent = <&mpic>;
62
63 ranges = <0x0 0x0 0xff800000 0x00800000 /*8MB Flash*/
64 0x3 0x0 0xf0000000 0x04000000 /*64MB SDRAM*/
65 0x4 0x0 0xf4000000 0x04000000 /*64MB SDRAM*/
66 0x5 0x0 0xf8000000 0x00b10000 /* EPLD */
67 0x6 0x0 0xfb800000 0x04000000>; /*64MB Flash*/
68
69
70 flash@0,0 {
71 #address-cells = <1>;
72 #size-cells = <1>;
73 compatible = "cfi-flash";
74 reg = <0x0 0x0 0x800000>;
75 bank-width = <1>;
76 device-width = <1>;
77 partition@0x0 {
78 label = "space";
79 reg = <0x00000000 0x00100000>;
80 };
81 partition@0x100000 {
82 label = "bootloader";
83 reg = <0x00100000 0x00700000>;
84 read-only;
85 };
86 };
87
88 epld@5,0 {
89 compatible = "wrs,epld-localbus";
90 #address-cells = <2>;
91 #size-cells = <1>;
92 reg = <0x5 0x0 0x00b10000>;
93 ranges = <
94 0x0 0x0 0x5 0x000000 0x1fff /* LED */
95 0x1 0x0 0x5 0x100000 0x1fff /* Switches */
96 0x3 0x0 0x5 0x300000 0x1fff /* HW Rev. */
97 0xb 0x0 0x5 0xb00000 0x1fff /* EEPROM */
98 >;
99
100 led@0,0 {
101 compatible = "led";
102 reg = <0x0 0x0 0x1fff>;
103 };
104
105 switches@1,0 {
106 compatible = "switches";
107 reg = <0x1 0x0 0x1fff>;
108 };
109
110 hw-rev@3,0 {
111 compatible = "hw-rev";
112 reg = <0x3 0x0 0x1fff>;
113 };
114
115 eeprom@b,0 {
116 compatible = "eeprom";
117 reg = <0xb 0 0x1fff>;
118 };
119
120 };
121
122 alt-flash@6,0 {
123 #address-cells = <1>;
124 #size-cells = <1>;
125 reg = <0x6 0x0 0x04000000>;
126 compatible = "cfi-flash";
127 bank-width = <4>;
128 device-width = <1>;
129 partition@0x0 {
130 label = "bootloader";
131 reg = <0x00000000 0x00100000>;
132 read-only;
133 };
134 partition@0x00100000 {
135 label = "file-system";
136 reg = <0x00100000 0x01f00000>;
137 };
138 partition@0x02000000 {
139 label = "boot-config";
140 reg = <0x02000000 0x00100000>;
141 };
142 partition@0x02100000 {
143 label = "space";
144 reg = <0x02100000 0x01f00000>;
145 };
146 };
147 };
148
Paul Gortmaker30340992008-01-24 18:41:28 -0500149 soc8548@e0000000 {
150 #address-cells = <1>;
151 #size-cells = <1>;
152 device_type = "soc";
153 ranges = <0x00000000 0xe0000000 0x00100000>;
154 reg = <0xe0000000 0x00001000>; // CCSRBAR
155 bus-frequency = <0>;
Jeremy McNicollbfd123b2008-05-05 18:17:24 -0400156 compatible = "simple-bus";
Paul Gortmaker30340992008-01-24 18:41:28 -0500157
Kumar Galae1a22892009-04-22 13:17:42 -0500158 ecm-law@0 {
159 compatible = "fsl,ecm-law";
160 reg = <0x0 0x1000>;
161 fsl,num-laws = <10>;
162 };
163
164 ecm@1000 {
165 compatible = "fsl,mpc8548-ecm", "fsl,ecm";
166 reg = <0x1000 0x1000>;
167 interrupts = <17 2>;
168 interrupt-parent = <&mpic>;
169 };
170
Paul Gortmaker30340992008-01-24 18:41:28 -0500171 memory-controller@2000 {
Kumar Galafe671772009-03-31 08:46:25 -0500172 compatible = "fsl,mpc8548-memory-controller";
Paul Gortmaker30340992008-01-24 18:41:28 -0500173 reg = <0x2000 0x1000>;
174 interrupt-parent = <&mpic>;
175 interrupts = <0x12 0x2>;
176 };
177
Kumar Galac0540652008-05-30 13:43:43 -0500178 L2: l2-cache-controller@20000 {
Kumar Galafe671772009-03-31 08:46:25 -0500179 compatible = "fsl,mpc8548-l2-cache-controller";
Paul Gortmaker30340992008-01-24 18:41:28 -0500180 reg = <0x20000 0x1000>;
181 cache-line-size = <0x20>; // 32 bytes
182 cache-size = <0x80000>; // L2, 512K
183 interrupt-parent = <&mpic>;
184 interrupts = <0x10 0x2>;
185 };
186
187 i2c@3000 {
188 #address-cells = <1>;
189 #size-cells = <0>;
190 cell-index = <0>;
191 compatible = "fsl-i2c";
192 reg = <0x3000 0x100>;
193 interrupts = <0x2b 0x2>;
194 interrupt-parent = <&mpic>;
195 dfsrr;
196 };
197
198 i2c@3100 {
199 #address-cells = <1>;
200 #size-cells = <0>;
201 cell-index = <1>;
202 compatible = "fsl-i2c";
203 reg = <0x3100 0x100>;
204 interrupts = <0x2b 0x2>;
205 interrupt-parent = <&mpic>;
206 dfsrr;
207 };
208
Kumar Galadee80552008-06-27 13:45:19 -0500209 dma@21300 {
210 #address-cells = <1>;
211 #size-cells = <1>;
212 compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma";
213 reg = <0x21300 0x4>;
214 ranges = <0x0 0x21100 0x200>;
215 cell-index = <0>;
216 dma-channel@0 {
217 compatible = "fsl,mpc8548-dma-channel",
218 "fsl,eloplus-dma-channel";
219 reg = <0x0 0x80>;
220 cell-index = <0>;
221 interrupt-parent = <&mpic>;
222 interrupts = <20 2>;
223 };
224 dma-channel@80 {
225 compatible = "fsl,mpc8548-dma-channel",
226 "fsl,eloplus-dma-channel";
227 reg = <0x80 0x80>;
228 cell-index = <1>;
229 interrupt-parent = <&mpic>;
230 interrupts = <21 2>;
231 };
232 dma-channel@100 {
233 compatible = "fsl,mpc8548-dma-channel",
234 "fsl,eloplus-dma-channel";
235 reg = <0x100 0x80>;
236 cell-index = <2>;
237 interrupt-parent = <&mpic>;
238 interrupts = <22 2>;
239 };
240 dma-channel@180 {
241 compatible = "fsl,mpc8548-dma-channel",
242 "fsl,eloplus-dma-channel";
243 reg = <0x180 0x80>;
244 cell-index = <3>;
245 interrupt-parent = <&mpic>;
246 interrupts = <23 2>;
247 };
248 };
249
Paul Gortmaker30340992008-01-24 18:41:28 -0500250 enet0: ethernet@24000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300251 #address-cells = <1>;
252 #size-cells = <1>;
Paul Gortmaker30340992008-01-24 18:41:28 -0500253 cell-index = <0>;
254 device_type = "network";
255 model = "eTSEC";
256 compatible = "gianfar";
257 reg = <0x24000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300258 ranges = <0x0 0x24000 0x1000>;
Paul Gortmaker30340992008-01-24 18:41:28 -0500259 local-mac-address = [ 00 00 00 00 00 00 ];
260 interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
261 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800262 tbi-handle = <&tbi0>;
Paul Gortmaker30340992008-01-24 18:41:28 -0500263 phy-handle = <&phy0>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300264
265 mdio@520 {
266 #address-cells = <1>;
267 #size-cells = <0>;
268 compatible = "fsl,gianfar-mdio";
269 reg = <0x520 0x20>;
270
271 phy0: ethernet-phy@19 {
272 interrupt-parent = <&mpic>;
273 interrupts = <0x6 0x1>;
274 reg = <0x19>;
275 device_type = "ethernet-phy";
276 };
277 phy1: ethernet-phy@1a {
278 interrupt-parent = <&mpic>;
279 interrupts = <0x7 0x1>;
280 reg = <0x1a>;
281 device_type = "ethernet-phy";
282 };
283 tbi0: tbi-phy@11 {
284 reg = <0x11>;
285 device_type = "tbi-phy";
286 };
287 };
Paul Gortmaker30340992008-01-24 18:41:28 -0500288 };
289
290 enet1: ethernet@25000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300291 #address-cells = <1>;
292 #size-cells = <1>;
Paul Gortmaker30340992008-01-24 18:41:28 -0500293 cell-index = <1>;
294 device_type = "network";
295 model = "eTSEC";
296 compatible = "gianfar";
297 reg = <0x25000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300298 ranges = <0x0 0x25000 0x1000>;
Paul Gortmaker30340992008-01-24 18:41:28 -0500299 local-mac-address = [ 00 00 00 00 00 00 ];
300 interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
301 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800302 tbi-handle = <&tbi1>;
Paul Gortmaker30340992008-01-24 18:41:28 -0500303 phy-handle = <&phy1>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300304
305 mdio@520 {
306 #address-cells = <1>;
307 #size-cells = <0>;
308 compatible = "fsl,gianfar-tbi";
309 reg = <0x520 0x20>;
310
311 tbi1: tbi-phy@11 {
312 reg = <0x11>;
313 device_type = "tbi-phy";
314 };
315 };
Paul Gortmaker30340992008-01-24 18:41:28 -0500316 };
317
318 serial0: serial@4500 {
319 cell-index = <0>;
320 device_type = "serial";
321 compatible = "ns16550";
322 reg = <0x4500 0x100>; // reg base, size
323 clock-frequency = <0>; // should we fill in in uboot?
324 interrupts = <0x2a 0x2>;
325 interrupt-parent = <&mpic>;
326 };
327
328 serial1: serial@4600 {
329 cell-index = <1>;
330 device_type = "serial";
331 compatible = "ns16550";
332 reg = <0x4600 0x100>; // reg base, size
333 clock-frequency = <0>; // should we fill in in uboot?
334 interrupts = <0x2a 0x2>;
335 interrupt-parent = <&mpic>;
336 };
337
338 global-utilities@e0000 { //global utilities reg
339 compatible = "fsl,mpc8548-guts";
340 reg = <0xe0000 0x1000>;
341 fsl,has-rstcr;
342 };
343
Kim Phillips3fd44732008-07-08 19:13:33 -0500344 crypto@30000 {
345 compatible = "fsl,sec2.1", "fsl,sec2.0";
346 reg = <0x30000 0x10000>;
347 interrupts = <45 2>;
348 interrupt-parent = <&mpic>;
349 fsl,num-channels = <4>;
350 fsl,channel-fifo-len = <24>;
351 fsl,exec-units-mask = <0xfe>;
352 fsl,descriptor-types-mask = <0x12b0ebf>;
353 };
354
Paul Gortmaker30340992008-01-24 18:41:28 -0500355 mpic: pic@40000 {
356 interrupt-controller;
357 #address-cells = <0>;
Paul Gortmaker30340992008-01-24 18:41:28 -0500358 #interrupt-cells = <2>;
359 reg = <0x40000 0x40000>;
360 compatible = "chrp,open-pic";
361 device_type = "open-pic";
Paul Gortmaker30340992008-01-24 18:41:28 -0500362 };
363 };
364
365 pci0: pci@e0008000 {
Paul Gortmaker30340992008-01-24 18:41:28 -0500366 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
367 interrupt-map = <
Jeremy McNicoll3e0d65b2008-03-07 15:14:09 -0500368 /* IDSEL 0x01 (PCI-X slot) @66MHz */
369 0x0800 0x0 0x0 0x1 &mpic 0x2 0x1
370 0x0800 0x0 0x0 0x2 &mpic 0x3 0x1
371 0x0800 0x0 0x0 0x3 &mpic 0x4 0x1
372 0x0800 0x0 0x0 0x4 &mpic 0x1 0x1
373
374 /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */
375 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
376 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
377 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
378 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>;
Paul Gortmaker30340992008-01-24 18:41:28 -0500379
380 interrupt-parent = <&mpic>;
381 interrupts = <0x18 0x2>;
382 bus-range = <0 0>;
383 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000
384 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>;
385 clock-frequency = <66666666>;
386 #interrupt-cells = <1>;
387 #size-cells = <2>;
388 #address-cells = <3>;
389 reg = <0xe0008000 0x1000>;
390 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
391 device_type = "pci";
392 };
393
394 pci2: pcie@e000a000 {
Paul Gortmaker30340992008-01-24 18:41:28 -0500395 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
396 interrupt-map = <
397
398 /* IDSEL 0x0 (PEX) */
399 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
400 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
401 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
402 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>;
403
404 interrupt-parent = <&mpic>;
405 interrupts = <0x1a 0x2>;
406 bus-range = <0x0 0xff>;
407 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
408 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x08000000>;
409 clock-frequency = <33333333>;
410 #interrupt-cells = <1>;
411 #size-cells = <2>;
412 #address-cells = <3>;
413 reg = <0xe000a000 0x1000>;
414 compatible = "fsl,mpc8548-pcie";
415 device_type = "pci";
416 pcie@0 {
417 reg = <0x0 0x0 0x0 0x0 0x0>;
418 #size-cells = <2>;
419 #address-cells = <3>;
420 device_type = "pci";
421 ranges = <0x02000000 0x0 0xa0000000
422 0x02000000 0x0 0xa0000000
423 0x0 0x20000000
424
425 0x01000000 0x0 0x00000000
426 0x01000000 0x0 0x00000000
427 0x0 0x08000000>;
428 };
429 };
430};