blob: 4173af387c6355ae8c50aa4d7141d98ad0901e76 [file] [log] [blame]
Andy Fleming2654d632006-08-18 18:04:34 -05001/*
Roy Zang02edff52007-07-10 18:46:47 +08002 * MPC8548 CDS Device Tree Source
Andy Fleming2654d632006-08-18 18:04:34 -05003 *
Kumar Gala32f960e2008-04-17 01:28:15 -05004 * Copyright 2006, 2008 Freescale Semiconductor Inc.
Andy Fleming2654d632006-08-18 18:04:34 -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/;
Andy Fleming2654d632006-08-18 18:04:34 -050013
14/ {
15 model = "MPC8548CDS";
Kumar Gala52094872007-02-17 16:04:23 -060016 compatible = "MPC8548CDS", "MPC85xxCDS";
Andy Fleming2654d632006-08-18 18:04:34 -050017 #address-cells = <1>;
18 #size-cells = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -050019
Kumar Galaea082fa2007-12-12 01:46:12 -060020 aliases {
21 ethernet0 = &enet0;
22 ethernet1 = &enet1;
23/*
24 ethernet2 = &enet2;
25 ethernet3 = &enet3;
26*/
27 serial0 = &serial0;
28 serial1 = &serial1;
29 pci0 = &pci0;
30 pci1 = &pci1;
31 pci2 = &pci2;
32 };
33
Andy Fleming2654d632006-08-18 18:04:34 -050034 cpus {
Andy Fleming2654d632006-08-18 18:04:34 -050035 #address-cells = <1>;
36 #size-cells = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -050037
38 PowerPC,8548@0 {
39 device_type = "cpu";
Kumar Gala32f960e2008-04-17 01:28:15 -050040 reg = <0x0>;
41 d-cache-line-size = <32>; // 32 bytes
42 i-cache-line-size = <32>; // 32 bytes
43 d-cache-size = <0x8000>; // L1, 32K
44 i-cache-size = <0x8000>; // L1, 32K
Andy Fleming2654d632006-08-18 18:04:34 -050045 timebase-frequency = <0>; // 33 MHz, from uboot
46 bus-frequency = <0>; // 166 MHz
47 clock-frequency = <0>; // 825 MHz, from uboot
Kumar Galac0540652008-05-30 13:43:43 -050048 next-level-cache = <&L2>;
Andy Fleming2654d632006-08-18 18:04:34 -050049 };
50 };
51
52 memory {
53 device_type = "memory";
Kumar Gala32f960e2008-04-17 01:28:15 -050054 reg = <0x0 0x8000000>; // 128M at 0x0
Andy Fleming2654d632006-08-18 18:04:34 -050055 };
56
57 soc8548@e0000000 {
58 #address-cells = <1>;
59 #size-cells = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -050060 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -050061 compatible = "simple-bus";
Kumar Gala32f960e2008-04-17 01:28:15 -050062 ranges = <0x0 0xe0000000 0x100000>;
Andy Fleming2654d632006-08-18 18:04:34 -050063 bus-frequency = <0>;
64
Kumar Galae1a22892009-04-22 13:17:42 -050065 ecm-law@0 {
66 compatible = "fsl,ecm-law";
67 reg = <0x0 0x1000>;
68 fsl,num-laws = <10>;
69 };
70
71 ecm@1000 {
72 compatible = "fsl,mpc8548-ecm", "fsl,ecm";
73 reg = <0x1000 0x1000>;
74 interrupts = <17 2>;
75 interrupt-parent = <&mpic>;
76 };
77
Dave Jiang50cf6702007-05-10 10:03:05 -070078 memory-controller@2000 {
79 compatible = "fsl,8548-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050080 reg = <0x2000 0x1000>;
Dave Jiang50cf6702007-05-10 10:03:05 -070081 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050082 interrupts = <18 2>;
Dave Jiang50cf6702007-05-10 10:03:05 -070083 };
84
Kumar Galac0540652008-05-30 13:43:43 -050085 L2: l2-cache-controller@20000 {
Dave Jiang50cf6702007-05-10 10:03:05 -070086 compatible = "fsl,8548-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050087 reg = <0x20000 0x1000>;
88 cache-line-size = <32>; // 32 bytes
89 cache-size = <0x80000>; // L2, 512K
Dave Jiang50cf6702007-05-10 10:03:05 -070090 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050091 interrupts = <16 2>;
Dave Jiang50cf6702007-05-10 10:03:05 -070092 };
93
Andy Fleming2654d632006-08-18 18:04:34 -050094 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060095 #address-cells = <1>;
96 #size-cells = <0>;
97 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -050098 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -050099 reg = <0x3000 0x100>;
100 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600101 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500102 dfsrr;
Anton Vorontsovc69328d2009-07-09 22:36:44 +0400103
104 eeprom@50 {
105 compatible = "atmel,24c64";
106 reg = <0x50>;
107 };
108
109 eeprom@56 {
110 compatible = "atmel,24c64";
111 reg = <0x56>;
112 };
113
114 eeprom@57 {
115 compatible = "atmel,24c64";
116 reg = <0x57>;
117 };
Andy Fleming2654d632006-08-18 18:04:34 -0500118 };
119
Kumar Galaec9686c2007-12-11 23:17:24 -0600120 i2c@3100 {
121 #address-cells = <1>;
122 #size-cells = <0>;
123 cell-index = <1>;
124 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -0500125 reg = <0x3100 0x100>;
126 interrupts = <43 2>;
Kumar Galaec9686c2007-12-11 23:17:24 -0600127 interrupt-parent = <&mpic>;
128 dfsrr;
Anton Vorontsovc69328d2009-07-09 22:36:44 +0400129
130 eeprom@50 {
131 compatible = "atmel,24c64";
132 reg = <0x50>;
133 };
Kumar Galaec9686c2007-12-11 23:17:24 -0600134 };
135
Kumar Galadee80552008-06-27 13:45:19 -0500136 dma@21300 {
137 #address-cells = <1>;
138 #size-cells = <1>;
139 compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma";
140 reg = <0x21300 0x4>;
141 ranges = <0x0 0x21100 0x200>;
142 cell-index = <0>;
143 dma-channel@0 {
144 compatible = "fsl,mpc8548-dma-channel",
145 "fsl,eloplus-dma-channel";
146 reg = <0x0 0x80>;
147 cell-index = <0>;
148 interrupt-parent = <&mpic>;
149 interrupts = <20 2>;
150 };
151 dma-channel@80 {
152 compatible = "fsl,mpc8548-dma-channel",
153 "fsl,eloplus-dma-channel";
154 reg = <0x80 0x80>;
155 cell-index = <1>;
156 interrupt-parent = <&mpic>;
157 interrupts = <21 2>;
158 };
159 dma-channel@100 {
160 compatible = "fsl,mpc8548-dma-channel",
161 "fsl,eloplus-dma-channel";
162 reg = <0x100 0x80>;
163 cell-index = <2>;
164 interrupt-parent = <&mpic>;
165 interrupts = <22 2>;
166 };
167 dma-channel@180 {
168 compatible = "fsl,mpc8548-dma-channel",
169 "fsl,eloplus-dma-channel";
170 reg = <0x180 0x80>;
171 cell-index = <3>;
172 interrupt-parent = <&mpic>;
173 interrupts = <23 2>;
174 };
175 };
176
Kumar Galae77b28e2007-12-12 00:28:35 -0600177 enet0: ethernet@24000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300178 #address-cells = <1>;
179 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600180 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500181 device_type = "network";
182 model = "eTSEC";
183 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500184 reg = <0x24000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300185 ranges = <0x0 0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500186 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500187 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600188 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800189 tbi-handle = <&tbi0>;
Kumar Gala52094872007-02-17 16:04:23 -0600190 phy-handle = <&phy0>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300191
192 mdio@520 {
193 #address-cells = <1>;
194 #size-cells = <0>;
195 compatible = "fsl,gianfar-mdio";
196 reg = <0x520 0x20>;
197
198 phy0: ethernet-phy@0 {
199 interrupt-parent = <&mpic>;
200 interrupts = <5 1>;
201 reg = <0x0>;
202 device_type = "ethernet-phy";
203 };
204 phy1: ethernet-phy@1 {
205 interrupt-parent = <&mpic>;
206 interrupts = <5 1>;
207 reg = <0x1>;
208 device_type = "ethernet-phy";
209 };
210 phy2: ethernet-phy@2 {
211 interrupt-parent = <&mpic>;
212 interrupts = <5 1>;
213 reg = <0x2>;
214 device_type = "ethernet-phy";
215 };
216 phy3: ethernet-phy@3 {
217 interrupt-parent = <&mpic>;
218 interrupts = <5 1>;
219 reg = <0x3>;
220 device_type = "ethernet-phy";
221 };
222 tbi0: tbi-phy@11 {
223 reg = <0x11>;
224 device_type = "tbi-phy";
225 };
226 };
Andy Fleming2654d632006-08-18 18:04:34 -0500227 };
228
Kumar Galae77b28e2007-12-12 00:28:35 -0600229 enet1: ethernet@25000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300230 #address-cells = <1>;
231 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600232 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500233 device_type = "network";
234 model = "eTSEC";
235 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500236 reg = <0x25000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300237 ranges = <0x0 0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500238 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500239 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600240 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800241 tbi-handle = <&tbi1>;
Kumar Gala52094872007-02-17 16:04:23 -0600242 phy-handle = <&phy1>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300243
244 mdio@520 {
245 #address-cells = <1>;
246 #size-cells = <0>;
247 compatible = "fsl,gianfar-tbi";
248 reg = <0x520 0x20>;
249
250 tbi1: tbi-phy@11 {
251 reg = <0x11>;
252 device_type = "tbi-phy";
253 };
254 };
Andy Fleming2654d632006-08-18 18:04:34 -0500255 };
256
Kumar Gala52094872007-02-17 16:04:23 -0600257/* eTSEC 3/4 are currently broken
Kumar Galae77b28e2007-12-12 00:28:35 -0600258 enet2: ethernet@26000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300259 #address-cells = <1>;
260 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600261 cell-index = <2>;
Andy Fleming2654d632006-08-18 18:04:34 -0500262 device_type = "network";
263 model = "eTSEC";
264 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500265 reg = <0x26000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300266 ranges = <0x0 0x26000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500267 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500268 interrupts = <31 2 32 2 33 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600269 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800270 tbi-handle = <&tbi2>;
Kumar Gala52094872007-02-17 16:04:23 -0600271 phy-handle = <&phy2>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300272
273 mdio@520 {
274 #address-cells = <1>;
275 #size-cells = <0>;
276 compatible = "fsl,gianfar-tbi";
277 reg = <0x520 0x20>;
278
279 tbi2: tbi-phy@11 {
280 reg = <0x11>;
281 device_type = "tbi-phy";
282 };
283 };
Andy Fleming2654d632006-08-18 18:04:34 -0500284 };
285
Kumar Galae77b28e2007-12-12 00:28:35 -0600286 enet3: ethernet@27000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300287 #address-cells = <1>;
288 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600289 cell-index = <3>;
Andy Fleming2654d632006-08-18 18:04:34 -0500290 device_type = "network";
291 model = "eTSEC";
292 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500293 reg = <0x27000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300294 ranges = <0x0 0x27000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500295 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500296 interrupts = <37 2 38 2 39 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600297 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800298 tbi-handle = <&tbi3>;
Kumar Gala52094872007-02-17 16:04:23 -0600299 phy-handle = <&phy3>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300300
301 mdio@520 {
302 #address-cells = <1>;
303 #size-cells = <0>;
304 compatible = "fsl,gianfar-tbi";
305 reg = <0x520 0x20>;
306
307 tbi3: tbi-phy@11 {
308 reg = <0x11>;
309 device_type = "tbi-phy";
310 };
311 };
Andy Fleming2654d632006-08-18 18:04:34 -0500312 };
313 */
314
Kumar Galaea082fa2007-12-12 01:46:12 -0600315 serial0: serial@4500 {
316 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500317 device_type = "serial";
318 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500319 reg = <0x4500 0x100>; // reg base, size
Randy Vinson6af01252007-07-17 16:37:12 -0700320 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500321 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600322 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500323 };
324
Kumar Galaea082fa2007-12-12 01:46:12 -0600325 serial1: serial@4600 {
326 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500327 device_type = "serial";
328 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500329 reg = <0x4600 0x100>; // reg base, size
Randy Vinson6af01252007-07-17 16:37:12 -0700330 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500331 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600332 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500333 };
334
Roy Zang68fb0d22007-06-13 17:13:42 +0800335 global-utilities@e0000 { //global utilities reg
336 compatible = "fsl,mpc8548-guts";
Kumar Gala32f960e2008-04-17 01:28:15 -0500337 reg = <0xe0000 0x1000>;
Roy Zang68fb0d22007-06-13 17:13:42 +0800338 fsl,has-rstcr;
339 };
340
Kim Phillips3fd44732008-07-08 19:13:33 -0500341 crypto@30000 {
342 compatible = "fsl,sec2.1", "fsl,sec2.0";
343 reg = <0x30000 0x10000>;
344 interrupts = <45 2>;
345 interrupt-parent = <&mpic>;
346 fsl,num-channels = <4>;
347 fsl,channel-fifo-len = <24>;
348 fsl,exec-units-mask = <0xfe>;
349 fsl,descriptor-types-mask = <0x12b0ebf>;
350 };
351
Kumar Gala52094872007-02-17 16:04:23 -0600352 mpic: pic@40000 {
Andy Fleming2654d632006-08-18 18:04:34 -0500353 interrupt-controller;
354 #address-cells = <0>;
355 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500356 reg = <0x40000 0x40000>;
Andy Fleming2654d632006-08-18 18:04:34 -0500357 compatible = "chrp,open-pic";
358 device_type = "open-pic";
Andy Fleming2654d632006-08-18 18:04:34 -0500359 };
360 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500361
Kumar Galaea082fa2007-12-12 01:46:12 -0600362 pci0: pci@e0008000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500363 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500364 interrupt-map = <
365 /* IDSEL 0x4 (PCIX Slot 2) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500366 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1
367 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1
368 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1
369 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500370
371 /* IDSEL 0x5 (PCIX Slot 3) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500372 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1
373 0x2800 0x0 0x0 0x2 &mpic 0x2 0x1
374 0x2800 0x0 0x0 0x3 &mpic 0x3 0x1
375 0x2800 0x0 0x0 0x4 &mpic 0x0 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500376
377 /* IDSEL 0x6 (PCIX Slot 4) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500378 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1
379 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1
380 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1
381 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500382
383 /* IDSEL 0x8 (PCIX Slot 5) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500384 0x4000 0x0 0x0 0x1 &mpic 0x0 0x1
385 0x4000 0x0 0x0 0x2 &mpic 0x1 0x1
386 0x4000 0x0 0x0 0x3 &mpic 0x2 0x1
387 0x4000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500388
389 /* IDSEL 0xC (Tsi310 bridge) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500390 0x6000 0x0 0x0 0x1 &mpic 0x0 0x1
391 0x6000 0x0 0x0 0x2 &mpic 0x1 0x1
392 0x6000 0x0 0x0 0x3 &mpic 0x2 0x1
393 0x6000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500394
395 /* IDSEL 0x14 (Slot 2) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500396 0xa000 0x0 0x0 0x1 &mpic 0x0 0x1
397 0xa000 0x0 0x0 0x2 &mpic 0x1 0x1
398 0xa000 0x0 0x0 0x3 &mpic 0x2 0x1
399 0xa000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500400
401 /* IDSEL 0x15 (Slot 3) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500402 0xa800 0x0 0x0 0x1 &mpic 0x1 0x1
403 0xa800 0x0 0x0 0x2 &mpic 0x2 0x1
404 0xa800 0x0 0x0 0x3 &mpic 0x3 0x1
405 0xa800 0x0 0x0 0x4 &mpic 0x0 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500406
407 /* IDSEL 0x16 (Slot 4) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500408 0xb000 0x0 0x0 0x1 &mpic 0x2 0x1
409 0xb000 0x0 0x0 0x2 &mpic 0x3 0x1
410 0xb000 0x0 0x0 0x3 &mpic 0x0 0x1
411 0xb000 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500412
413 /* IDSEL 0x18 (Slot 5) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500414 0xc000 0x0 0x0 0x1 &mpic 0x0 0x1
415 0xc000 0x0 0x0 0x2 &mpic 0x1 0x1
416 0xc000 0x0 0x0 0x3 &mpic 0x2 0x1
417 0xc000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500418
419 /* IDSEL 0x1C (Tsi310 bridge PCI primary) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500420 0xe000 0x0 0x0 0x1 &mpic 0x0 0x1
421 0xe000 0x0 0x0 0x2 &mpic 0x1 0x1
422 0xe000 0x0 0x0 0x3 &mpic 0x2 0x1
423 0xe000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500424
425 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500426 interrupts = <24 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500427 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500428 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x10000000
429 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
430 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500431 #interrupt-cells = <1>;
432 #size-cells = <2>;
433 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500434 reg = <0xe0008000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500435 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
436 device_type = "pci";
437
438 pci_bridge@1c {
Kumar Gala32f960e2008-04-17 01:28:15 -0500439 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500440 interrupt-map = <
441
442 /* IDSEL 0x00 (PrPMC Site) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500443 0000 0x0 0x0 0x1 &mpic 0x0 0x1
444 0000 0x0 0x0 0x2 &mpic 0x1 0x1
445 0000 0x0 0x0 0x3 &mpic 0x2 0x1
446 0000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500447
448 /* IDSEL 0x04 (VIA chip) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500449 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1
450 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1
451 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1
452 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500453
454 /* IDSEL 0x05 (8139) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500455 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500456
457 /* IDSEL 0x06 (Slot 6) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500458 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1
459 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1
460 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1
461 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500462
463 /* IDESL 0x07 (Slot 7) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500464 0x3800 0x0 0x0 0x1 &mpic 0x3 0x1
465 0x3800 0x0 0x0 0x2 &mpic 0x0 0x1
466 0x3800 0x0 0x0 0x3 &mpic 0x1 0x1
467 0x3800 0x0 0x0 0x4 &mpic 0x2 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500468
Kumar Gala32f960e2008-04-17 01:28:15 -0500469 reg = <0xe000 0x0 0x0 0x0 0x0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500470 #interrupt-cells = <1>;
471 #size-cells = <2>;
472 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500473 ranges = <0x2000000 0x0 0x80000000
474 0x2000000 0x0 0x80000000
475 0x0 0x20000000
476 0x1000000 0x0 0x0
477 0x1000000 0x0 0x0
478 0x0 0x80000>;
479 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500480
481 isa@4 {
482 device_type = "isa";
483 #interrupt-cells = <2>;
484 #size-cells = <1>;
485 #address-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500486 reg = <0x2000 0x0 0x0 0x0 0x0>;
487 ranges = <0x1 0x0 0x1000000 0x0 0x0 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500488 interrupt-parent = <&i8259>;
489
490 i8259: interrupt-controller@20 {
491 interrupt-controller;
492 device_type = "interrupt-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500493 reg = <0x1 0x20 0x2
494 0x1 0xa0 0x2
495 0x1 0x4d0 0x2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500496 #address-cells = <0>;
497 #interrupt-cells = <2>;
498 compatible = "chrp,iic";
499 interrupts = <0 1>;
500 interrupt-parent = <&mpic>;
501 };
502
503 rtc@70 {
504 compatible = "pnpPNP,b00";
Kumar Gala32f960e2008-04-17 01:28:15 -0500505 reg = <0x1 0x70 0x2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500506 };
507 };
508 };
509 };
510
Kumar Galaea082fa2007-12-12 01:46:12 -0600511 pci1: pci@e0009000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500512 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500513 interrupt-map = <
514
515 /* IDSEL 0x15 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500516 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1
517 0xa800 0x0 0x0 0x2 &mpic 0x1 0x1
518 0xa800 0x0 0x0 0x3 &mpic 0x2 0x1
519 0xa800 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500520
521 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500522 interrupts = <25 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500523 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500524 ranges = <0x2000000 0x0 0x90000000 0x90000000 0x0 0x10000000
525 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
526 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500527 #interrupt-cells = <1>;
528 #size-cells = <2>;
529 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500530 reg = <0xe0009000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500531 compatible = "fsl,mpc8540-pci";
532 device_type = "pci";
533 };
534
Kumar Galaea082fa2007-12-12 01:46:12 -0600535 pci2: pcie@e000a000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500536 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500537 interrupt-map = <
538
539 /* IDSEL 0x0 (PEX) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500540 00000 0x0 0x0 0x1 &mpic 0x0 0x1
541 00000 0x0 0x0 0x2 &mpic 0x1 0x1
542 00000 0x0 0x0 0x3 &mpic 0x2 0x1
543 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500544
545 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500546 interrupts = <26 2>;
547 bus-range = <0 255>;
548 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
Kumar Galaad168802008-06-06 10:35:13 -0500549 0x1000000 0x0 0x0 0xe3000000 0x0 0x100000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500550 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500551 #interrupt-cells = <1>;
552 #size-cells = <2>;
553 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500554 reg = <0xe000a000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500555 compatible = "fsl,mpc8548-pcie";
556 device_type = "pci";
557 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500558 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500559 #size-cells = <2>;
560 #address-cells = <3>;
561 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500562 ranges = <0x2000000 0x0 0xa0000000
563 0x2000000 0x0 0xa0000000
564 0x0 0x20000000
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500565
Kumar Gala32f960e2008-04-17 01:28:15 -0500566 0x1000000 0x0 0x0
567 0x1000000 0x0 0x0
Kumar Galaad168802008-06-06 10:35:13 -0500568 0x0 0x100000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500569 };
570 };
Andy Fleming2654d632006-08-18 18:04:34 -0500571};