blob: e124dd18fb5aec09d5d26074e1887729d491e1aa [file] [log] [blame]
Kumar Gala5d54ddc2007-09-11 01:25:43 -05001/*
2 * MPC8572 DS Device Tree Source
3 *
Kumar Gala32f960e2008-04-17 01:28:15 -05004 * Copyright 2007, 2008 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";
16 #address-cells = <1>;
17 #size-cells = <1>;
18
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 Gala32f960e2008-04-17 01:28:15 -050064 reg = <0x0 0x0>; // Filled by U-Boot
Kumar Gala5d54ddc2007-09-11 01:25:43 -050065 };
66
67 soc8572@ffe00000 {
68 #address-cells = <1>;
69 #size-cells = <1>;
70 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -050071 compatible = "simple-bus";
Kumar Gala32f960e2008-04-17 01:28:15 -050072 ranges = <0x0 0xffe00000 0x100000>;
73 reg = <0xffe00000 0x1000>; // CCSRBAR & soc regs, remove once parse code for immrbase fixed
Kumar Gala5d54ddc2007-09-11 01:25:43 -050074 bus-frequency = <0>; // Filled out by uboot.
75
76 memory-controller@2000 {
77 compatible = "fsl,mpc8572-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050078 reg = <0x2000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -050079 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050080 interrupts = <18 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -050081 };
82
83 memory-controller@6000 {
84 compatible = "fsl,mpc8572-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050085 reg = <0x6000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -050086 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050087 interrupts = <18 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -050088 };
89
Kumar Galac0540652008-05-30 13:43:43 -050090 L2: l2-cache-controller@20000 {
Kumar Gala5d54ddc2007-09-11 01:25:43 -050091 compatible = "fsl,mpc8572-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050092 reg = <0x20000 0x1000>;
93 cache-line-size = <32>; // 32 bytes
94 cache-size = <0x80000>; // L2, 512K
Kumar Gala5d54ddc2007-09-11 01:25:43 -050095 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050096 interrupts = <16 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -050097 };
98
99 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600100 #address-cells = <1>;
101 #size-cells = <0>;
102 cell-index = <0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500103 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -0500104 reg = <0x3000 0x100>;
105 interrupts = <43 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500106 interrupt-parent = <&mpic>;
107 dfsrr;
108 };
109
110 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600111 #address-cells = <1>;
112 #size-cells = <0>;
113 cell-index = <1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500114 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -0500115 reg = <0x3100 0x100>;
116 interrupts = <43 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500117 interrupt-parent = <&mpic>;
118 dfsrr;
119 };
120
Kumar Galadee80552008-06-27 13:45:19 -0500121 dma@c300 {
122 #address-cells = <1>;
123 #size-cells = <1>;
124 compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
125 reg = <0xc300 0x4>;
126 ranges = <0x0 0xc100 0x200>;
127 cell-index = <1>;
128 dma-channel@0 {
129 compatible = "fsl,mpc8572-dma-channel",
130 "fsl,eloplus-dma-channel";
131 reg = <0x0 0x80>;
132 cell-index = <0>;
133 interrupt-parent = <&mpic>;
134 interrupts = <76 2>;
135 };
136 dma-channel@80 {
137 compatible = "fsl,mpc8572-dma-channel",
138 "fsl,eloplus-dma-channel";
139 reg = <0x80 0x80>;
140 cell-index = <1>;
141 interrupt-parent = <&mpic>;
142 interrupts = <77 2>;
143 };
144 dma-channel@100 {
145 compatible = "fsl,mpc8572-dma-channel",
146 "fsl,eloplus-dma-channel";
147 reg = <0x100 0x80>;
148 cell-index = <2>;
149 interrupt-parent = <&mpic>;
150 interrupts = <78 2>;
151 };
152 dma-channel@180 {
153 compatible = "fsl,mpc8572-dma-channel",
154 "fsl,eloplus-dma-channel";
155 reg = <0x180 0x80>;
156 cell-index = <3>;
157 interrupt-parent = <&mpic>;
158 interrupts = <79 2>;
159 };
160 };
161
162 dma@21300 {
163 #address-cells = <1>;
164 #size-cells = <1>;
165 compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
166 reg = <0x21300 0x4>;
167 ranges = <0x0 0x21100 0x200>;
168 cell-index = <0>;
169 dma-channel@0 {
170 compatible = "fsl,mpc8572-dma-channel",
171 "fsl,eloplus-dma-channel";
172 reg = <0x0 0x80>;
173 cell-index = <0>;
174 interrupt-parent = <&mpic>;
175 interrupts = <20 2>;
176 };
177 dma-channel@80 {
178 compatible = "fsl,mpc8572-dma-channel",
179 "fsl,eloplus-dma-channel";
180 reg = <0x80 0x80>;
181 cell-index = <1>;
182 interrupt-parent = <&mpic>;
183 interrupts = <21 2>;
184 };
185 dma-channel@100 {
186 compatible = "fsl,mpc8572-dma-channel",
187 "fsl,eloplus-dma-channel";
188 reg = <0x100 0x80>;
189 cell-index = <2>;
190 interrupt-parent = <&mpic>;
191 interrupts = <22 2>;
192 };
193 dma-channel@180 {
194 compatible = "fsl,mpc8572-dma-channel",
195 "fsl,eloplus-dma-channel";
196 reg = <0x180 0x80>;
197 cell-index = <3>;
198 interrupt-parent = <&mpic>;
199 interrupts = <23 2>;
200 };
201 };
202
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500203 mdio@24520 {
204 #address-cells = <1>;
205 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600206 compatible = "fsl,gianfar-mdio";
Kumar Gala32f960e2008-04-17 01:28:15 -0500207 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600208
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500209 phy0: ethernet-phy@0 {
210 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500211 interrupts = <10 1>;
212 reg = <0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500213 };
214 phy1: ethernet-phy@1 {
215 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500216 interrupts = <10 1>;
217 reg = <0x1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500218 };
219 phy2: ethernet-phy@2 {
220 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500221 interrupts = <10 1>;
222 reg = <0x2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500223 };
224 phy3: ethernet-phy@3 {
225 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500226 interrupts = <10 1>;
227 reg = <0x3>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500228 };
229 };
230
Kumar Galae77b28e2007-12-12 00:28:35 -0600231 enet0: ethernet@24000 {
232 cell-index = <0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500233 device_type = "network";
234 model = "eTSEC";
235 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500236 reg = <0x24000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500237 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500238 interrupts = <29 2 30 2 34 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500239 interrupt-parent = <&mpic>;
240 phy-handle = <&phy0>;
241 phy-connection-type = "rgmii-id";
242 };
243
Kumar Galae77b28e2007-12-12 00:28:35 -0600244 enet1: ethernet@25000 {
245 cell-index = <1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500246 device_type = "network";
247 model = "eTSEC";
248 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500249 reg = <0x25000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500250 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500251 interrupts = <35 2 36 2 40 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500252 interrupt-parent = <&mpic>;
253 phy-handle = <&phy1>;
254 phy-connection-type = "rgmii-id";
255 };
256
Kumar Galae77b28e2007-12-12 00:28:35 -0600257 enet2: ethernet@26000 {
258 cell-index = <2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500259 device_type = "network";
260 model = "eTSEC";
261 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500262 reg = <0x26000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500263 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500264 interrupts = <31 2 32 2 33 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500265 interrupt-parent = <&mpic>;
266 phy-handle = <&phy2>;
267 phy-connection-type = "rgmii-id";
268 };
269
Kumar Galae77b28e2007-12-12 00:28:35 -0600270 enet3: ethernet@27000 {
271 cell-index = <3>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500272 device_type = "network";
273 model = "eTSEC";
274 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500275 reg = <0x27000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500276 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500277 interrupts = <37 2 38 2 39 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500278 interrupt-parent = <&mpic>;
279 phy-handle = <&phy3>;
280 phy-connection-type = "rgmii-id";
281 };
282
Kumar Galaea082fa2007-12-12 01:46:12 -0600283 serial0: serial@4500 {
284 cell-index = <0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500285 device_type = "serial";
286 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500287 reg = <0x4500 0x100>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500288 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500289 interrupts = <42 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500290 interrupt-parent = <&mpic>;
291 };
292
Kumar Galaea082fa2007-12-12 01:46:12 -0600293 serial1: serial@4600 {
294 cell-index = <1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500295 device_type = "serial";
296 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500297 reg = <0x4600 0x100>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500298 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500299 interrupts = <42 2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500300 interrupt-parent = <&mpic>;
301 };
302
303 global-utilities@e0000 { //global utilities block
304 compatible = "fsl,mpc8572-guts";
Kumar Gala32f960e2008-04-17 01:28:15 -0500305 reg = <0xe0000 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500306 fsl,has-rstcr;
307 };
308
Jason Jin741edc42008-05-23 16:32:48 +0800309 msi@41600 {
310 compatible = "fsl,mpc8572-msi", "fsl,mpic-msi";
311 reg = <0x41600 0x80>;
312 msi-available-ranges = <0 0x100>;
313 interrupts = <
314 0xe0 0
315 0xe1 0
316 0xe2 0
317 0xe3 0
318 0xe4 0
319 0xe5 0
320 0xe6 0
321 0xe7 0>;
322 interrupt-parent = <&mpic>;
323 };
324
Kim Phillips3fd44732008-07-08 19:13:33 -0500325 crypto@30000 {
326 compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
327 "fsl,sec2.1", "fsl,sec2.0";
328 reg = <0x30000 0x10000>;
329 interrupts = <45 2 58 2>;
330 interrupt-parent = <&mpic>;
331 fsl,num-channels = <4>;
332 fsl,channel-fifo-len = <24>;
333 fsl,exec-units-mask = <0x9fe>;
334 fsl,descriptor-types-mask = <0x3ab0ebf>;
335 };
336
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500337 mpic: pic@40000 {
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500338 interrupt-controller;
339 #address-cells = <0>;
340 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500341 reg = <0x40000 0x40000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500342 compatible = "chrp,open-pic";
343 device_type = "open-pic";
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500344 };
345 };
346
Kumar Galaea082fa2007-12-12 01:46:12 -0600347 pci0: pcie@ffe08000 {
348 cell-index = <0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500349 compatible = "fsl,mpc8548-pcie";
350 device_type = "pci";
351 #interrupt-cells = <1>;
352 #size-cells = <2>;
353 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500354 reg = <0xffe08000 0x1000>;
355 bus-range = <0 255>;
356 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
357 0x1000000 0x0 0x0 0xffc00000 0x0 0x10000>;
358 clock-frequency = <33333333>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500359 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500360 interrupts = <24 2>;
361 interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500362 interrupt-map = <
Kumar Galabebfa062007-11-19 23:36:23 -0600363 /* IDSEL 0x11 func 0 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500364 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
365 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
366 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
367 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500368
Kumar Galabebfa062007-11-19 23:36:23 -0600369 /* IDSEL 0x11 func 1 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500370 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1
371 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1
372 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1
373 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600374
375 /* IDSEL 0x11 func 2 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500376 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1
377 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1
378 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1
379 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600380
381 /* IDSEL 0x11 func 3 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500382 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1
383 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1
384 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1
385 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600386
387 /* IDSEL 0x11 func 4 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500388 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1
389 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1
390 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1
391 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600392
393 /* IDSEL 0x11 func 5 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500394 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1
395 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1
396 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1
397 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600398
399 /* IDSEL 0x11 func 6 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500400 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1
401 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1
402 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1
403 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600404
405 /* IDSEL 0x11 func 7 - PCI slot 1 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500406 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1
407 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1
408 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1
409 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600410
411 /* IDSEL 0x12 func 0 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500412 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
413 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
414 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1
415 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500416
Kumar Galabebfa062007-11-19 23:36:23 -0600417 /* IDSEL 0x12 func 1 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500418 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1
419 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1
420 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1
421 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600422
423 /* IDSEL 0x12 func 2 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500424 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1
425 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1
426 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1
427 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600428
429 /* IDSEL 0x12 func 3 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500430 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1
431 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1
432 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1
433 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600434
435 /* IDSEL 0x12 func 4 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500436 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1
437 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1
438 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1
439 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600440
441 /* IDSEL 0x12 func 5 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500442 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1
443 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1
444 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1
445 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600446
447 /* IDSEL 0x12 func 6 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500448 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1
449 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1
450 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1
451 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600452
453 /* IDSEL 0x12 func 7 - PCI slot 2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500454 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1
455 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1
456 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1
457 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Galabebfa062007-11-19 23:36:23 -0600458
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500459 // IDSEL 0x1c USB
Kumar Gala32f960e2008-04-17 01:28:15 -0500460 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
461 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
462 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
463 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500464
465 // IDSEL 0x1d Audio
Kumar Gala32f960e2008-04-17 01:28:15 -0500466 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500467
468 // IDSEL 0x1e Legacy
Kumar Gala32f960e2008-04-17 01:28:15 -0500469 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
470 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500471
472 // IDSEL 0x1f IDE/SATA
Kumar Gala32f960e2008-04-17 01:28:15 -0500473 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
474 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500475
476 >;
477
478 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500479 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500480 #size-cells = <2>;
481 #address-cells = <3>;
482 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500483 ranges = <0x2000000 0x0 0x80000000
484 0x2000000 0x0 0x80000000
485 0x0 0x20000000
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500486
Kumar Gala32f960e2008-04-17 01:28:15 -0500487 0x1000000 0x0 0x0
488 0x1000000 0x0 0x0
489 0x0 0x100000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500490 uli1575@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500491 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500492 #size-cells = <2>;
493 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500494 ranges = <0x2000000 0x0 0x80000000
495 0x2000000 0x0 0x80000000
496 0x0 0x20000000
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500497
Kumar Gala32f960e2008-04-17 01:28:15 -0500498 0x1000000 0x0 0x0
499 0x1000000 0x0 0x0
500 0x0 0x100000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500501 isa@1e {
502 device_type = "isa";
503 #interrupt-cells = <2>;
504 #size-cells = <1>;
505 #address-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500506 reg = <0xf000 0x0 0x0 0x0 0x0>;
507 ranges = <0x1 0x0 0x1000000 0x0 0x0
508 0x1000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500509 interrupt-parent = <&i8259>;
510
511 i8259: interrupt-controller@20 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500512 reg = <0x1 0x20 0x2
513 0x1 0xa0 0x2
514 0x1 0x4d0 0x2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500515 interrupt-controller;
516 device_type = "interrupt-controller";
517 #address-cells = <0>;
518 #interrupt-cells = <2>;
519 compatible = "chrp,iic";
520 interrupts = <9 2>;
521 interrupt-parent = <&mpic>;
522 };
523
524 i8042@60 {
525 #size-cells = <0>;
526 #address-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500527 reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
528 interrupts = <1 3 12 3>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500529 interrupt-parent =
530 <&i8259>;
531
532 keyboard@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500533 reg = <0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500534 compatible = "pnpPNP,303";
535 };
536
537 mouse@1 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500538 reg = <0x1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500539 compatible = "pnpPNP,f03";
540 };
541 };
542
543 rtc@70 {
544 compatible = "pnpPNP,b00";
Kumar Gala32f960e2008-04-17 01:28:15 -0500545 reg = <0x1 0x70 0x2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500546 };
547
548 gpio@400 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500549 reg = <0x1 0x400 0x80>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500550 };
551 };
552 };
553 };
554
555 };
556
Kumar Galaea082fa2007-12-12 01:46:12 -0600557 pci1: pcie@ffe09000 {
558 cell-index = <1>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500559 compatible = "fsl,mpc8548-pcie";
560 device_type = "pci";
561 #interrupt-cells = <1>;
562 #size-cells = <2>;
563 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500564 reg = <0xffe09000 0x1000>;
565 bus-range = <0 255>;
566 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
567 0x1000000 0x0 0x0 0xffc10000 0x0 0x10000>;
568 clock-frequency = <33333333>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500569 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500570 interrupts = <26 2>;
571 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500572 interrupt-map = <
573 /* IDSEL 0x0 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500574 0000 0x0 0x0 0x1 &mpic 0x4 0x1
575 0000 0x0 0x0 0x2 &mpic 0x5 0x1
576 0000 0x0 0x0 0x3 &mpic 0x6 0x1
577 0000 0x0 0x0 0x4 &mpic 0x7 0x1
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500578 >;
579 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500580 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500581 #size-cells = <2>;
582 #address-cells = <3>;
583 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500584 ranges = <0x2000000 0x0 0xa0000000
585 0x2000000 0x0 0xa0000000
586 0x0 0x20000000
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500587
Kumar Gala32f960e2008-04-17 01:28:15 -0500588 0x1000000 0x0 0x0
589 0x1000000 0x0 0x0
590 0x0 0x100000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500591 };
592 };
593
Kumar Galaea082fa2007-12-12 01:46:12 -0600594 pci2: pcie@ffe0a000 {
595 cell-index = <2>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500596 compatible = "fsl,mpc8548-pcie";
597 device_type = "pci";
598 #interrupt-cells = <1>;
599 #size-cells = <2>;
600 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500601 reg = <0xffe0a000 0x1000>;
602 bus-range = <0 255>;
603 ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000
604 0x1000000 0x0 0x0 0xffc20000 0x0 0x10000>;
605 clock-frequency = <33333333>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500606 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500607 interrupts = <27 2>;
608 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500609 interrupt-map = <
610 /* IDSEL 0x0 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500611 0000 0x0 0x0 0x1 &mpic 0x0 0x1
612 0000 0x0 0x0 0x2 &mpic 0x1 0x1
613 0000 0x0 0x0 0x3 &mpic 0x2 0x1
614 0000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500615 >;
616 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500617 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500618 #size-cells = <2>;
619 #address-cells = <3>;
620 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500621 ranges = <0x2000000 0x0 0xc0000000
622 0x2000000 0x0 0xc0000000
623 0x0 0x20000000
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500624
Kumar Gala32f960e2008-04-17 01:28:15 -0500625 0x1000000 0x0 0x0
626 0x1000000 0x0 0x0
627 0x0 0x100000>;
Kumar Gala5d54ddc2007-09-11 01:25:43 -0500628 };
629 };
630};