blob: 1e8666ccbed89b2ac6e2943d515f165e5399d156 [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;
29 };
30
Jon Loeliger707ba162006-08-03 16:27:57 -050031 cpus {
Jon Loeliger707ba162006-08-03 16:27:57 -050032 #address-cells = <1>;
33 #size-cells = <0>;
34
35 PowerPC,8641@0 {
36 device_type = "cpu";
37 reg = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060038 d-cache-line-size = <32>;
39 i-cache-line-size = <32>;
40 d-cache-size = <32768>; // L1
41 i-cache-size = <32768>; // L1
42 timebase-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050043 bus-frequency = <0>; // From uboot
44 clock-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050045 };
46 PowerPC,8641@1 {
47 device_type = "cpu";
48 reg = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060049 d-cache-line-size = <32>;
50 i-cache-line-size = <32>;
51 d-cache-size = <32768>;
52 i-cache-size = <32768>;
53 timebase-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050054 bus-frequency = <0>; // From uboot
55 clock-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050056 };
57 };
58
59 memory {
60 device_type = "memory";
Jon Loeliger6e050d42008-01-25 16:31:01 -060061 reg = <0x00000000 0x40000000>; // 1G at 0x0
Jon Loeliger707ba162006-08-03 16:27:57 -050062 };
63
Becky Bruce47f80a32008-12-19 16:05:12 -060064 localbus@ffe05000 {
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070065 #address-cells = <2>;
66 #size-cells = <1>;
67 compatible = "fsl,mpc8641-localbus", "simple-bus";
Becky Bruce47f80a32008-12-19 16:05:12 -060068 reg = <0xffe05000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060069 interrupts = <19 2>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070070 interrupt-parent = <&mpic>;
71
Becky Bruce47f80a32008-12-19 16:05:12 -060072 ranges = <0 0 0xef800000 0x00800000
73 2 0 0xffdf8000 0x00008000
74 3 0 0xffdf0000 0x00008000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070075
76 flash@0,0 {
77 compatible = "cfi-flash";
Jon Loeliger6e050d42008-01-25 16:31:01 -060078 reg = <0 0 0x00800000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070079 bank-width = <2>;
80 device-width = <2>;
81 #address-cells = <1>;
82 #size-cells = <1>;
83 partition@0 {
84 label = "kernel";
Jon Loeliger6e050d42008-01-25 16:31:01 -060085 reg = <0x00000000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070086 };
87 partition@300000 {
88 label = "firmware b";
Jon Loeliger6e050d42008-01-25 16:31:01 -060089 reg = <0x00300000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070090 read-only;
91 };
92 partition@400000 {
93 label = "fs";
Jon Loeliger6e050d42008-01-25 16:31:01 -060094 reg = <0x00400000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070095 };
96 partition@700000 {
97 label = "firmware a";
Jon Loeliger6e050d42008-01-25 16:31:01 -060098 reg = <0x00700000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070099 read-only;
100 };
101 };
102 };
103
Becky Bruce47f80a32008-12-19 16:05:12 -0600104 soc8641@ffe00000 {
Jon Loeliger707ba162006-08-03 16:27:57 -0500105 #address-cells = <1>;
106 #size-cells = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500107 device_type = "soc";
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700108 compatible = "simple-bus";
Becky Bruce47f80a32008-12-19 16:05:12 -0600109 ranges = <0x00000000 0xffe00000 0x00100000>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500110 bus-frequency = <0>;
111
Kumar Galada385782009-04-27 11:02:16 -0500112 mcm-law@0 {
113 compatible = "fsl,mcm-law";
114 reg = <0x0 0x1000>;
115 fsl,num-laws = <10>;
116 };
117
118 mcm@1000 {
119 compatible = "fsl,mpc8641-mcm", "fsl,mcm";
120 reg = <0x1000 0x1000>;
121 interrupts = <17 2>;
122 interrupt-parent = <&mpic>;
123 };
124
Jon Loeliger707ba162006-08-03 16:27:57 -0500125 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600126 #address-cells = <1>;
127 #size-cells = <0>;
128 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500129 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600130 reg = <0x3000 0x100>;
131 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600132 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500133 dfsrr;
134 };
135
136 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600137 #address-cells = <1>;
138 #size-cells = <0>;
139 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500140 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600141 reg = <0x3100 0x100>;
142 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600143 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500144 dfsrr;
145 };
146
Kumar Galadee80552008-06-27 13:45:19 -0500147 dma@21300 {
148 #address-cells = <1>;
149 #size-cells = <1>;
150 compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
151 reg = <0x21300 0x4>;
152 ranges = <0x0 0x21100 0x200>;
153 cell-index = <0>;
154 dma-channel@0 {
155 compatible = "fsl,mpc8641-dma-channel",
156 "fsl,eloplus-dma-channel";
157 reg = <0x0 0x80>;
158 cell-index = <0>;
159 interrupt-parent = <&mpic>;
160 interrupts = <20 2>;
161 };
162 dma-channel@80 {
163 compatible = "fsl,mpc8641-dma-channel",
164 "fsl,eloplus-dma-channel";
165 reg = <0x80 0x80>;
166 cell-index = <1>;
167 interrupt-parent = <&mpic>;
168 interrupts = <21 2>;
169 };
170 dma-channel@100 {
171 compatible = "fsl,mpc8641-dma-channel",
172 "fsl,eloplus-dma-channel";
173 reg = <0x100 0x80>;
174 cell-index = <2>;
175 interrupt-parent = <&mpic>;
176 interrupts = <22 2>;
177 };
178 dma-channel@180 {
179 compatible = "fsl,mpc8641-dma-channel",
180 "fsl,eloplus-dma-channel";
181 reg = <0x180 0x80>;
182 cell-index = <3>;
183 interrupt-parent = <&mpic>;
184 interrupts = <23 2>;
185 };
186 };
187
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600188 enet0: ethernet@24000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300189 #address-cells = <1>;
190 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600191 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500192 device_type = "network";
193 model = "TSEC";
194 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600195 reg = <0x24000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300196 ranges = <0x0 0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500197 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600198 interrupts = <29 2 30 2 34 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600199 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800200 tbi-handle = <&tbi0>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600201 phy-handle = <&phy0>;
Andy Flemingcc651852007-07-10 17:28:49 -0500202 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300203
204 mdio@520 {
205 #address-cells = <1>;
206 #size-cells = <0>;
207 compatible = "fsl,gianfar-mdio";
208 reg = <0x520 0x20>;
209
210 phy0: ethernet-phy@0 {
211 interrupt-parent = <&mpic>;
212 interrupts = <10 1>;
213 reg = <0>;
214 device_type = "ethernet-phy";
215 };
216 phy1: ethernet-phy@1 {
217 interrupt-parent = <&mpic>;
218 interrupts = <10 1>;
219 reg = <1>;
220 device_type = "ethernet-phy";
221 };
222 phy2: ethernet-phy@2 {
223 interrupt-parent = <&mpic>;
224 interrupts = <10 1>;
225 reg = <2>;
226 device_type = "ethernet-phy";
227 };
228 phy3: ethernet-phy@3 {
229 interrupt-parent = <&mpic>;
230 interrupts = <10 1>;
231 reg = <3>;
232 device_type = "ethernet-phy";
233 };
234 tbi0: tbi-phy@11 {
235 reg = <0x11>;
236 device_type = "tbi-phy";
237 };
238 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500239 };
240
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600241 enet1: ethernet@25000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300242 #address-cells = <1>;
243 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600244 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500245 device_type = "network";
246 model = "TSEC";
247 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600248 reg = <0x25000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300249 ranges = <0x0 0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500250 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600251 interrupts = <35 2 36 2 40 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600252 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800253 tbi-handle = <&tbi1>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600254 phy-handle = <&phy1>;
Andy Flemingcc651852007-07-10 17:28:49 -0500255 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300256
257 mdio@520 {
258 #address-cells = <1>;
259 #size-cells = <0>;
260 compatible = "fsl,gianfar-tbi";
261 reg = <0x520 0x20>;
262
263 tbi1: tbi-phy@11 {
264 reg = <0x11>;
265 device_type = "tbi-phy";
266 };
267 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500268 };
269
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600270 enet2: ethernet@26000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300271 #address-cells = <1>;
272 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600273 cell-index = <2>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500274 device_type = "network";
275 model = "TSEC";
276 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600277 reg = <0x26000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300278 ranges = <0x0 0x26000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500279 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600280 interrupts = <31 2 32 2 33 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600281 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800282 tbi-handle = <&tbi2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600283 phy-handle = <&phy2>;
Andy Flemingcc651852007-07-10 17:28:49 -0500284 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300285
286 mdio@520 {
287 #address-cells = <1>;
288 #size-cells = <0>;
289 compatible = "fsl,gianfar-tbi";
290 reg = <0x520 0x20>;
291
292 tbi2: tbi-phy@11 {
293 reg = <0x11>;
294 device_type = "tbi-phy";
295 };
296 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500297 };
298
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600299 enet3: ethernet@27000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300300 #address-cells = <1>;
301 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600302 cell-index = <3>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500303 device_type = "network";
304 model = "TSEC";
305 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600306 reg = <0x27000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300307 ranges = <0x0 0x27000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500308 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600309 interrupts = <37 2 38 2 39 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600310 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800311 tbi-handle = <&tbi3>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600312 phy-handle = <&phy3>;
Andy Flemingcc651852007-07-10 17:28:49 -0500313 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300314
315 mdio@520 {
316 #address-cells = <1>;
317 #size-cells = <0>;
318 compatible = "fsl,gianfar-tbi";
319 reg = <0x520 0x20>;
320
321 tbi3: tbi-phy@11 {
322 reg = <0x11>;
323 device_type = "tbi-phy";
324 };
325 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500326 };
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600327
328 serial0: serial@4500 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600329 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500330 device_type = "serial";
Kumar Galaf706bed2011-11-28 13:58:53 -0600331 compatible = "fsl,ns16550", "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600332 reg = <0x4500 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500333 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600334 interrupts = <42 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600335 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500336 };
337
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600338 serial1: serial@4600 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600339 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500340 device_type = "serial";
Kumar Galaf706bed2011-11-28 13:58:53 -0600341 compatible = "fsl,ns16550", "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600342 reg = <0x4600 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500343 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600344 interrupts = <28 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600345 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500346 };
347
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500348 mpic: pic@40000 {
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500349 interrupt-controller;
350 #address-cells = <0>;
351 #interrupt-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600352 reg = <0x40000 0x40000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500353 compatible = "chrp,open-pic";
354 device_type = "open-pic";
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500355 };
Kumar Galae1c15752007-10-04 01:04:57 -0500356
Kumar Gala54986962011-11-17 08:01:40 -0600357 rmu: rmu@d3000 {
358 #address-cells = <1>;
359 #size-cells = <1>;
360 compatible = "fsl,srio-rmu";
361 reg = <0xd3000 0x500>;
362 ranges = <0x0 0xd3000 0x500>;
363
364 message-unit@0 {
365 compatible = "fsl,srio-msg-unit";
366 reg = <0x0 0x100>;
367 interrupts = <
368 53 2 /* msg1_tx_irq */
369 54 2>;/* msg1_rx_irq */
370 };
371 message-unit@100 {
372 compatible = "fsl,srio-msg-unit";
373 reg = <0x100 0x100>;
374 interrupts = <
375 55 2 /* msg2_tx_irq */
376 56 2>;/* msg2_rx_irq */
377 };
378 doorbell-unit@400 {
379 compatible = "fsl,srio-dbell-unit";
380 reg = <0x400 0x80>;
381 interrupts = <
382 49 2 /* bell_outb_irq */
383 50 2>;/* bell_inb_irq */
384 };
385 port-write-unit@4e0 {
386 compatible = "fsl,srio-port-write-unit";
387 reg = <0x4e0 0x20>;
388 interrupts = <48 2>;
389 };
390 };
391
Kumar Galae1c15752007-10-04 01:04:57 -0500392 global-utilities@e0000 {
393 compatible = "fsl,mpc8641-guts";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600394 reg = <0xe0000 0x1000>;
Kumar Galae1c15752007-10-04 01:04:57 -0500395 fsl,has-rstcr;
396 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500397 };
398
Becky Bruce47f80a32008-12-19 16:05:12 -0600399 pci0: pcie@ffe08000 {
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500400 compatible = "fsl,mpc8641-pcie";
401 device_type = "pci";
402 #interrupt-cells = <1>;
403 #size-cells = <2>;
404 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600405 reg = <0xffe08000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600406 bus-range = <0x0 0xff>;
407 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600408 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600409 clock-frequency = <33333333>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500410 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600411 interrupts = <24 2>;
412 interrupt-map-mask = <0xff00 0 0 7>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500413 interrupt-map = <
Kumar Galabebfa062007-11-19 23:36:23 -0600414 /* IDSEL 0x11 func 0 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600415 0x8800 0 0 1 &mpic 2 1
416 0x8800 0 0 2 &mpic 3 1
417 0x8800 0 0 3 &mpic 4 1
418 0x8800 0 0 4 &mpic 1 1
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500419
Kumar Galabebfa062007-11-19 23:36:23 -0600420 /* IDSEL 0x11 func 1 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600421 0x8900 0 0 1 &mpic 2 1
422 0x8900 0 0 2 &mpic 3 1
423 0x8900 0 0 3 &mpic 4 1
424 0x8900 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600425
426 /* IDSEL 0x11 func 2 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600427 0x8a00 0 0 1 &mpic 2 1
428 0x8a00 0 0 2 &mpic 3 1
429 0x8a00 0 0 3 &mpic 4 1
430 0x8a00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600431
432 /* IDSEL 0x11 func 3 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600433 0x8b00 0 0 1 &mpic 2 1
434 0x8b00 0 0 2 &mpic 3 1
435 0x8b00 0 0 3 &mpic 4 1
436 0x8b00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600437
438 /* IDSEL 0x11 func 4 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600439 0x8c00 0 0 1 &mpic 2 1
440 0x8c00 0 0 2 &mpic 3 1
441 0x8c00 0 0 3 &mpic 4 1
442 0x8c00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600443
444 /* IDSEL 0x11 func 5 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600445 0x8d00 0 0 1 &mpic 2 1
446 0x8d00 0 0 2 &mpic 3 1
447 0x8d00 0 0 3 &mpic 4 1
448 0x8d00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600449
450 /* IDSEL 0x11 func 6 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600451 0x8e00 0 0 1 &mpic 2 1
452 0x8e00 0 0 2 &mpic 3 1
453 0x8e00 0 0 3 &mpic 4 1
454 0x8e00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600455
456 /* IDSEL 0x11 func 7 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600457 0x8f00 0 0 1 &mpic 2 1
458 0x8f00 0 0 2 &mpic 3 1
459 0x8f00 0 0 3 &mpic 4 1
460 0x8f00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600461
462 /* IDSEL 0x12 func 0 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600463 0x9000 0 0 1 &mpic 3 1
464 0x9000 0 0 2 &mpic 4 1
465 0x9000 0 0 3 &mpic 1 1
466 0x9000 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600467
468 /* IDSEL 0x12 func 1 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600469 0x9100 0 0 1 &mpic 3 1
470 0x9100 0 0 2 &mpic 4 1
471 0x9100 0 0 3 &mpic 1 1
472 0x9100 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600473
474 /* IDSEL 0x12 func 2 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600475 0x9200 0 0 1 &mpic 3 1
476 0x9200 0 0 2 &mpic 4 1
477 0x9200 0 0 3 &mpic 1 1
478 0x9200 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600479
480 /* IDSEL 0x12 func 3 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600481 0x9300 0 0 1 &mpic 3 1
482 0x9300 0 0 2 &mpic 4 1
483 0x9300 0 0 3 &mpic 1 1
484 0x9300 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600485
486 /* IDSEL 0x12 func 4 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600487 0x9400 0 0 1 &mpic 3 1
488 0x9400 0 0 2 &mpic 4 1
489 0x9400 0 0 3 &mpic 1 1
490 0x9400 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600491
492 /* IDSEL 0x12 func 5 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600493 0x9500 0 0 1 &mpic 3 1
494 0x9500 0 0 2 &mpic 4 1
495 0x9500 0 0 3 &mpic 1 1
496 0x9500 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600497
498 /* IDSEL 0x12 func 6 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600499 0x9600 0 0 1 &mpic 3 1
500 0x9600 0 0 2 &mpic 4 1
501 0x9600 0 0 3 &mpic 1 1
502 0x9600 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600503
504 /* IDSEL 0x12 func 7 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600505 0x9700 0 0 1 &mpic 3 1
506 0x9700 0 0 2 &mpic 4 1
507 0x9700 0 0 3 &mpic 1 1
508 0x9700 0 0 4 &mpic 2 1
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500509
510 // IDSEL 0x1c USB
Jon Loeliger6e050d42008-01-25 16:31:01 -0600511 0xe000 0 0 1 &i8259 12 2
512 0xe100 0 0 2 &i8259 9 2
513 0xe200 0 0 3 &i8259 10 2
Kumar Galaba1616d2008-07-31 17:06:31 -0500514 0xe300 0 0 4 &i8259 11 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500515
516 // IDSEL 0x1d Audio
Jon Loeliger6e050d42008-01-25 16:31:01 -0600517 0xe800 0 0 1 &i8259 6 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500518
519 // IDSEL 0x1e Legacy
Jon Loeliger6e050d42008-01-25 16:31:01 -0600520 0xf000 0 0 1 &i8259 7 2
521 0xf100 0 0 1 &i8259 7 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500522
523 // IDSEL 0x1f IDE/SATA
Jon Loeliger6e050d42008-01-25 16:31:01 -0600524 0xf800 0 0 1 &i8259 14 2
525 0xf900 0 0 1 &i8259 5 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500526 >;
527
528 pcie@0 {
529 reg = <0 0 0 0 0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500530 #size-cells = <2>;
531 #address-cells = <3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500532 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600533 ranges = <0x02000000 0x0 0x80000000
534 0x02000000 0x0 0x80000000
535 0x0 0x20000000
Jon Loeliger707ba162006-08-03 16:27:57 -0500536
Jon Loeliger6e050d42008-01-25 16:31:01 -0600537 0x01000000 0x0 0x00000000
538 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600539 0x0 0x00010000>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700540 uli1575@0 {
541 reg = <0 0 0 0 0>;
542 #size-cells = <2>;
543 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600544 ranges = <0x02000000 0x0 0x80000000
545 0x02000000 0x0 0x80000000
546 0x0 0x20000000
547 0x01000000 0x0 0x00000000
548 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600549 0x0 0x00010000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500550 isa@1e {
551 device_type = "isa";
552 #interrupt-cells = <2>;
553 #size-cells = <1>;
554 #address-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600555 reg = <0xf000 0 0 0 0>;
556 ranges = <1 0 0x01000000 0 0
557 0x00001000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500558 interrupt-parent = <&i8259>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700559
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500560 i8259: interrupt-controller@20 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600561 reg = <1 0x20 2
562 1 0xa0 2
563 1 0x4d0 2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500564 interrupt-controller;
565 device_type = "interrupt-controller";
566 #address-cells = <0>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700567 #interrupt-cells = <2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500568 compatible = "chrp,iic";
569 interrupts = <9 2>;
570 interrupt-parent = <&mpic>;
571 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700572
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500573 i8042@60 {
574 #size-cells = <0>;
575 #address-cells = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600576 reg = <1 0x60 1 1 0x64 1>;
577 interrupts = <1 3 12 3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500578 interrupt-parent =
579 <&i8259>;
580
581 keyboard@0 {
582 reg = <0>;
583 compatible = "pnpPNP,303";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700584 };
585
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500586 mouse@1 {
587 reg = <1>;
588 compatible = "pnpPNP,f03";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700589 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500590 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700591
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500592 rtc@70 {
593 compatible =
594 "pnpPNP,b00";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600595 reg = <1 0x70 2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500596 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700597
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500598 gpio@400 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600599 reg = <1 0x400 0x80>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700600 };
601 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500602 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500603 };
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600604
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500605 };
606
Becky Bruce47f80a32008-12-19 16:05:12 -0600607 pci1: pcie@ffe09000 {
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500608 compatible = "fsl,mpc8641-pcie";
609 device_type = "pci";
610 #interrupt-cells = <1>;
611 #size-cells = <2>;
612 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600613 reg = <0xffe09000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600614 bus-range = <0 0xff>;
615 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600616 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600617 clock-frequency = <33333333>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500618 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600619 interrupts = <25 2>;
620 interrupt-map-mask = <0xf800 0 0 7>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500621 interrupt-map = <
622 /* IDSEL 0x0 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600623 0x0000 0 0 1 &mpic 4 1
624 0x0000 0 0 2 &mpic 5 1
625 0x0000 0 0 3 &mpic 6 1
626 0x0000 0 0 4 &mpic 7 1
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500627 >;
628 pcie@0 {
629 reg = <0 0 0 0 0>;
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600630 #size-cells = <2>;
631 #address-cells = <3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500632 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600633 ranges = <0x02000000 0x0 0xa0000000
634 0x02000000 0x0 0xa0000000
635 0x0 0x20000000
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600636
Jon Loeliger6e050d42008-01-25 16:31:01 -0600637 0x01000000 0x0 0x00000000
638 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600639 0x0 0x00010000>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500640 };
641 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600642/*
Kumar Gala54986962011-11-17 08:01:40 -0600643 * Only one of Rapid IO or PCI can be present due to HW limitations and
644 * due to the fact that the 2 now share address space in the new memory
645 * map. The most likely case is that we have PCI, so comment out the
646 * rapidio node. Leave it here for reference.
647
648 rapidio@ffec0000 {
649 reg = <0xffec0000 0x11000>;
650 compatible = "fsl,srio";
651 interrupt-parent = <&mpic>;
652 interrupts = <48 2>;
Zhang Wei56fde1f2008-04-18 13:33:42 -0700653 #address-cells = <2>;
654 #size-cells = <2>;
Kumar Gala54986962011-11-17 08:01:40 -0600655 fsl,srio-rmu-handle = <&rmu>;
656 ranges;
657
658 port1 {
659 #address-cells = <2>;
660 #size-cells = <2>;
661 cell-index = <1>;
662 ranges = <0 0 0x80000000 0 0x20000000>;
663 };
Zhang Wei56fde1f2008-04-18 13:33:42 -0700664 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600665*/
666
Jon Loeliger707ba162006-08-03 16:27:57 -0500667};