blob: 1c03060dd0b8559d09c2c7b7d9caad6bd7d70f7f [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>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300214 };
215 phy1: ethernet-phy@1 {
216 interrupt-parent = <&mpic>;
217 interrupts = <10 1>;
218 reg = <1>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300219 };
220 phy2: ethernet-phy@2 {
221 interrupt-parent = <&mpic>;
222 interrupts = <10 1>;
223 reg = <2>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300224 };
225 phy3: ethernet-phy@3 {
226 interrupt-parent = <&mpic>;
227 interrupts = <10 1>;
228 reg = <3>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300229 };
230 tbi0: tbi-phy@11 {
231 reg = <0x11>;
232 device_type = "tbi-phy";
233 };
234 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500235 };
236
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600237 enet1: ethernet@25000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300238 #address-cells = <1>;
239 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600240 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500241 device_type = "network";
242 model = "TSEC";
243 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600244 reg = <0x25000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300245 ranges = <0x0 0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500246 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600247 interrupts = <35 2 36 2 40 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600248 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800249 tbi-handle = <&tbi1>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600250 phy-handle = <&phy1>;
Andy Flemingcc651852007-07-10 17:28:49 -0500251 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300252
253 mdio@520 {
254 #address-cells = <1>;
255 #size-cells = <0>;
256 compatible = "fsl,gianfar-tbi";
257 reg = <0x520 0x20>;
258
259 tbi1: tbi-phy@11 {
260 reg = <0x11>;
261 device_type = "tbi-phy";
262 };
263 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500264 };
265
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600266 enet2: ethernet@26000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300267 #address-cells = <1>;
268 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600269 cell-index = <2>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500270 device_type = "network";
271 model = "TSEC";
272 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600273 reg = <0x26000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300274 ranges = <0x0 0x26000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500275 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600276 interrupts = <31 2 32 2 33 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600277 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800278 tbi-handle = <&tbi2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600279 phy-handle = <&phy2>;
Andy Flemingcc651852007-07-10 17:28:49 -0500280 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300281
282 mdio@520 {
283 #address-cells = <1>;
284 #size-cells = <0>;
285 compatible = "fsl,gianfar-tbi";
286 reg = <0x520 0x20>;
287
288 tbi2: tbi-phy@11 {
289 reg = <0x11>;
290 device_type = "tbi-phy";
291 };
292 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500293 };
294
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600295 enet3: ethernet@27000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300296 #address-cells = <1>;
297 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600298 cell-index = <3>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500299 device_type = "network";
300 model = "TSEC";
301 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600302 reg = <0x27000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300303 ranges = <0x0 0x27000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500304 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600305 interrupts = <37 2 38 2 39 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600306 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800307 tbi-handle = <&tbi3>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600308 phy-handle = <&phy3>;
Andy Flemingcc651852007-07-10 17:28:49 -0500309 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300310
311 mdio@520 {
312 #address-cells = <1>;
313 #size-cells = <0>;
314 compatible = "fsl,gianfar-tbi";
315 reg = <0x520 0x20>;
316
317 tbi3: tbi-phy@11 {
318 reg = <0x11>;
319 device_type = "tbi-phy";
320 };
321 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500322 };
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600323
324 serial0: serial@4500 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600325 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500326 device_type = "serial";
Kumar Galaf706bed2011-11-28 13:58:53 -0600327 compatible = "fsl,ns16550", "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600328 reg = <0x4500 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500329 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600330 interrupts = <42 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600331 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500332 };
333
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600334 serial1: serial@4600 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600335 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500336 device_type = "serial";
Kumar Galaf706bed2011-11-28 13:58:53 -0600337 compatible = "fsl,ns16550", "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600338 reg = <0x4600 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500339 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600340 interrupts = <28 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600341 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500342 };
343
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500344 mpic: pic@40000 {
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500345 interrupt-controller;
346 #address-cells = <0>;
347 #interrupt-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600348 reg = <0x40000 0x40000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500349 compatible = "chrp,open-pic";
350 device_type = "open-pic";
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500351 };
Kumar Galae1c15752007-10-04 01:04:57 -0500352
Kumar Gala54986962011-11-17 08:01:40 -0600353 rmu: rmu@d3000 {
354 #address-cells = <1>;
355 #size-cells = <1>;
356 compatible = "fsl,srio-rmu";
357 reg = <0xd3000 0x500>;
358 ranges = <0x0 0xd3000 0x500>;
359
360 message-unit@0 {
361 compatible = "fsl,srio-msg-unit";
362 reg = <0x0 0x100>;
363 interrupts = <
364 53 2 /* msg1_tx_irq */
365 54 2>;/* msg1_rx_irq */
366 };
367 message-unit@100 {
368 compatible = "fsl,srio-msg-unit";
369 reg = <0x100 0x100>;
370 interrupts = <
371 55 2 /* msg2_tx_irq */
372 56 2>;/* msg2_rx_irq */
373 };
374 doorbell-unit@400 {
375 compatible = "fsl,srio-dbell-unit";
376 reg = <0x400 0x80>;
377 interrupts = <
378 49 2 /* bell_outb_irq */
379 50 2>;/* bell_inb_irq */
380 };
381 port-write-unit@4e0 {
382 compatible = "fsl,srio-port-write-unit";
383 reg = <0x4e0 0x20>;
384 interrupts = <48 2>;
385 };
386 };
387
Kumar Galae1c15752007-10-04 01:04:57 -0500388 global-utilities@e0000 {
389 compatible = "fsl,mpc8641-guts";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600390 reg = <0xe0000 0x1000>;
Kumar Galae1c15752007-10-04 01:04:57 -0500391 fsl,has-rstcr;
392 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500393 };
394
Becky Bruce47f80a32008-12-19 16:05:12 -0600395 pci0: pcie@ffe08000 {
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500396 compatible = "fsl,mpc8641-pcie";
397 device_type = "pci";
398 #interrupt-cells = <1>;
399 #size-cells = <2>;
400 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600401 reg = <0xffe08000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600402 bus-range = <0x0 0xff>;
403 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600404 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600405 clock-frequency = <33333333>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500406 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600407 interrupts = <24 2>;
408 interrupt-map-mask = <0xff00 0 0 7>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500409 interrupt-map = <
Kumar Galabebfa062007-11-19 23:36:23 -0600410 /* IDSEL 0x11 func 0 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600411 0x8800 0 0 1 &mpic 2 1
412 0x8800 0 0 2 &mpic 3 1
413 0x8800 0 0 3 &mpic 4 1
414 0x8800 0 0 4 &mpic 1 1
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500415
Kumar Galabebfa062007-11-19 23:36:23 -0600416 /* IDSEL 0x11 func 1 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600417 0x8900 0 0 1 &mpic 2 1
418 0x8900 0 0 2 &mpic 3 1
419 0x8900 0 0 3 &mpic 4 1
420 0x8900 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600421
422 /* IDSEL 0x11 func 2 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600423 0x8a00 0 0 1 &mpic 2 1
424 0x8a00 0 0 2 &mpic 3 1
425 0x8a00 0 0 3 &mpic 4 1
426 0x8a00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600427
428 /* IDSEL 0x11 func 3 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600429 0x8b00 0 0 1 &mpic 2 1
430 0x8b00 0 0 2 &mpic 3 1
431 0x8b00 0 0 3 &mpic 4 1
432 0x8b00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600433
434 /* IDSEL 0x11 func 4 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600435 0x8c00 0 0 1 &mpic 2 1
436 0x8c00 0 0 2 &mpic 3 1
437 0x8c00 0 0 3 &mpic 4 1
438 0x8c00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600439
440 /* IDSEL 0x11 func 5 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600441 0x8d00 0 0 1 &mpic 2 1
442 0x8d00 0 0 2 &mpic 3 1
443 0x8d00 0 0 3 &mpic 4 1
444 0x8d00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600445
446 /* IDSEL 0x11 func 6 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600447 0x8e00 0 0 1 &mpic 2 1
448 0x8e00 0 0 2 &mpic 3 1
449 0x8e00 0 0 3 &mpic 4 1
450 0x8e00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600451
452 /* IDSEL 0x11 func 7 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600453 0x8f00 0 0 1 &mpic 2 1
454 0x8f00 0 0 2 &mpic 3 1
455 0x8f00 0 0 3 &mpic 4 1
456 0x8f00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600457
458 /* IDSEL 0x12 func 0 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600459 0x9000 0 0 1 &mpic 3 1
460 0x9000 0 0 2 &mpic 4 1
461 0x9000 0 0 3 &mpic 1 1
462 0x9000 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600463
464 /* IDSEL 0x12 func 1 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600465 0x9100 0 0 1 &mpic 3 1
466 0x9100 0 0 2 &mpic 4 1
467 0x9100 0 0 3 &mpic 1 1
468 0x9100 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600469
470 /* IDSEL 0x12 func 2 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600471 0x9200 0 0 1 &mpic 3 1
472 0x9200 0 0 2 &mpic 4 1
473 0x9200 0 0 3 &mpic 1 1
474 0x9200 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600475
476 /* IDSEL 0x12 func 3 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600477 0x9300 0 0 1 &mpic 3 1
478 0x9300 0 0 2 &mpic 4 1
479 0x9300 0 0 3 &mpic 1 1
480 0x9300 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600481
482 /* IDSEL 0x12 func 4 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600483 0x9400 0 0 1 &mpic 3 1
484 0x9400 0 0 2 &mpic 4 1
485 0x9400 0 0 3 &mpic 1 1
486 0x9400 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600487
488 /* IDSEL 0x12 func 5 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600489 0x9500 0 0 1 &mpic 3 1
490 0x9500 0 0 2 &mpic 4 1
491 0x9500 0 0 3 &mpic 1 1
492 0x9500 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600493
494 /* IDSEL 0x12 func 6 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600495 0x9600 0 0 1 &mpic 3 1
496 0x9600 0 0 2 &mpic 4 1
497 0x9600 0 0 3 &mpic 1 1
498 0x9600 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600499
500 /* IDSEL 0x12 func 7 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600501 0x9700 0 0 1 &mpic 3 1
502 0x9700 0 0 2 &mpic 4 1
503 0x9700 0 0 3 &mpic 1 1
504 0x9700 0 0 4 &mpic 2 1
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500505
506 // IDSEL 0x1c USB
Jon Loeliger6e050d42008-01-25 16:31:01 -0600507 0xe000 0 0 1 &i8259 12 2
508 0xe100 0 0 2 &i8259 9 2
509 0xe200 0 0 3 &i8259 10 2
Kumar Galaba1616d2008-07-31 17:06:31 -0500510 0xe300 0 0 4 &i8259 11 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500511
512 // IDSEL 0x1d Audio
Jon Loeliger6e050d42008-01-25 16:31:01 -0600513 0xe800 0 0 1 &i8259 6 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500514
515 // IDSEL 0x1e Legacy
Jon Loeliger6e050d42008-01-25 16:31:01 -0600516 0xf000 0 0 1 &i8259 7 2
517 0xf100 0 0 1 &i8259 7 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500518
519 // IDSEL 0x1f IDE/SATA
Jon Loeliger6e050d42008-01-25 16:31:01 -0600520 0xf800 0 0 1 &i8259 14 2
521 0xf900 0 0 1 &i8259 5 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500522 >;
523
524 pcie@0 {
525 reg = <0 0 0 0 0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500526 #size-cells = <2>;
527 #address-cells = <3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500528 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600529 ranges = <0x02000000 0x0 0x80000000
530 0x02000000 0x0 0x80000000
531 0x0 0x20000000
Jon Loeliger707ba162006-08-03 16:27:57 -0500532
Jon Loeliger6e050d42008-01-25 16:31:01 -0600533 0x01000000 0x0 0x00000000
534 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600535 0x0 0x00010000>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700536 uli1575@0 {
537 reg = <0 0 0 0 0>;
538 #size-cells = <2>;
539 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600540 ranges = <0x02000000 0x0 0x80000000
541 0x02000000 0x0 0x80000000
542 0x0 0x20000000
543 0x01000000 0x0 0x00000000
544 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600545 0x0 0x00010000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500546 isa@1e {
547 device_type = "isa";
548 #interrupt-cells = <2>;
549 #size-cells = <1>;
550 #address-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600551 reg = <0xf000 0 0 0 0>;
552 ranges = <1 0 0x01000000 0 0
553 0x00001000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500554 interrupt-parent = <&i8259>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700555
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500556 i8259: interrupt-controller@20 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600557 reg = <1 0x20 2
558 1 0xa0 2
559 1 0x4d0 2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500560 interrupt-controller;
561 device_type = "interrupt-controller";
562 #address-cells = <0>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700563 #interrupt-cells = <2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500564 compatible = "chrp,iic";
565 interrupts = <9 2>;
566 interrupt-parent = <&mpic>;
567 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700568
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500569 i8042@60 {
570 #size-cells = <0>;
571 #address-cells = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600572 reg = <1 0x60 1 1 0x64 1>;
573 interrupts = <1 3 12 3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500574 interrupt-parent =
575 <&i8259>;
576
577 keyboard@0 {
578 reg = <0>;
579 compatible = "pnpPNP,303";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700580 };
581
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500582 mouse@1 {
583 reg = <1>;
584 compatible = "pnpPNP,f03";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700585 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500586 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700587
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500588 rtc@70 {
589 compatible =
590 "pnpPNP,b00";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600591 reg = <1 0x70 2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500592 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700593
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500594 gpio@400 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600595 reg = <1 0x400 0x80>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700596 };
597 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500598 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500599 };
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600600
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500601 };
602
Becky Bruce47f80a32008-12-19 16:05:12 -0600603 pci1: pcie@ffe09000 {
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500604 compatible = "fsl,mpc8641-pcie";
605 device_type = "pci";
606 #interrupt-cells = <1>;
607 #size-cells = <2>;
608 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600609 reg = <0xffe09000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600610 bus-range = <0 0xff>;
611 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600612 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600613 clock-frequency = <33333333>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500614 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600615 interrupts = <25 2>;
616 interrupt-map-mask = <0xf800 0 0 7>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500617 interrupt-map = <
618 /* IDSEL 0x0 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600619 0x0000 0 0 1 &mpic 4 1
620 0x0000 0 0 2 &mpic 5 1
621 0x0000 0 0 3 &mpic 6 1
622 0x0000 0 0 4 &mpic 7 1
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500623 >;
624 pcie@0 {
625 reg = <0 0 0 0 0>;
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600626 #size-cells = <2>;
627 #address-cells = <3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500628 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600629 ranges = <0x02000000 0x0 0xa0000000
630 0x02000000 0x0 0xa0000000
631 0x0 0x20000000
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600632
Jon Loeliger6e050d42008-01-25 16:31:01 -0600633 0x01000000 0x0 0x00000000
634 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600635 0x0 0x00010000>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500636 };
637 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600638/*
Kumar Gala54986962011-11-17 08:01:40 -0600639 * Only one of Rapid IO or PCI can be present due to HW limitations and
640 * due to the fact that the 2 now share address space in the new memory
641 * map. The most likely case is that we have PCI, so comment out the
642 * rapidio node. Leave it here for reference.
643
644 rapidio@ffec0000 {
645 reg = <0xffec0000 0x11000>;
646 compatible = "fsl,srio";
647 interrupt-parent = <&mpic>;
648 interrupts = <48 2>;
Zhang Wei56fde1f2008-04-18 13:33:42 -0700649 #address-cells = <2>;
650 #size-cells = <2>;
Kumar Gala54986962011-11-17 08:01:40 -0600651 fsl,srio-rmu-handle = <&rmu>;
652 ranges;
653
654 port1 {
655 #address-cells = <2>;
656 #size-cells = <2>;
657 cell-index = <1>;
658 ranges = <0 0 0x80000000 0 0x20000000>;
659 };
Zhang Wei56fde1f2008-04-18 13:33:42 -0700660 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600661*/
662
Jon Loeliger707ba162006-08-03 16:27:57 -0500663};