blob: 848320e4d3c4060049e6d78b1449aa24a62b8606 [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>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500117 bus-frequency = <0>;
118
Kumar Galada385782009-04-27 11:02:16 -0500119 mcm-law@0 {
120 compatible = "fsl,mcm-law";
121 reg = <0x0 0x1000>;
122 fsl,num-laws = <10>;
123 };
124
125 mcm@1000 {
126 compatible = "fsl,mpc8641-mcm", "fsl,mcm";
127 reg = <0x1000 0x1000>;
128 interrupts = <17 2>;
129 interrupt-parent = <&mpic>;
130 };
131
Jon Loeliger707ba162006-08-03 16:27:57 -0500132 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600133 #address-cells = <1>;
134 #size-cells = <0>;
135 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500136 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600137 reg = <0x3000 0x100>;
138 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600139 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500140 dfsrr;
141 };
142
143 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600144 #address-cells = <1>;
145 #size-cells = <0>;
146 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500147 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600148 reg = <0x3100 0x100>;
149 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600150 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500151 dfsrr;
152 };
153
Kumar Galadee80552008-06-27 13:45:19 -0500154 dma@21300 {
155 #address-cells = <1>;
156 #size-cells = <1>;
157 compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
158 reg = <0x21300 0x4>;
159 ranges = <0x0 0x21100 0x200>;
160 cell-index = <0>;
161 dma-channel@0 {
162 compatible = "fsl,mpc8641-dma-channel",
163 "fsl,eloplus-dma-channel";
164 reg = <0x0 0x80>;
165 cell-index = <0>;
166 interrupt-parent = <&mpic>;
167 interrupts = <20 2>;
168 };
169 dma-channel@80 {
170 compatible = "fsl,mpc8641-dma-channel",
171 "fsl,eloplus-dma-channel";
172 reg = <0x80 0x80>;
173 cell-index = <1>;
174 interrupt-parent = <&mpic>;
175 interrupts = <21 2>;
176 };
177 dma-channel@100 {
178 compatible = "fsl,mpc8641-dma-channel",
179 "fsl,eloplus-dma-channel";
180 reg = <0x100 0x80>;
181 cell-index = <2>;
182 interrupt-parent = <&mpic>;
183 interrupts = <22 2>;
184 };
185 dma-channel@180 {
186 compatible = "fsl,mpc8641-dma-channel",
187 "fsl,eloplus-dma-channel";
188 reg = <0x180 0x80>;
189 cell-index = <3>;
190 interrupt-parent = <&mpic>;
191 interrupts = <23 2>;
192 };
193 };
194
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600195 enet0: ethernet@24000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300196 #address-cells = <1>;
197 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600198 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500199 device_type = "network";
200 model = "TSEC";
201 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600202 reg = <0x24000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300203 ranges = <0x0 0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500204 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600205 interrupts = <29 2 30 2 34 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600206 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800207 tbi-handle = <&tbi0>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600208 phy-handle = <&phy0>;
Andy Flemingcc651852007-07-10 17:28:49 -0500209 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300210
211 mdio@520 {
212 #address-cells = <1>;
213 #size-cells = <0>;
214 compatible = "fsl,gianfar-mdio";
215 reg = <0x520 0x20>;
216
217 phy0: ethernet-phy@0 {
218 interrupt-parent = <&mpic>;
219 interrupts = <10 1>;
220 reg = <0>;
221 device_type = "ethernet-phy";
222 };
223 phy1: ethernet-phy@1 {
224 interrupt-parent = <&mpic>;
225 interrupts = <10 1>;
226 reg = <1>;
227 device_type = "ethernet-phy";
228 };
229 phy2: ethernet-phy@2 {
230 interrupt-parent = <&mpic>;
231 interrupts = <10 1>;
232 reg = <2>;
233 device_type = "ethernet-phy";
234 };
235 phy3: ethernet-phy@3 {
236 interrupt-parent = <&mpic>;
237 interrupts = <10 1>;
238 reg = <3>;
239 device_type = "ethernet-phy";
240 };
241 tbi0: tbi-phy@11 {
242 reg = <0x11>;
243 device_type = "tbi-phy";
244 };
245 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500246 };
247
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600248 enet1: ethernet@25000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300249 #address-cells = <1>;
250 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600251 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500252 device_type = "network";
253 model = "TSEC";
254 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600255 reg = <0x25000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300256 ranges = <0x0 0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500257 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600258 interrupts = <35 2 36 2 40 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600259 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800260 tbi-handle = <&tbi1>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600261 phy-handle = <&phy1>;
Andy Flemingcc651852007-07-10 17:28:49 -0500262 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300263
264 mdio@520 {
265 #address-cells = <1>;
266 #size-cells = <0>;
267 compatible = "fsl,gianfar-tbi";
268 reg = <0x520 0x20>;
269
270 tbi1: tbi-phy@11 {
271 reg = <0x11>;
272 device_type = "tbi-phy";
273 };
274 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500275 };
276
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600277 enet2: ethernet@26000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300278 #address-cells = <1>;
279 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600280 cell-index = <2>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500281 device_type = "network";
282 model = "TSEC";
283 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600284 reg = <0x26000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300285 ranges = <0x0 0x26000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500286 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600287 interrupts = <31 2 32 2 33 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600288 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800289 tbi-handle = <&tbi2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600290 phy-handle = <&phy2>;
Andy Flemingcc651852007-07-10 17:28:49 -0500291 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300292
293 mdio@520 {
294 #address-cells = <1>;
295 #size-cells = <0>;
296 compatible = "fsl,gianfar-tbi";
297 reg = <0x520 0x20>;
298
299 tbi2: tbi-phy@11 {
300 reg = <0x11>;
301 device_type = "tbi-phy";
302 };
303 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500304 };
305
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600306 enet3: ethernet@27000 {
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300307 #address-cells = <1>;
308 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600309 cell-index = <3>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500310 device_type = "network";
311 model = "TSEC";
312 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600313 reg = <0x27000 0x1000>;
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300314 ranges = <0x0 0x27000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500315 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600316 interrupts = <37 2 38 2 39 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600317 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800318 tbi-handle = <&tbi3>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600319 phy-handle = <&phy3>;
Andy Flemingcc651852007-07-10 17:28:49 -0500320 phy-connection-type = "rgmii-id";
Anton Vorontsovd8bc55f2009-03-19 21:01:51 +0300321
322 mdio@520 {
323 #address-cells = <1>;
324 #size-cells = <0>;
325 compatible = "fsl,gianfar-tbi";
326 reg = <0x520 0x20>;
327
328 tbi3: tbi-phy@11 {
329 reg = <0x11>;
330 device_type = "tbi-phy";
331 };
332 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500333 };
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600334
335 serial0: serial@4500 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600336 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500337 device_type = "serial";
338 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600339 reg = <0x4500 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500340 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600341 interrupts = <42 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600342 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500343 };
344
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600345 serial1: serial@4600 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600346 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500347 device_type = "serial";
348 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600349 reg = <0x4600 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500350 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600351 interrupts = <28 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600352 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500353 };
354
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500355 mpic: pic@40000 {
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500356 interrupt-controller;
357 #address-cells = <0>;
358 #interrupt-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600359 reg = <0x40000 0x40000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500360 compatible = "chrp,open-pic";
361 device_type = "open-pic";
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500362 };
Kumar Galae1c15752007-10-04 01:04:57 -0500363
364 global-utilities@e0000 {
365 compatible = "fsl,mpc8641-guts";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600366 reg = <0xe0000 0x1000>;
Kumar Galae1c15752007-10-04 01:04:57 -0500367 fsl,has-rstcr;
368 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500369 };
370
Becky Bruce47f80a32008-12-19 16:05:12 -0600371 pci0: pcie@ffe08000 {
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500372 compatible = "fsl,mpc8641-pcie";
373 device_type = "pci";
374 #interrupt-cells = <1>;
375 #size-cells = <2>;
376 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600377 reg = <0xffe08000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600378 bus-range = <0x0 0xff>;
379 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600380 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600381 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500382 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600383 interrupts = <24 2>;
384 interrupt-map-mask = <0xff00 0 0 7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500385 interrupt-map = <
Kumar Galabebfa062007-11-19 23:36:23 -0600386 /* IDSEL 0x11 func 0 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600387 0x8800 0 0 1 &mpic 2 1
388 0x8800 0 0 2 &mpic 3 1
389 0x8800 0 0 3 &mpic 4 1
390 0x8800 0 0 4 &mpic 1 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500391
Kumar Galabebfa062007-11-19 23:36:23 -0600392 /* IDSEL 0x11 func 1 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600393 0x8900 0 0 1 &mpic 2 1
394 0x8900 0 0 2 &mpic 3 1
395 0x8900 0 0 3 &mpic 4 1
396 0x8900 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600397
398 /* IDSEL 0x11 func 2 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600399 0x8a00 0 0 1 &mpic 2 1
400 0x8a00 0 0 2 &mpic 3 1
401 0x8a00 0 0 3 &mpic 4 1
402 0x8a00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600403
404 /* IDSEL 0x11 func 3 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600405 0x8b00 0 0 1 &mpic 2 1
406 0x8b00 0 0 2 &mpic 3 1
407 0x8b00 0 0 3 &mpic 4 1
408 0x8b00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600409
410 /* IDSEL 0x11 func 4 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600411 0x8c00 0 0 1 &mpic 2 1
412 0x8c00 0 0 2 &mpic 3 1
413 0x8c00 0 0 3 &mpic 4 1
414 0x8c00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600415
416 /* IDSEL 0x11 func 5 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600417 0x8d00 0 0 1 &mpic 2 1
418 0x8d00 0 0 2 &mpic 3 1
419 0x8d00 0 0 3 &mpic 4 1
420 0x8d00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600421
422 /* IDSEL 0x11 func 6 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600423 0x8e00 0 0 1 &mpic 2 1
424 0x8e00 0 0 2 &mpic 3 1
425 0x8e00 0 0 3 &mpic 4 1
426 0x8e00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600427
428 /* IDSEL 0x11 func 7 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600429 0x8f00 0 0 1 &mpic 2 1
430 0x8f00 0 0 2 &mpic 3 1
431 0x8f00 0 0 3 &mpic 4 1
432 0x8f00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600433
434 /* IDSEL 0x12 func 0 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600435 0x9000 0 0 1 &mpic 3 1
436 0x9000 0 0 2 &mpic 4 1
437 0x9000 0 0 3 &mpic 1 1
438 0x9000 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600439
440 /* IDSEL 0x12 func 1 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600441 0x9100 0 0 1 &mpic 3 1
442 0x9100 0 0 2 &mpic 4 1
443 0x9100 0 0 3 &mpic 1 1
444 0x9100 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600445
446 /* IDSEL 0x12 func 2 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600447 0x9200 0 0 1 &mpic 3 1
448 0x9200 0 0 2 &mpic 4 1
449 0x9200 0 0 3 &mpic 1 1
450 0x9200 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600451
452 /* IDSEL 0x12 func 3 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600453 0x9300 0 0 1 &mpic 3 1
454 0x9300 0 0 2 &mpic 4 1
455 0x9300 0 0 3 &mpic 1 1
456 0x9300 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600457
458 /* IDSEL 0x12 func 4 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600459 0x9400 0 0 1 &mpic 3 1
460 0x9400 0 0 2 &mpic 4 1
461 0x9400 0 0 3 &mpic 1 1
462 0x9400 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600463
464 /* IDSEL 0x12 func 5 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600465 0x9500 0 0 1 &mpic 3 1
466 0x9500 0 0 2 &mpic 4 1
467 0x9500 0 0 3 &mpic 1 1
468 0x9500 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600469
470 /* IDSEL 0x12 func 6 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600471 0x9600 0 0 1 &mpic 3 1
472 0x9600 0 0 2 &mpic 4 1
473 0x9600 0 0 3 &mpic 1 1
474 0x9600 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600475
476 /* IDSEL 0x12 func 7 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600477 0x9700 0 0 1 &mpic 3 1
478 0x9700 0 0 2 &mpic 4 1
479 0x9700 0 0 3 &mpic 1 1
480 0x9700 0 0 4 &mpic 2 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500481
482 // IDSEL 0x1c USB
Jon Loeliger6e050d42008-01-25 16:31:01 -0600483 0xe000 0 0 1 &i8259 12 2
484 0xe100 0 0 2 &i8259 9 2
485 0xe200 0 0 3 &i8259 10 2
Kumar Galaba1616d2008-07-31 17:06:31 -0500486 0xe300 0 0 4 &i8259 11 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500487
488 // IDSEL 0x1d Audio
Jon Loeliger6e050d42008-01-25 16:31:01 -0600489 0xe800 0 0 1 &i8259 6 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500490
491 // IDSEL 0x1e Legacy
Jon Loeliger6e050d42008-01-25 16:31:01 -0600492 0xf000 0 0 1 &i8259 7 2
493 0xf100 0 0 1 &i8259 7 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500494
495 // IDSEL 0x1f IDE/SATA
Jon Loeliger6e050d42008-01-25 16:31:01 -0600496 0xf800 0 0 1 &i8259 14 2
497 0xf900 0 0 1 &i8259 5 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500498 >;
499
500 pcie@0 {
501 reg = <0 0 0 0 0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500502 #size-cells = <2>;
503 #address-cells = <3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500504 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600505 ranges = <0x02000000 0x0 0x80000000
506 0x02000000 0x0 0x80000000
507 0x0 0x20000000
Jon Loeliger707ba162006-08-03 16:27:57 -0500508
Jon Loeliger6e050d42008-01-25 16:31:01 -0600509 0x01000000 0x0 0x00000000
510 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600511 0x0 0x00010000>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700512 uli1575@0 {
513 reg = <0 0 0 0 0>;
514 #size-cells = <2>;
515 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600516 ranges = <0x02000000 0x0 0x80000000
517 0x02000000 0x0 0x80000000
518 0x0 0x20000000
519 0x01000000 0x0 0x00000000
520 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600521 0x0 0x00010000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500522 isa@1e {
523 device_type = "isa";
524 #interrupt-cells = <2>;
525 #size-cells = <1>;
526 #address-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600527 reg = <0xf000 0 0 0 0>;
528 ranges = <1 0 0x01000000 0 0
529 0x00001000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500530 interrupt-parent = <&i8259>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700531
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500532 i8259: interrupt-controller@20 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600533 reg = <1 0x20 2
534 1 0xa0 2
535 1 0x4d0 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500536 interrupt-controller;
537 device_type = "interrupt-controller";
538 #address-cells = <0>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700539 #interrupt-cells = <2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500540 compatible = "chrp,iic";
541 interrupts = <9 2>;
542 interrupt-parent = <&mpic>;
543 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700544
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500545 i8042@60 {
546 #size-cells = <0>;
547 #address-cells = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600548 reg = <1 0x60 1 1 0x64 1>;
549 interrupts = <1 3 12 3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500550 interrupt-parent =
551 <&i8259>;
552
553 keyboard@0 {
554 reg = <0>;
555 compatible = "pnpPNP,303";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700556 };
557
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500558 mouse@1 {
559 reg = <1>;
560 compatible = "pnpPNP,f03";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700561 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500562 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700563
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500564 rtc@70 {
565 compatible =
566 "pnpPNP,b00";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600567 reg = <1 0x70 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500568 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700569
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500570 gpio@400 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600571 reg = <1 0x400 0x80>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700572 };
573 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500574 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500575 };
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600576
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500577 };
578
Becky Bruce47f80a32008-12-19 16:05:12 -0600579 pci1: pcie@ffe09000 {
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500580 compatible = "fsl,mpc8641-pcie";
581 device_type = "pci";
582 #interrupt-cells = <1>;
583 #size-cells = <2>;
584 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600585 reg = <0xffe09000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600586 bus-range = <0 0xff>;
587 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600588 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600589 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500590 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600591 interrupts = <25 2>;
592 interrupt-map-mask = <0xf800 0 0 7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500593 interrupt-map = <
594 /* IDSEL 0x0 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600595 0x0000 0 0 1 &mpic 4 1
596 0x0000 0 0 2 &mpic 5 1
597 0x0000 0 0 3 &mpic 6 1
598 0x0000 0 0 4 &mpic 7 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500599 >;
600 pcie@0 {
601 reg = <0 0 0 0 0>;
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600602 #size-cells = <2>;
603 #address-cells = <3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500604 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600605 ranges = <0x02000000 0x0 0xa0000000
606 0x02000000 0x0 0xa0000000
607 0x0 0x20000000
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600608
Jon Loeliger6e050d42008-01-25 16:31:01 -0600609 0x01000000 0x0 0x00000000
610 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600611 0x0 0x00010000>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500612 };
613 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600614/*
615 rapidio0: rapidio@ffec0000 {
Zhang Wei56fde1f2008-04-18 13:33:42 -0700616 #address-cells = <2>;
617 #size-cells = <2>;
618 compatible = "fsl,rapidio-delta";
Becky Bruce47f80a32008-12-19 16:05:12 -0600619 reg = <0xffec0000 0x20000>;
620 ranges = <0 0 0x80000000 0 0x20000000>;
Zhang Wei56fde1f2008-04-18 13:33:42 -0700621 interrupt-parent = <&mpic>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600622 // err_irq bell_outb_irq bell_inb_irq
623 // msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq
Zhang Wei56fde1f2008-04-18 13:33:42 -0700624 interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>;
625 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600626*/
627
Jon Loeliger707ba162006-08-03 16:27:57 -0500628};