blob: f6c04d25e91681c06628ecc5eda09afd153ab81d [file] [log] [blame]
Kumar Gala5d54ddc2007-09-11 01:25:43 -05001/*
2 * MPC8572 DS Device Tree Source
3 *
Kumar Galaca340402009-02-09 21:33:06 -06004 * Copyright 2007-2009 Freescale Semiconductor Inc.
Kumar Gala5d54ddc2007-09-11 01:25:43 -05005 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11
Kumar Gala32f960e2008-04-17 01:28:15 -050012/dts-v1/;
Kumar Gala5d54ddc2007-09-11 01:25:43 -050013/ {
14 model = "fsl,MPC8572DS";
15 compatible = "fsl,MPC8572DS";
Kumar Gala66eb9882008-10-20 23:02:26 -050016 #address-cells = <2>;
17 #size-cells = <2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -050018
Kumar Galaea082fa2007-12-12 01:46:12 -060019 aliases {
20 ethernet0 = &enet0;
21 ethernet1 = &enet1;
22 ethernet2 = &enet2;
23 ethernet3 = &enet3;
24 serial0 = &serial0;
25 serial1 = &serial1;
26 pci0 = &pci0;
27 pci1 = &pci1;
28 pci2 = &pci2;
29 };
30
Kumar Gala5d54ddc2007-09-11 01:25:43 -050031 cpus {
32 #address-cells = <1>;
33 #size-cells = <0>;
34
35 PowerPC,8572@0 {
36 device_type = "cpu";
Kumar Gala32f960e2008-04-17 01:28:15 -050037 reg = <0x0>;
38 d-cache-line-size = <32>; // 32 bytes
39 i-cache-line-size = <32>; // 32 bytes
40 d-cache-size = <0x8000>; // L1, 32K
41 i-cache-size = <0x8000>; // L1, 32K
Kumar Gala5d54ddc2007-09-11 01:25:43 -050042 timebase-frequency = <0>;
43 bus-frequency = <0>;
44 clock-frequency = <0>;
Kumar Galac0540652008-05-30 13:43:43 -050045 next-level-cache = <&L2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -050046 };
Kumar Gala7e258672008-02-05 23:58:30 -060047
48 PowerPC,8572@1 {
49 device_type = "cpu";
Kumar Gala32f960e2008-04-17 01:28:15 -050050 reg = <0x1>;
51 d-cache-line-size = <32>; // 32 bytes
52 i-cache-line-size = <32>; // 32 bytes
53 d-cache-size = <0x8000>; // L1, 32K
54 i-cache-size = <0x8000>; // L1, 32K
Kumar Gala7e258672008-02-05 23:58:30 -060055 timebase-frequency = <0>;
56 bus-frequency = <0>;
57 clock-frequency = <0>;
Kumar Galac0540652008-05-30 13:43:43 -050058 next-level-cache = <&L2>;
Kumar Gala7e258672008-02-05 23:58:30 -060059 };
Kumar Gala5d54ddc2007-09-11 01:25:43 -050060 };
61
62 memory {
63 device_type = "memory";
Kumar Gala5d54ddc2007-09-11 01:25:43 -050064 };
65
Haiying Wangc64ef802008-11-28 16:49:39 -050066 localbus@ffe05000 {
67 #address-cells = <2>;
68 #size-cells = <1>;
69 compatible = "fsl,mpc8572-elbc", "fsl,elbc", "simple-bus";
Kumar Gala91cac622008-12-13 17:41:41 -060070 reg = <0 0xffe05000 0 0x1000>;
Haiying Wangc64ef802008-11-28 16:49:39 -050071 interrupts = <19 2>;
72 interrupt-parent = <&mpic>;
73
Kumar Gala91cac622008-12-13 17:41:41 -060074 ranges = <0x0 0x0 0x0 0xe8000000 0x08000000
75 0x1 0x0 0x0 0xe0000000 0x08000000
76 0x2 0x0 0x0 0xffa00000 0x00040000
77 0x3 0x0 0x0 0xffdf0000 0x00008000
78 0x4 0x0 0x0 0xffa40000 0x00040000
79 0x5 0x0 0x0 0xffa80000 0x00040000
80 0x6 0x0 0x0 0xffac0000 0x00040000>;
Haiying Wangc64ef802008-11-28 16:49:39 -050081
82 nor@0,0 {
83 #address-cells = <1>;
84 #size-cells = <1>;
85 compatible = "cfi-flash";
86 reg = <0x0 0x0 0x8000000>;
87 bank-width = <2>;
88 device-width = <1>;
89
90 ramdisk@0 {
91 reg = <0x0 0x03000000>;
Kumar Gala6e115212009-01-20 09:57:24 -060092 read-only;
Haiying Wangc64ef802008-11-28 16:49:39 -050093 };
94
95 diagnostic@3000000 {
96 reg = <0x03000000 0x00e00000>;
97 read-only;
98 };
99
100 dink@3e00000 {
101 reg = <0x03e00000 0x00200000>;
102 read-only;
103 };
104
105 kernel@4000000 {
106 reg = <0x04000000 0x00400000>;
107 read-only;
108 };
109
110 jffs2@4400000 {
111 reg = <0x04400000 0x03b00000>;
112 };
113
114 dtb@7f00000 {
115 reg = <0x07f00000 0x00080000>;
116 read-only;
117 };
118
119 u-boot@7f80000 {
120 reg = <0x07f80000 0x00080000>;
121 read-only;
122 };
123 };
124
125 nand@2,0 {
126 #address-cells = <1>;
127 #size-cells = <1>;
128 compatible = "fsl,mpc8572-fcm-nand",
129 "fsl,elbc-fcm-nand";
130 reg = <0x2 0x0 0x40000>;
131
132 u-boot@0 {
133 reg = <0x0 0x02000000>;
134 read-only;
135 };
136
137 jffs2@2000000 {
138 reg = <0x02000000 0x10000000>;
139 };
140
141 ramdisk@12000000 {
142 reg = <0x12000000 0x08000000>;
143 read-only;
144 };
145
146 kernel@1a000000 {
147 reg = <0x1a000000 0x04000000>;
148 };
149
150 dtb@1e000000 {
151 reg = <0x1e000000 0x01000000>;
152 read-only;
153 };
154
155 empty@1f000000 {
156 reg = <0x1f000000 0x21000000>;
157 };
158 };
159
160 nand@4,0 {
161 compatible = "fsl,mpc8572-fcm-nand",
162 "fsl,elbc-fcm-nand";
163 reg = <0x4 0x0 0x40000>;
164 };
165
166 nand@5,0 {
167 compatible = "fsl,mpc8572-fcm-nand",
168 "fsl,elbc-fcm-nand";
169 reg = <0x5 0x0 0x40000>;
170 };
171
172 nand@6,0 {
173 compatible = "fsl,mpc8572-fcm-nand",
174 "fsl,elbc-fcm-nand";
175 reg = <0x6 0x0 0x40000>;
176 };
177 };
178
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500179 soc8572@ffe00000 {
180 #address-cells = <1>;
181 #size-cells = <1>;
182 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -0500183 compatible = "simple-bus";
Kumar Gala66eb9882008-10-20 23:02:26 -0500184 ranges = <0x0 0 0xffe00000 0x100000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500185 bus-frequency = <0>; // Filled out by uboot.
186
Kumar Galae1a22892009-04-22 13:17:42 -0500187 ecm-law@0 {
188 compatible = "fsl,ecm-law";
189 reg = <0x0 0x1000>;
190 fsl,num-laws = <12>;
191 };
192
193 ecm@1000 {
194 compatible = "fsl,mpc8572-ecm", "fsl,ecm";
195 reg = <0x1000 0x1000>;
196 interrupts = <17 2>;
197 interrupt-parent = <&mpic>;
198 };
199
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500200 memory-controller@2000 {
201 compatible = "fsl,mpc8572-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500202 reg = <0x2000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500203 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500204 interrupts = <18 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500205 };
206
207 memory-controller@6000 {
208 compatible = "fsl,mpc8572-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500209 reg = <0x6000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500210 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500211 interrupts = <18 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500212 };
213
Kumar Galac0540652008-05-30 13:43:43 -0500214 L2: l2-cache-controller@20000 {
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500215 compatible = "fsl,mpc8572-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500216 reg = <0x20000 0x1000>;
217 cache-line-size = <32>; // 32 bytes
Trent Piephof464ff52008-11-19 10:40:55 -0800218 cache-size = <0x100000>; // L2, 1M
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500219 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500220 interrupts = <16 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500221 };
222
223 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600224 #address-cells = <1>;
225 #size-cells = <0>;
226 cell-index = <0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500227 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -0500228 reg = <0x3000 0x100>;
229 interrupts = <43 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500230 interrupt-parent = <&mpic>;
231 dfsrr;
232 };
233
234 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600235 #address-cells = <1>;
236 #size-cells = <0>;
237 cell-index = <1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500238 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -0500239 reg = <0x3100 0x100>;
240 interrupts = <43 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500241 interrupt-parent = <&mpic>;
242 dfsrr;
243 };
244
Kumar Galadee80552008-06-27 13:45:19 -0500245 dma@c300 {
246 #address-cells = <1>;
247 #size-cells = <1>;
248 compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
249 reg = <0xc300 0x4>;
250 ranges = <0x0 0xc100 0x200>;
251 cell-index = <1>;
252 dma-channel@0 {
253 compatible = "fsl,mpc8572-dma-channel",
254 "fsl,eloplus-dma-channel";
255 reg = <0x0 0x80>;
256 cell-index = <0>;
257 interrupt-parent = <&mpic>;
258 interrupts = <76 2>;
259 };
260 dma-channel@80 {
261 compatible = "fsl,mpc8572-dma-channel",
262 "fsl,eloplus-dma-channel";
263 reg = <0x80 0x80>;
264 cell-index = <1>;
265 interrupt-parent = <&mpic>;
266 interrupts = <77 2>;
267 };
268 dma-channel@100 {
269 compatible = "fsl,mpc8572-dma-channel",
270 "fsl,eloplus-dma-channel";
271 reg = <0x100 0x80>;
272 cell-index = <2>;
273 interrupt-parent = <&mpic>;
274 interrupts = <78 2>;
275 };
276 dma-channel@180 {
277 compatible = "fsl,mpc8572-dma-channel",
278 "fsl,eloplus-dma-channel";
279 reg = <0x180 0x80>;
280 cell-index = <3>;
281 interrupt-parent = <&mpic>;
282 interrupts = <79 2>;
283 };
284 };
285
286 dma@21300 {
287 #address-cells = <1>;
288 #size-cells = <1>;
289 compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
290 reg = <0x21300 0x4>;
291 ranges = <0x0 0x21100 0x200>;
292 cell-index = <0>;
293 dma-channel@0 {
294 compatible = "fsl,mpc8572-dma-channel",
295 "fsl,eloplus-dma-channel";
296 reg = <0x0 0x80>;
297 cell-index = <0>;
298 interrupt-parent = <&mpic>;
299 interrupts = <20 2>;
300 };
301 dma-channel@80 {
302 compatible = "fsl,mpc8572-dma-channel",
303 "fsl,eloplus-dma-channel";
304 reg = <0x80 0x80>;
305 cell-index = <1>;
306 interrupt-parent = <&mpic>;
307 interrupts = <21 2>;
308 };
309 dma-channel@100 {
310 compatible = "fsl,mpc8572-dma-channel",
311 "fsl,eloplus-dma-channel";
312 reg = <0x100 0x80>;
313 cell-index = <2>;
314 interrupt-parent = <&mpic>;
315 interrupts = <22 2>;
316 };
317 dma-channel@180 {
318 compatible = "fsl,mpc8572-dma-channel",
319 "fsl,eloplus-dma-channel";
320 reg = <0x180 0x80>;
321 cell-index = <3>;
322 interrupt-parent = <&mpic>;
323 interrupts = <23 2>;
324 };
325 };
326
Richard Cochranc78275f2011-04-22 12:03:54 +0200327 ptp_clock@24E00 {
328 compatible = "fsl,etsec-ptp";
329 reg = <0x24E00 0xB0>;
330 interrupts = <68 2 69 2 70 2 71 2>;
331 interrupt-parent = < &mpic >;
332 fsl,tclk-period = <5>;
333 fsl,tmr-prsc = <200>;
334 fsl,tmr-add = <0xAAAAAAAB>;
335 fsl,tmr-fiper1 = <0x3B9AC9FB>;
336 fsl,tmr-fiper2 = <0x3B9AC9FB>;
337 fsl,max-adj = <499999999>;
338 };
339
Kumar Galae77b28e2007-12-12 00:28:35 -0600340 enet0: ethernet@24000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300341 #address-cells = <1>;
342 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600343 cell-index = <0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500344 device_type = "network";
345 model = "eTSEC";
346 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500347 reg = <0x24000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300348 ranges = <0x0 0x24000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500349 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500350 interrupts = <29 2 30 2 34 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500351 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800352 tbi-handle = <&tbi0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500353 phy-handle = <&phy0>;
354 phy-connection-type = "rgmii-id";
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300355
356 mdio@520 {
357 #address-cells = <1>;
358 #size-cells = <0>;
359 compatible = "fsl,gianfar-mdio";
360 reg = <0x520 0x20>;
361
362 phy0: ethernet-phy@0 {
363 interrupt-parent = <&mpic>;
364 interrupts = <10 1>;
365 reg = <0x0>;
366 };
367 phy1: ethernet-phy@1 {
368 interrupt-parent = <&mpic>;
369 interrupts = <10 1>;
370 reg = <0x1>;
371 };
372 phy2: ethernet-phy@2 {
373 interrupt-parent = <&mpic>;
374 interrupts = <10 1>;
375 reg = <0x2>;
376 };
377 phy3: ethernet-phy@3 {
378 interrupt-parent = <&mpic>;
379 interrupts = <10 1>;
380 reg = <0x3>;
381 };
382
383 tbi0: tbi-phy@11 {
384 reg = <0x11>;
385 device_type = "tbi-phy";
386 };
387 };
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500388 };
389
Kumar Galae77b28e2007-12-12 00:28:35 -0600390 enet1: ethernet@25000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300391 #address-cells = <1>;
392 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600393 cell-index = <1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500394 device_type = "network";
395 model = "eTSEC";
396 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500397 reg = <0x25000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300398 ranges = <0x0 0x25000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500399 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500400 interrupts = <35 2 36 2 40 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500401 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800402 tbi-handle = <&tbi1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500403 phy-handle = <&phy1>;
404 phy-connection-type = "rgmii-id";
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300405
406 mdio@520 {
407 #address-cells = <1>;
408 #size-cells = <0>;
409 compatible = "fsl,gianfar-tbi";
410 reg = <0x520 0x20>;
411
412 tbi1: tbi-phy@11 {
413 reg = <0x11>;
414 device_type = "tbi-phy";
415 };
416 };
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500417 };
418
Kumar Galae77b28e2007-12-12 00:28:35 -0600419 enet2: ethernet@26000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300420 #address-cells = <1>;
421 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600422 cell-index = <2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500423 device_type = "network";
424 model = "eTSEC";
425 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500426 reg = <0x26000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300427 ranges = <0x0 0x26000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500428 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500429 interrupts = <31 2 32 2 33 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500430 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800431 tbi-handle = <&tbi2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500432 phy-handle = <&phy2>;
433 phy-connection-type = "rgmii-id";
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300434
435 mdio@520 {
436 #address-cells = <1>;
437 #size-cells = <0>;
438 compatible = "fsl,gianfar-tbi";
439 reg = <0x520 0x20>;
440
441 tbi2: tbi-phy@11 {
442 reg = <0x11>;
443 device_type = "tbi-phy";
444 };
445 };
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500446 };
447
Kumar Galae77b28e2007-12-12 00:28:35 -0600448 enet3: ethernet@27000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300449 #address-cells = <1>;
450 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600451 cell-index = <3>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500452 device_type = "network";
453 model = "eTSEC";
454 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500455 reg = <0x27000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300456 ranges = <0x0 0x27000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500457 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500458 interrupts = <37 2 38 2 39 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500459 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800460 tbi-handle = <&tbi3>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500461 phy-handle = <&phy3>;
462 phy-connection-type = "rgmii-id";
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300463
464 mdio@520 {
465 #address-cells = <1>;
466 #size-cells = <0>;
467 compatible = "fsl,gianfar-tbi";
468 reg = <0x520 0x20>;
469
470 tbi3: tbi-phy@11 {
471 reg = <0x11>;
472 device_type = "tbi-phy";
473 };
474 };
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500475 };
476
Kumar Galaea082fa2007-12-12 01:46:12 -0600477 serial0: serial@4500 {
478 cell-index = <0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500479 device_type = "serial";
480 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500481 reg = <0x4500 0x100>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500482 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500483 interrupts = <42 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500484 interrupt-parent = <&mpic>;
485 };
486
Kumar Galaea082fa2007-12-12 01:46:12 -0600487 serial1: serial@4600 {
488 cell-index = <1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500489 device_type = "serial";
490 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500491 reg = <0x4600 0x100>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500492 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500493 interrupts = <42 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500494 interrupt-parent = <&mpic>;
495 };
496
497 global-utilities@e0000 { //global utilities block
498 compatible = "fsl,mpc8572-guts";
Kumar Gala32f960e2008-04-17 01:28:15 -0500499 reg = <0xe0000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500500 fsl,has-rstcr;
501 };
502
Jason Jin741edc42008-05-23 16:32:48 +0800503 msi@41600 {
504 compatible = "fsl,mpc8572-msi", "fsl,mpic-msi";
505 reg = <0x41600 0x80>;
506 msi-available-ranges = <0 0x100>;
507 interrupts = <
508 0xe0 0
509 0xe1 0
510 0xe2 0
511 0xe3 0
512 0xe4 0
513 0xe5 0
514 0xe6 0
515 0xe7 0>;
516 interrupt-parent = <&mpic>;
517 };
518
Kim Phillips3fd44732008-07-08 19:13:33 -0500519 crypto@30000 {
520 compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
521 "fsl,sec2.1", "fsl,sec2.0";
522 reg = <0x30000 0x10000>;
523 interrupts = <45 2 58 2>;
524 interrupt-parent = <&mpic>;
525 fsl,num-channels = <4>;
526 fsl,channel-fifo-len = <24>;
527 fsl,exec-units-mask = <0x9fe>;
528 fsl,descriptor-types-mask = <0x3ab0ebf>;
529 };
530
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500531 mpic: pic@40000 {
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500532 interrupt-controller;
533 #address-cells = <0>;
534 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500535 reg = <0x40000 0x40000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500536 compatible = "chrp,open-pic";
537 device_type = "open-pic";
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500538 };
539 };
540
Kumar Galaea082fa2007-12-12 01:46:12 -0600541 pci0: pcie@ffe08000 {
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500542 compatible = "fsl,mpc8548-pcie";
543 device_type = "pci";
544 #interrupt-cells = <1>;
545 #size-cells = <2>;
546 #address-cells = <3>;
Kumar Gala66eb9882008-10-20 23:02:26 -0500547 reg = <0 0xffe08000 0 0x1000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500548 bus-range = <0 255>;
Kumar Gala66eb9882008-10-20 23:02:26 -0500549 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
550 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x00010000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500551 clock-frequency = <33333333>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500552 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500553 interrupts = <24 2>;
554 interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500555 interrupt-map = <
Kumar Galabebfa062007-11-19 23:36:23 -0600556 /* IDSEL 0x11 func 0 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500557 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
558 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
559 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
560 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500561
Kumar Galabebfa062007-11-19 23:36:23 -0600562 /* IDSEL 0x11 func 1 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500563 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1
564 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1
565 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1
566 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600567
568 /* IDSEL 0x11 func 2 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500569 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1
570 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1
571 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1
572 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600573
574 /* IDSEL 0x11 func 3 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500575 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1
576 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1
577 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1
578 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600579
580 /* IDSEL 0x11 func 4 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500581 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1
582 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1
583 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1
584 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600585
586 /* IDSEL 0x11 func 5 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500587 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1
588 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1
589 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1
590 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600591
592 /* IDSEL 0x11 func 6 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500593 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1
594 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1
595 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1
596 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600597
598 /* IDSEL 0x11 func 7 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500599 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1
600 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1
601 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1
602 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600603
604 /* IDSEL 0x12 func 0 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500605 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
606 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
607 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1
608 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500609
Kumar Galabebfa062007-11-19 23:36:23 -0600610 /* IDSEL 0x12 func 1 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500611 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1
612 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1
613 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1
614 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600615
616 /* IDSEL 0x12 func 2 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500617 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1
618 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1
619 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1
620 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600621
622 /* IDSEL 0x12 func 3 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500623 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1
624 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1
625 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1
626 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600627
628 /* IDSEL 0x12 func 4 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500629 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1
630 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1
631 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1
632 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600633
634 /* IDSEL 0x12 func 5 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500635 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1
636 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1
637 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1
638 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600639
640 /* IDSEL 0x12 func 6 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500641 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1
642 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1
643 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1
644 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600645
646 /* IDSEL 0x12 func 7 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500647 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1
648 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1
649 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1
650 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600651
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500652 // IDSEL 0x1c USB
Kumar Gala32f960e2008-04-17 01:28:15 -0500653 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
654 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
655 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
656 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500657
658 // IDSEL 0x1d Audio
Kumar Gala32f960e2008-04-17 01:28:15 -0500659 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500660
661 // IDSEL 0x1e Legacy
Kumar Gala32f960e2008-04-17 01:28:15 -0500662 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
663 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500664
665 // IDSEL 0x1f IDE/SATA
Kumar Gala32f960e2008-04-17 01:28:15 -0500666 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
667 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500668
669 >;
670
671 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500672 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500673 #size-cells = <2>;
674 #address-cells = <3>;
675 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500676 ranges = <0x2000000 0x0 0x80000000
677 0x2000000 0x0 0x80000000
678 0x0 0x20000000
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500679
Kumar Gala32f960e2008-04-17 01:28:15 -0500680 0x1000000 0x0 0x0
681 0x1000000 0x0 0x0
Kumar Galaca340402009-02-09 21:33:06 -0600682 0x0 0x10000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500683 uli1575@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500684 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500685 #size-cells = <2>;
686 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500687 ranges = <0x2000000 0x0 0x80000000
688 0x2000000 0x0 0x80000000
689 0x0 0x20000000
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500690
Kumar Gala32f960e2008-04-17 01:28:15 -0500691 0x1000000 0x0 0x0
692 0x1000000 0x0 0x0
Kumar Galaca340402009-02-09 21:33:06 -0600693 0x0 0x10000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500694 isa@1e {
695 device_type = "isa";
696 #interrupt-cells = <2>;
697 #size-cells = <1>;
698 #address-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500699 reg = <0xf000 0x0 0x0 0x0 0x0>;
700 ranges = <0x1 0x0 0x1000000 0x0 0x0
701 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500702 interrupt-parent = <&i8259>;
703
704 i8259: interrupt-controller@20 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500705 reg = <0x1 0x20 0x2
706 0x1 0xa0 0x2
707 0x1 0x4d0 0x2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500708 interrupt-controller;
709 device_type = "interrupt-controller";
710 #address-cells = <0>;
711 #interrupt-cells = <2>;
712 compatible = "chrp,iic";
713 interrupts = <9 2>;
714 interrupt-parent = <&mpic>;
715 };
716
717 i8042@60 {
718 #size-cells = <0>;
719 #address-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500720 reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
721 interrupts = <1 3 12 3>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500722 interrupt-parent =
723 <&i8259>;
724
725 keyboard@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500726 reg = <0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500727 compatible = "pnpPNP,303";
728 };
729
730 mouse@1 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500731 reg = <0x1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500732 compatible = "pnpPNP,f03";
733 };
734 };
735
736 rtc@70 {
737 compatible = "pnpPNP,b00";
Kumar Gala32f960e2008-04-17 01:28:15 -0500738 reg = <0x1 0x70 0x2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500739 };
740
741 gpio@400 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500742 reg = <0x1 0x400 0x80>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500743 };
744 };
745 };
746 };
747
748 };
749
Kumar Galaea082fa2007-12-12 01:46:12 -0600750 pci1: pcie@ffe09000 {
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500751 compatible = "fsl,mpc8548-pcie";
752 device_type = "pci";
753 #interrupt-cells = <1>;
754 #size-cells = <2>;
755 #address-cells = <3>;
Kumar Gala66eb9882008-10-20 23:02:26 -0500756 reg = <0 0xffe09000 0 0x1000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500757 bus-range = <0 255>;
Kumar Gala66eb9882008-10-20 23:02:26 -0500758 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
759 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x00010000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500760 clock-frequency = <33333333>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500761 interrupt-parent = <&mpic>;
Kumar Galabe122d6d2009-01-06 10:23:37 -0600762 interrupts = <25 2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500763 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500764 interrupt-map = <
765 /* IDSEL 0x0 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500766 0000 0x0 0x0 0x1 &mpic 0x4 0x1
767 0000 0x0 0x0 0x2 &mpic 0x5 0x1
768 0000 0x0 0x0 0x3 &mpic 0x6 0x1
769 0000 0x0 0x0 0x4 &mpic 0x7 0x1
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500770 >;
771 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500772 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500773 #size-cells = <2>;
774 #address-cells = <3>;
775 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500776 ranges = <0x2000000 0x0 0xa0000000
777 0x2000000 0x0 0xa0000000
778 0x0 0x20000000
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500779
Kumar Gala32f960e2008-04-17 01:28:15 -0500780 0x1000000 0x0 0x0
781 0x1000000 0x0 0x0
Kumar Galaca340402009-02-09 21:33:06 -0600782 0x0 0x10000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500783 };
784 };
785
Kumar Galaea082fa2007-12-12 01:46:12 -0600786 pci2: pcie@ffe0a000 {
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500787 compatible = "fsl,mpc8548-pcie";
788 device_type = "pci";
789 #interrupt-cells = <1>;
790 #size-cells = <2>;
791 #address-cells = <3>;
Kumar Gala66eb9882008-10-20 23:02:26 -0500792 reg = <0 0xffe0a000 0 0x1000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500793 bus-range = <0 255>;
Kumar Gala66eb9882008-10-20 23:02:26 -0500794 ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
795 0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x00010000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500796 clock-frequency = <33333333>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500797 interrupt-parent = <&mpic>;
Kumar Galabe122d6d2009-01-06 10:23:37 -0600798 interrupts = <26 2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500799 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500800 interrupt-map = <
801 /* IDSEL 0x0 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500802 0000 0x0 0x0 0x1 &mpic 0x0 0x1
803 0000 0x0 0x0 0x2 &mpic 0x1 0x1
804 0000 0x0 0x0 0x3 &mpic 0x2 0x1
805 0000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500806 >;
807 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500808 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500809 #size-cells = <2>;
810 #address-cells = <3>;
811 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500812 ranges = <0x2000000 0x0 0xc0000000
813 0x2000000 0x0 0xc0000000
814 0x0 0x20000000
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500815
Kumar Gala32f960e2008-04-17 01:28:15 -0500816 0x1000000 0x0 0x0
817 0x1000000 0x0 0x0
Kumar Galaca340402009-02-09 21:33:06 -0600818 0x0 0x10000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500819 };
820 };
821};