blob: 8bcccd7b5d703af15641385c0c410bf00cf3402e [file] [log] [blame]
Jon Loeliger707ba162006-08-03 16:27:57 -05001/*
2 * MPC8641 HPCN Device Tree Source
3 *
4 * Copyright 2006 Freescale Semiconductor Inc.
5 *
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
Jon Loeliger6e050d42008-01-25 16:31:01 -060012/dts-v1/;
Jon Loeliger707ba162006-08-03 16:27:57 -050013
14/ {
15 model = "MPC8641HPCN";
Paul Gortmaker06f35b42008-04-16 13:53:06 -040016 compatible = "fsl,mpc8641hpcn";
Jon Loeliger707ba162006-08-03 16:27:57 -050017 #address-cells = <1>;
18 #size-cells = <1>;
19
Jon Loeliger1c1d1672007-12-05 11:32:50 -060020 aliases {
21 ethernet0 = &enet0;
22 ethernet1 = &enet1;
23 ethernet2 = &enet2;
24 ethernet3 = &enet3;
25 serial0 = &serial0;
26 serial1 = &serial1;
27 pci0 = &pci0;
28 pci1 = &pci1;
Becky Bruce47f80a32008-12-19 16:05:12 -060029/*
30 * Only one of Rapid IO or PCI can be present due to HW limitations and
31 * due to the fact that the 2 now share address space in the new memory
32 * map. The most likely case is that we have PCI, so comment out the
33 * rapidio node. Leave it here for reference.
34 */
35 /* rapidio0 = &rapidio0; */
Jon Loeliger1c1d1672007-12-05 11:32:50 -060036 };
37
Jon Loeliger707ba162006-08-03 16:27:57 -050038 cpus {
Jon Loeliger707ba162006-08-03 16:27:57 -050039 #address-cells = <1>;
40 #size-cells = <0>;
41
42 PowerPC,8641@0 {
43 device_type = "cpu";
44 reg = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060045 d-cache-line-size = <32>;
46 i-cache-line-size = <32>;
47 d-cache-size = <32768>; // L1
48 i-cache-size = <32768>; // L1
49 timebase-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050050 bus-frequency = <0>; // From uboot
51 clock-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050052 };
53 PowerPC,8641@1 {
54 device_type = "cpu";
55 reg = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060056 d-cache-line-size = <32>;
57 i-cache-line-size = <32>;
58 d-cache-size = <32768>;
59 i-cache-size = <32768>;
60 timebase-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050061 bus-frequency = <0>; // From uboot
62 clock-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050063 };
64 };
65
66 memory {
67 device_type = "memory";
Jon Loeliger6e050d42008-01-25 16:31:01 -060068 reg = <0x00000000 0x40000000>; // 1G at 0x0
Jon Loeliger707ba162006-08-03 16:27:57 -050069 };
70
Becky Bruce47f80a32008-12-19 16:05:12 -060071 localbus@ffe05000 {
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070072 #address-cells = <2>;
73 #size-cells = <1>;
74 compatible = "fsl,mpc8641-localbus", "simple-bus";
Becky Bruce47f80a32008-12-19 16:05:12 -060075 reg = <0xffe05000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060076 interrupts = <19 2>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070077 interrupt-parent = <&mpic>;
78
Becky Bruce47f80a32008-12-19 16:05:12 -060079 ranges = <0 0 0xef800000 0x00800000
80 2 0 0xffdf8000 0x00008000
81 3 0 0xffdf0000 0x00008000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070082
83 flash@0,0 {
84 compatible = "cfi-flash";
Jon Loeliger6e050d42008-01-25 16:31:01 -060085 reg = <0 0 0x00800000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070086 bank-width = <2>;
87 device-width = <2>;
88 #address-cells = <1>;
89 #size-cells = <1>;
90 partition@0 {
91 label = "kernel";
Jon Loeliger6e050d42008-01-25 16:31:01 -060092 reg = <0x00000000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070093 };
94 partition@300000 {
95 label = "firmware b";
Jon Loeliger6e050d42008-01-25 16:31:01 -060096 reg = <0x00300000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070097 read-only;
98 };
99 partition@400000 {
100 label = "fs";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600101 reg = <0x00400000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700102 };
103 partition@700000 {
104 label = "firmware a";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600105 reg = <0x00700000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700106 read-only;
107 };
108 };
109 };
110
Becky Bruce47f80a32008-12-19 16:05:12 -0600111 soc8641@ffe00000 {
Jon Loeliger707ba162006-08-03 16:27:57 -0500112 #address-cells = <1>;
113 #size-cells = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500114 device_type = "soc";
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700115 compatible = "simple-bus";
Becky Bruce47f80a32008-12-19 16:05:12 -0600116 ranges = <0x00000000 0xffe00000 0x00100000>;
117 reg = <0xffe00000 0x00001000>; // CCSRBAR
Jon Loeliger707ba162006-08-03 16:27:57 -0500118 bus-frequency = <0>;
119
Kumar Galada385782009-04-27 11:02:16 -0500120 mcm-law@0 {
121 compatible = "fsl,mcm-law";
122 reg = <0x0 0x1000>;
123 fsl,num-laws = <10>;
124 };
125
126 mcm@1000 {
127 compatible = "fsl,mpc8641-mcm", "fsl,mcm";
128 reg = <0x1000 0x1000>;
129 interrupts = <17 2>;
130 interrupt-parent = <&mpic>;
131 };
132
Jon Loeliger707ba162006-08-03 16:27:57 -0500133 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600134 #address-cells = <1>;
135 #size-cells = <0>;
136 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500137 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600138 reg = <0x3000 0x100>;
139 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600140 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500141 dfsrr;
142 };
143
144 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600145 #address-cells = <1>;
146 #size-cells = <0>;
147 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500148 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600149 reg = <0x3100 0x100>;
150 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600151 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500152 dfsrr;
153 };
154
Kumar Galadee80552008-06-27 13:45:19 -0500155 dma@21300 {
156 #address-cells = <1>;
157 #size-cells = <1>;
158 compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
159 reg = <0x21300 0x4>;
160 ranges = <0x0 0x21100 0x200>;
161 cell-index = <0>;
162 dma-channel@0 {
163 compatible = "fsl,mpc8641-dma-channel",
164 "fsl,eloplus-dma-channel";
165 reg = <0x0 0x80>;
166 cell-index = <0>;
167 interrupt-parent = <&mpic>;
168 interrupts = <20 2>;
169 };
170 dma-channel@80 {
171 compatible = "fsl,mpc8641-dma-channel",
172 "fsl,eloplus-dma-channel";
173 reg = <0x80 0x80>;
174 cell-index = <1>;
175 interrupt-parent = <&mpic>;
176 interrupts = <21 2>;
177 };
178 dma-channel@100 {
179 compatible = "fsl,mpc8641-dma-channel",
180 "fsl,eloplus-dma-channel";
181 reg = <0x100 0x80>;
182 cell-index = <2>;
183 interrupt-parent = <&mpic>;
184 interrupts = <22 2>;
185 };
186 dma-channel@180 {
187 compatible = "fsl,mpc8641-dma-channel",
188 "fsl,eloplus-dma-channel";
189 reg = <0x180 0x80>;
190 cell-index = <3>;
191 interrupt-parent = <&mpic>;
192 interrupts = <23 2>;
193 };
194 };
195
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600196 enet0: ethernet@24000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300197 #address-cells = <1>;
198 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600199 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500200 device_type = "network";
201 model = "TSEC";
202 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600203 reg = <0x24000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300204 ranges = <0x0 0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500205 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600206 interrupts = <29 2 30 2 34 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600207 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800208 tbi-handle = <&tbi0>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600209 phy-handle = <&phy0>;
Andy Flemingcc651852007-07-10 17:28:49 -0500210 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300211
212 mdio@520 {
213 #address-cells = <1>;
214 #size-cells = <0>;
215 compatible = "fsl,gianfar-mdio";
216 reg = <0x520 0x20>;
217
218 phy0: ethernet-phy@0 {
219 interrupt-parent = <&mpic>;
220 interrupts = <10 1>;
221 reg = <0>;
222 device_type = "ethernet-phy";
223 };
224 phy1: ethernet-phy@1 {
225 interrupt-parent = <&mpic>;
226 interrupts = <10 1>;
227 reg = <1>;
228 device_type = "ethernet-phy";
229 };
230 phy2: ethernet-phy@2 {
231 interrupt-parent = <&mpic>;
232 interrupts = <10 1>;
233 reg = <2>;
234 device_type = "ethernet-phy";
235 };
236 phy3: ethernet-phy@3 {
237 interrupt-parent = <&mpic>;
238 interrupts = <10 1>;
239 reg = <3>;
240 device_type = "ethernet-phy";
241 };
242 tbi0: tbi-phy@11 {
243 reg = <0x11>;
244 device_type = "tbi-phy";
245 };
246 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500247 };
248
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600249 enet1: ethernet@25000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300250 #address-cells = <1>;
251 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600252 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500253 device_type = "network";
254 model = "TSEC";
255 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600256 reg = <0x25000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300257 ranges = <0x0 0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500258 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600259 interrupts = <35 2 36 2 40 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600260 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800261 tbi-handle = <&tbi1>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600262 phy-handle = <&phy1>;
Andy Flemingcc651852007-07-10 17:28:49 -0500263 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300264
265 mdio@520 {
266 #address-cells = <1>;
267 #size-cells = <0>;
268 compatible = "fsl,gianfar-tbi";
269 reg = <0x520 0x20>;
270
271 tbi1: tbi-phy@11 {
272 reg = <0x11>;
273 device_type = "tbi-phy";
274 };
275 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500276 };
277
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600278 enet2: ethernet@26000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300279 #address-cells = <1>;
280 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600281 cell-index = <2>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500282 device_type = "network";
283 model = "TSEC";
284 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600285 reg = <0x26000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300286 ranges = <0x0 0x26000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500287 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600288 interrupts = <31 2 32 2 33 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600289 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800290 tbi-handle = <&tbi2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600291 phy-handle = <&phy2>;
Andy Flemingcc651852007-07-10 17:28:49 -0500292 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300293
294 mdio@520 {
295 #address-cells = <1>;
296 #size-cells = <0>;
297 compatible = "fsl,gianfar-tbi";
298 reg = <0x520 0x20>;
299
300 tbi2: tbi-phy@11 {
301 reg = <0x11>;
302 device_type = "tbi-phy";
303 };
304 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500305 };
306
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600307 enet3: ethernet@27000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300308 #address-cells = <1>;
309 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600310 cell-index = <3>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500311 device_type = "network";
312 model = "TSEC";
313 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600314 reg = <0x27000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300315 ranges = <0x0 0x27000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500316 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600317 interrupts = <37 2 38 2 39 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600318 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800319 tbi-handle = <&tbi3>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600320 phy-handle = <&phy3>;
Andy Flemingcc651852007-07-10 17:28:49 -0500321 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300322
323 mdio@520 {
324 #address-cells = <1>;
325 #size-cells = <0>;
326 compatible = "fsl,gianfar-tbi";
327 reg = <0x520 0x20>;
328
329 tbi3: tbi-phy@11 {
330 reg = <0x11>;
331 device_type = "tbi-phy";
332 };
333 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500334 };
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600335
336 serial0: serial@4500 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600337 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500338 device_type = "serial";
339 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600340 reg = <0x4500 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500341 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600342 interrupts = <42 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600343 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500344 };
345
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600346 serial1: serial@4600 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600347 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500348 device_type = "serial";
349 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600350 reg = <0x4600 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500351 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600352 interrupts = <28 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600353 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500354 };
355
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500356 mpic: pic@40000 {
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500357 interrupt-controller;
358 #address-cells = <0>;
359 #interrupt-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600360 reg = <0x40000 0x40000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500361 compatible = "chrp,open-pic";
362 device_type = "open-pic";
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500363 };
Kumar Galae1c15752007-10-04 01:04:57 -0500364
365 global-utilities@e0000 {
366 compatible = "fsl,mpc8641-guts";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600367 reg = <0xe0000 0x1000>;
Kumar Galae1c15752007-10-04 01:04:57 -0500368 fsl,has-rstcr;
369 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500370 };
371
Becky Bruce47f80a32008-12-19 16:05:12 -0600372 pci0: pcie@ffe08000 {
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500373 compatible = "fsl,mpc8641-pcie";
374 device_type = "pci";
375 #interrupt-cells = <1>;
376 #size-cells = <2>;
377 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600378 reg = <0xffe08000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600379 bus-range = <0x0 0xff>;
380 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600381 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600382 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500383 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600384 interrupts = <24 2>;
385 interrupt-map-mask = <0xff00 0 0 7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500386 interrupt-map = <
Kumar Galabebfa062007-11-19 23:36:23 -0600387 /* IDSEL 0x11 func 0 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600388 0x8800 0 0 1 &mpic 2 1
389 0x8800 0 0 2 &mpic 3 1
390 0x8800 0 0 3 &mpic 4 1
391 0x8800 0 0 4 &mpic 1 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500392
Kumar Galabebfa062007-11-19 23:36:23 -0600393 /* IDSEL 0x11 func 1 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600394 0x8900 0 0 1 &mpic 2 1
395 0x8900 0 0 2 &mpic 3 1
396 0x8900 0 0 3 &mpic 4 1
397 0x8900 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600398
399 /* IDSEL 0x11 func 2 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600400 0x8a00 0 0 1 &mpic 2 1
401 0x8a00 0 0 2 &mpic 3 1
402 0x8a00 0 0 3 &mpic 4 1
403 0x8a00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600404
405 /* IDSEL 0x11 func 3 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600406 0x8b00 0 0 1 &mpic 2 1
407 0x8b00 0 0 2 &mpic 3 1
408 0x8b00 0 0 3 &mpic 4 1
409 0x8b00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600410
411 /* IDSEL 0x11 func 4 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600412 0x8c00 0 0 1 &mpic 2 1
413 0x8c00 0 0 2 &mpic 3 1
414 0x8c00 0 0 3 &mpic 4 1
415 0x8c00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600416
417 /* IDSEL 0x11 func 5 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600418 0x8d00 0 0 1 &mpic 2 1
419 0x8d00 0 0 2 &mpic 3 1
420 0x8d00 0 0 3 &mpic 4 1
421 0x8d00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600422
423 /* IDSEL 0x11 func 6 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600424 0x8e00 0 0 1 &mpic 2 1
425 0x8e00 0 0 2 &mpic 3 1
426 0x8e00 0 0 3 &mpic 4 1
427 0x8e00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600428
429 /* IDSEL 0x11 func 7 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600430 0x8f00 0 0 1 &mpic 2 1
431 0x8f00 0 0 2 &mpic 3 1
432 0x8f00 0 0 3 &mpic 4 1
433 0x8f00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600434
435 /* IDSEL 0x12 func 0 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600436 0x9000 0 0 1 &mpic 3 1
437 0x9000 0 0 2 &mpic 4 1
438 0x9000 0 0 3 &mpic 1 1
439 0x9000 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600440
441 /* IDSEL 0x12 func 1 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600442 0x9100 0 0 1 &mpic 3 1
443 0x9100 0 0 2 &mpic 4 1
444 0x9100 0 0 3 &mpic 1 1
445 0x9100 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600446
447 /* IDSEL 0x12 func 2 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600448 0x9200 0 0 1 &mpic 3 1
449 0x9200 0 0 2 &mpic 4 1
450 0x9200 0 0 3 &mpic 1 1
451 0x9200 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600452
453 /* IDSEL 0x12 func 3 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600454 0x9300 0 0 1 &mpic 3 1
455 0x9300 0 0 2 &mpic 4 1
456 0x9300 0 0 3 &mpic 1 1
457 0x9300 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600458
459 /* IDSEL 0x12 func 4 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600460 0x9400 0 0 1 &mpic 3 1
461 0x9400 0 0 2 &mpic 4 1
462 0x9400 0 0 3 &mpic 1 1
463 0x9400 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600464
465 /* IDSEL 0x12 func 5 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600466 0x9500 0 0 1 &mpic 3 1
467 0x9500 0 0 2 &mpic 4 1
468 0x9500 0 0 3 &mpic 1 1
469 0x9500 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600470
471 /* IDSEL 0x12 func 6 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600472 0x9600 0 0 1 &mpic 3 1
473 0x9600 0 0 2 &mpic 4 1
474 0x9600 0 0 3 &mpic 1 1
475 0x9600 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600476
477 /* IDSEL 0x12 func 7 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600478 0x9700 0 0 1 &mpic 3 1
479 0x9700 0 0 2 &mpic 4 1
480 0x9700 0 0 3 &mpic 1 1
481 0x9700 0 0 4 &mpic 2 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500482
483 // IDSEL 0x1c USB
Jon Loeliger6e050d42008-01-25 16:31:01 -0600484 0xe000 0 0 1 &i8259 12 2
485 0xe100 0 0 2 &i8259 9 2
486 0xe200 0 0 3 &i8259 10 2
Kumar Galaba1616d2008-07-31 17:06:31 -0500487 0xe300 0 0 4 &i8259 11 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500488
489 // IDSEL 0x1d Audio
Jon Loeliger6e050d42008-01-25 16:31:01 -0600490 0xe800 0 0 1 &i8259 6 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500491
492 // IDSEL 0x1e Legacy
Jon Loeliger6e050d42008-01-25 16:31:01 -0600493 0xf000 0 0 1 &i8259 7 2
494 0xf100 0 0 1 &i8259 7 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500495
496 // IDSEL 0x1f IDE/SATA
Jon Loeliger6e050d42008-01-25 16:31:01 -0600497 0xf800 0 0 1 &i8259 14 2
498 0xf900 0 0 1 &i8259 5 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500499 >;
500
501 pcie@0 {
502 reg = <0 0 0 0 0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500503 #size-cells = <2>;
504 #address-cells = <3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500505 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600506 ranges = <0x02000000 0x0 0x80000000
507 0x02000000 0x0 0x80000000
508 0x0 0x20000000
Jon Loeliger707ba162006-08-03 16:27:57 -0500509
Jon Loeliger6e050d42008-01-25 16:31:01 -0600510 0x01000000 0x0 0x00000000
511 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600512 0x0 0x00010000>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700513 uli1575@0 {
514 reg = <0 0 0 0 0>;
515 #size-cells = <2>;
516 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600517 ranges = <0x02000000 0x0 0x80000000
518 0x02000000 0x0 0x80000000
519 0x0 0x20000000
520 0x01000000 0x0 0x00000000
521 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600522 0x0 0x00010000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500523 isa@1e {
524 device_type = "isa";
525 #interrupt-cells = <2>;
526 #size-cells = <1>;
527 #address-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600528 reg = <0xf000 0 0 0 0>;
529 ranges = <1 0 0x01000000 0 0
530 0x00001000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500531 interrupt-parent = <&i8259>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700532
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500533 i8259: interrupt-controller@20 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600534 reg = <1 0x20 2
535 1 0xa0 2
536 1 0x4d0 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500537 interrupt-controller;
538 device_type = "interrupt-controller";
539 #address-cells = <0>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700540 #interrupt-cells = <2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500541 compatible = "chrp,iic";
542 interrupts = <9 2>;
543 interrupt-parent = <&mpic>;
544 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700545
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500546 i8042@60 {
547 #size-cells = <0>;
548 #address-cells = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600549 reg = <1 0x60 1 1 0x64 1>;
550 interrupts = <1 3 12 3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500551 interrupt-parent =
552 <&i8259>;
553
554 keyboard@0 {
555 reg = <0>;
556 compatible = "pnpPNP,303";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700557 };
558
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500559 mouse@1 {
560 reg = <1>;
561 compatible = "pnpPNP,f03";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700562 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500563 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700564
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500565 rtc@70 {
566 compatible =
567 "pnpPNP,b00";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600568 reg = <1 0x70 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500569 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700570
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500571 gpio@400 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600572 reg = <1 0x400 0x80>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700573 };
574 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500575 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500576 };
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600577
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500578 };
579
Becky Bruce47f80a32008-12-19 16:05:12 -0600580 pci1: pcie@ffe09000 {
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500581 compatible = "fsl,mpc8641-pcie";
582 device_type = "pci";
583 #interrupt-cells = <1>;
584 #size-cells = <2>;
585 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600586 reg = <0xffe09000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600587 bus-range = <0 0xff>;
588 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600589 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600590 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500591 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600592 interrupts = <25 2>;
593 interrupt-map-mask = <0xf800 0 0 7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500594 interrupt-map = <
595 /* IDSEL 0x0 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600596 0x0000 0 0 1 &mpic 4 1
597 0x0000 0 0 2 &mpic 5 1
598 0x0000 0 0 3 &mpic 6 1
599 0x0000 0 0 4 &mpic 7 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500600 >;
601 pcie@0 {
602 reg = <0 0 0 0 0>;
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600603 #size-cells = <2>;
604 #address-cells = <3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500605 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600606 ranges = <0x02000000 0x0 0xa0000000
607 0x02000000 0x0 0xa0000000
608 0x0 0x20000000
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600609
Jon Loeliger6e050d42008-01-25 16:31:01 -0600610 0x01000000 0x0 0x00000000
611 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600612 0x0 0x00010000>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500613 };
614 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600615/*
616 rapidio0: rapidio@ffec0000 {
Zhang Wei56fde1f2008-04-18 13:33:42 -0700617 #address-cells = <2>;
618 #size-cells = <2>;
619 compatible = "fsl,rapidio-delta";
Becky Bruce47f80a32008-12-19 16:05:12 -0600620 reg = <0xffec0000 0x20000>;
621 ranges = <0 0 0x80000000 0 0x20000000>;
Zhang Wei56fde1f2008-04-18 13:33:42 -0700622 interrupt-parent = <&mpic>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600623 // err_irq bell_outb_irq bell_inb_irq
624 // msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq
Zhang Wei56fde1f2008-04-18 13:33:42 -0700625 interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>;
626 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600627*/
628
Jon Loeliger707ba162006-08-03 16:27:57 -0500629};