blob: 35d5e248ccd7939768ce2bd14e8a54cc5101353f [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;
Zhang Wei56fde1f2008-04-18 13:33:42 -070029 rapidio0 = &rapidio0;
Jon Loeliger1c1d1672007-12-05 11:32:50 -060030 };
31
Jon Loeliger707ba162006-08-03 16:27:57 -050032 cpus {
Jon Loeliger707ba162006-08-03 16:27:57 -050033 #address-cells = <1>;
34 #size-cells = <0>;
35
36 PowerPC,8641@0 {
37 device_type = "cpu";
38 reg = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060039 d-cache-line-size = <32>;
40 i-cache-line-size = <32>;
41 d-cache-size = <32768>; // L1
42 i-cache-size = <32768>; // L1
43 timebase-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050044 bus-frequency = <0>; // From uboot
45 clock-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050046 };
47 PowerPC,8641@1 {
48 device_type = "cpu";
49 reg = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060050 d-cache-line-size = <32>;
51 i-cache-line-size = <32>;
52 d-cache-size = <32768>;
53 i-cache-size = <32768>;
54 timebase-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050055 bus-frequency = <0>; // From uboot
56 clock-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050057 };
58 };
59
60 memory {
61 device_type = "memory";
Jon Loeliger6e050d42008-01-25 16:31:01 -060062 reg = <0x00000000 0x40000000>; // 1G at 0x0
Jon Loeliger707ba162006-08-03 16:27:57 -050063 };
64
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070065 localbus@f8005000 {
66 #address-cells = <2>;
67 #size-cells = <1>;
68 compatible = "fsl,mpc8641-localbus", "simple-bus";
Jon Loeliger6e050d42008-01-25 16:31:01 -060069 reg = <0xf8005000 0x1000>;
70 interrupts = <19 2>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070071 interrupt-parent = <&mpic>;
72
Jon Loeliger6e050d42008-01-25 16:31:01 -060073 ranges = <0 0 0xff800000 0x00800000
74 1 0 0xfe000000 0x01000000
75 2 0 0xf8200000 0x00100000
76 3 0 0xf8100000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070077
78 flash@0,0 {
79 compatible = "cfi-flash";
Jon Loeliger6e050d42008-01-25 16:31:01 -060080 reg = <0 0 0x00800000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070081 bank-width = <2>;
82 device-width = <2>;
83 #address-cells = <1>;
84 #size-cells = <1>;
85 partition@0 {
86 label = "kernel";
Jon Loeliger6e050d42008-01-25 16:31:01 -060087 reg = <0x00000000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070088 };
89 partition@300000 {
90 label = "firmware b";
Jon Loeliger6e050d42008-01-25 16:31:01 -060091 reg = <0x00300000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070092 read-only;
93 };
94 partition@400000 {
95 label = "fs";
Jon Loeliger6e050d42008-01-25 16:31:01 -060096 reg = <0x00400000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070097 };
98 partition@700000 {
99 label = "firmware a";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600100 reg = <0x00700000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700101 read-only;
102 };
103 };
104 };
105
Jon Loeliger707ba162006-08-03 16:27:57 -0500106 soc8641@f8000000 {
107 #address-cells = <1>;
108 #size-cells = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500109 device_type = "soc";
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700110 compatible = "simple-bus";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600111 ranges = <0x00000000 0xf8000000 0x00100000>;
112 reg = <0xf8000000 0x00001000>; // CCSRBAR
Jon Loeliger707ba162006-08-03 16:27:57 -0500113 bus-frequency = <0>;
114
115 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600116 #address-cells = <1>;
117 #size-cells = <0>;
118 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500119 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600120 reg = <0x3000 0x100>;
121 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600122 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500123 dfsrr;
124 };
125
126 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600127 #address-cells = <1>;
128 #size-cells = <0>;
129 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500130 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600131 reg = <0x3100 0x100>;
132 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600133 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500134 dfsrr;
135 };
136
Kumar Galadee80552008-06-27 13:45:19 -0500137 dma@21300 {
138 #address-cells = <1>;
139 #size-cells = <1>;
140 compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
141 reg = <0x21300 0x4>;
142 ranges = <0x0 0x21100 0x200>;
143 cell-index = <0>;
144 dma-channel@0 {
145 compatible = "fsl,mpc8641-dma-channel",
146 "fsl,eloplus-dma-channel";
147 reg = <0x0 0x80>;
148 cell-index = <0>;
149 interrupt-parent = <&mpic>;
150 interrupts = <20 2>;
151 };
152 dma-channel@80 {
153 compatible = "fsl,mpc8641-dma-channel",
154 "fsl,eloplus-dma-channel";
155 reg = <0x80 0x80>;
156 cell-index = <1>;
157 interrupt-parent = <&mpic>;
158 interrupts = <21 2>;
159 };
160 dma-channel@100 {
161 compatible = "fsl,mpc8641-dma-channel",
162 "fsl,eloplus-dma-channel";
163 reg = <0x100 0x80>;
164 cell-index = <2>;
165 interrupt-parent = <&mpic>;
166 interrupts = <22 2>;
167 };
168 dma-channel@180 {
169 compatible = "fsl,mpc8641-dma-channel",
170 "fsl,eloplus-dma-channel";
171 reg = <0x180 0x80>;
172 cell-index = <3>;
173 interrupt-parent = <&mpic>;
174 interrupts = <23 2>;
175 };
176 };
177
Jon Loeliger707ba162006-08-03 16:27:57 -0500178 mdio@24520 {
179 #address-cells = <1>;
180 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600181 compatible = "fsl,gianfar-mdio";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600182 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600183
Kumar Gala6d9065d2007-02-17 16:09:56 -0600184 phy0: ethernet-phy@0 {
185 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600186 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500187 reg = <0>;
188 device_type = "ethernet-phy";
189 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600190 phy1: ethernet-phy@1 {
191 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600192 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500193 reg = <1>;
194 device_type = "ethernet-phy";
195 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600196 phy2: ethernet-phy@2 {
197 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600198 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500199 reg = <2>;
200 device_type = "ethernet-phy";
201 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600202 phy3: ethernet-phy@3 {
203 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600204 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500205 reg = <3>;
206 device_type = "ethernet-phy";
207 };
Andy Flemingb31a1d82008-12-16 15:29:15 -0800208 tbi0: tbi-phy@11 {
209 reg = <0x11>;
210 device_type = "tbi-phy";
211 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500212 };
213
Andy Flemingb31a1d82008-12-16 15:29:15 -0800214 mdio@25520 {
215 #address-cells = <1>;
216 #size-cells = <0>;
217 compatible = "fsl,gianfar-tbi";
218 reg = <0x25520 0x20>;
219
220 tbi1: tbi-phy@11 {
221 reg = <0x11>;
222 device_type = "tbi-phy";
223 };
224 };
225
226 mdio@26520 {
227 #address-cells = <1>;
228 #size-cells = <0>;
229 compatible = "fsl,gianfar-tbi";
230 reg = <0x26520 0x20>;
231
232 tbi2: tbi-phy@11 {
233 reg = <0x11>;
234 device_type = "tbi-phy";
235 };
236 };
237
238 mdio@27520 {
239 #address-cells = <1>;
240 #size-cells = <0>;
241 compatible = "fsl,gianfar-tbi";
242 reg = <0x27520 0x20>;
243
244 tbi3: tbi-phy@11 {
245 reg = <0x11>;
246 device_type = "tbi-phy";
247 };
248 };
249
250
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600251 enet0: ethernet@24000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600252 cell-index = <0>;
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 = <0x24000 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 = <29 2 30 2 34 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600259 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800260 tbi-handle = <&tbi0>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600261 phy-handle = <&phy0>;
Andy Flemingcc651852007-07-10 17:28:49 -0500262 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500263 };
264
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600265 enet1: ethernet@25000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600266 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500267 device_type = "network";
268 model = "TSEC";
269 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600270 reg = <0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500271 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600272 interrupts = <35 2 36 2 40 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600273 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800274 tbi-handle = <&tbi1>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600275 phy-handle = <&phy1>;
Andy Flemingcc651852007-07-10 17:28:49 -0500276 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500277 };
278
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600279 enet2: ethernet@26000 {
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>;
Timur Tabieae98262007-06-22 14:33:15 -0500285 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600286 interrupts = <31 2 32 2 33 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600287 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800288 tbi-handle = <&tbi2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600289 phy-handle = <&phy2>;
Andy Flemingcc651852007-07-10 17:28:49 -0500290 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500291 };
292
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600293 enet3: ethernet@27000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600294 cell-index = <3>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500295 device_type = "network";
296 model = "TSEC";
297 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600298 reg = <0x27000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500299 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600300 interrupts = <37 2 38 2 39 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600301 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800302 tbi-handle = <&tbi3>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600303 phy-handle = <&phy3>;
Andy Flemingcc651852007-07-10 17:28:49 -0500304 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500305 };
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600306
307 serial0: serial@4500 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600308 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500309 device_type = "serial";
310 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600311 reg = <0x4500 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500312 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600313 interrupts = <42 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600314 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500315 };
316
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600317 serial1: serial@4600 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600318 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500319 device_type = "serial";
320 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600321 reg = <0x4600 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500322 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600323 interrupts = <28 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600324 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500325 };
326
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500327 mpic: pic@40000 {
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500328 interrupt-controller;
329 #address-cells = <0>;
330 #interrupt-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600331 reg = <0x40000 0x40000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500332 compatible = "chrp,open-pic";
333 device_type = "open-pic";
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500334 };
Kumar Galae1c15752007-10-04 01:04:57 -0500335
336 global-utilities@e0000 {
337 compatible = "fsl,mpc8641-guts";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600338 reg = <0xe0000 0x1000>;
Kumar Galae1c15752007-10-04 01:04:57 -0500339 fsl,has-rstcr;
340 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500341 };
342
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600343 pci0: pcie@f8008000 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600344 cell-index = <0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500345 compatible = "fsl,mpc8641-pcie";
346 device_type = "pci";
347 #interrupt-cells = <1>;
348 #size-cells = <2>;
349 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600350 reg = <0xf8008000 0x1000>;
351 bus-range = <0x0 0xff>;
352 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
353 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
354 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500355 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600356 interrupts = <24 2>;
357 interrupt-map-mask = <0xff00 0 0 7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500358 interrupt-map = <
Kumar Galabebfa062007-11-19 23:36:23 -0600359 /* IDSEL 0x11 func 0 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600360 0x8800 0 0 1 &mpic 2 1
361 0x8800 0 0 2 &mpic 3 1
362 0x8800 0 0 3 &mpic 4 1
363 0x8800 0 0 4 &mpic 1 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500364
Kumar Galabebfa062007-11-19 23:36:23 -0600365 /* IDSEL 0x11 func 1 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600366 0x8900 0 0 1 &mpic 2 1
367 0x8900 0 0 2 &mpic 3 1
368 0x8900 0 0 3 &mpic 4 1
369 0x8900 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600370
371 /* IDSEL 0x11 func 2 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600372 0x8a00 0 0 1 &mpic 2 1
373 0x8a00 0 0 2 &mpic 3 1
374 0x8a00 0 0 3 &mpic 4 1
375 0x8a00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600376
377 /* IDSEL 0x11 func 3 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600378 0x8b00 0 0 1 &mpic 2 1
379 0x8b00 0 0 2 &mpic 3 1
380 0x8b00 0 0 3 &mpic 4 1
381 0x8b00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600382
383 /* IDSEL 0x11 func 4 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600384 0x8c00 0 0 1 &mpic 2 1
385 0x8c00 0 0 2 &mpic 3 1
386 0x8c00 0 0 3 &mpic 4 1
387 0x8c00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600388
389 /* IDSEL 0x11 func 5 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600390 0x8d00 0 0 1 &mpic 2 1
391 0x8d00 0 0 2 &mpic 3 1
392 0x8d00 0 0 3 &mpic 4 1
393 0x8d00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600394
395 /* IDSEL 0x11 func 6 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600396 0x8e00 0 0 1 &mpic 2 1
397 0x8e00 0 0 2 &mpic 3 1
398 0x8e00 0 0 3 &mpic 4 1
399 0x8e00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600400
401 /* IDSEL 0x11 func 7 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600402 0x8f00 0 0 1 &mpic 2 1
403 0x8f00 0 0 2 &mpic 3 1
404 0x8f00 0 0 3 &mpic 4 1
405 0x8f00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600406
407 /* IDSEL 0x12 func 0 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600408 0x9000 0 0 1 &mpic 3 1
409 0x9000 0 0 2 &mpic 4 1
410 0x9000 0 0 3 &mpic 1 1
411 0x9000 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600412
413 /* IDSEL 0x12 func 1 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600414 0x9100 0 0 1 &mpic 3 1
415 0x9100 0 0 2 &mpic 4 1
416 0x9100 0 0 3 &mpic 1 1
417 0x9100 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600418
419 /* IDSEL 0x12 func 2 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600420 0x9200 0 0 1 &mpic 3 1
421 0x9200 0 0 2 &mpic 4 1
422 0x9200 0 0 3 &mpic 1 1
423 0x9200 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600424
425 /* IDSEL 0x12 func 3 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600426 0x9300 0 0 1 &mpic 3 1
427 0x9300 0 0 2 &mpic 4 1
428 0x9300 0 0 3 &mpic 1 1
429 0x9300 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600430
431 /* IDSEL 0x12 func 4 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600432 0x9400 0 0 1 &mpic 3 1
433 0x9400 0 0 2 &mpic 4 1
434 0x9400 0 0 3 &mpic 1 1
435 0x9400 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600436
437 /* IDSEL 0x12 func 5 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600438 0x9500 0 0 1 &mpic 3 1
439 0x9500 0 0 2 &mpic 4 1
440 0x9500 0 0 3 &mpic 1 1
441 0x9500 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600442
443 /* IDSEL 0x12 func 6 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600444 0x9600 0 0 1 &mpic 3 1
445 0x9600 0 0 2 &mpic 4 1
446 0x9600 0 0 3 &mpic 1 1
447 0x9600 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600448
449 /* IDSEL 0x12 func 7 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600450 0x9700 0 0 1 &mpic 3 1
451 0x9700 0 0 2 &mpic 4 1
452 0x9700 0 0 3 &mpic 1 1
453 0x9700 0 0 4 &mpic 2 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500454
455 // IDSEL 0x1c USB
Jon Loeliger6e050d42008-01-25 16:31:01 -0600456 0xe000 0 0 1 &i8259 12 2
457 0xe100 0 0 2 &i8259 9 2
458 0xe200 0 0 3 &i8259 10 2
Kumar Galaba1616d2008-07-31 17:06:31 -0500459 0xe300 0 0 4 &i8259 11 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500460
461 // IDSEL 0x1d Audio
Jon Loeliger6e050d42008-01-25 16:31:01 -0600462 0xe800 0 0 1 &i8259 6 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500463
464 // IDSEL 0x1e Legacy
Jon Loeliger6e050d42008-01-25 16:31:01 -0600465 0xf000 0 0 1 &i8259 7 2
466 0xf100 0 0 1 &i8259 7 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500467
468 // IDSEL 0x1f IDE/SATA
Jon Loeliger6e050d42008-01-25 16:31:01 -0600469 0xf800 0 0 1 &i8259 14 2
470 0xf900 0 0 1 &i8259 5 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500471 >;
472
473 pcie@0 {
474 reg = <0 0 0 0 0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500475 #size-cells = <2>;
476 #address-cells = <3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500477 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600478 ranges = <0x02000000 0x0 0x80000000
479 0x02000000 0x0 0x80000000
480 0x0 0x20000000
Jon Loeliger707ba162006-08-03 16:27:57 -0500481
Jon Loeliger6e050d42008-01-25 16:31:01 -0600482 0x01000000 0x0 0x00000000
483 0x01000000 0x0 0x00000000
484 0x0 0x00100000>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700485 uli1575@0 {
486 reg = <0 0 0 0 0>;
487 #size-cells = <2>;
488 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600489 ranges = <0x02000000 0x0 0x80000000
490 0x02000000 0x0 0x80000000
491 0x0 0x20000000
492 0x01000000 0x0 0x00000000
493 0x01000000 0x0 0x00000000
494 0x0 0x00100000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500495 isa@1e {
496 device_type = "isa";
497 #interrupt-cells = <2>;
498 #size-cells = <1>;
499 #address-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600500 reg = <0xf000 0 0 0 0>;
501 ranges = <1 0 0x01000000 0 0
502 0x00001000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500503 interrupt-parent = <&i8259>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700504
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500505 i8259: interrupt-controller@20 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600506 reg = <1 0x20 2
507 1 0xa0 2
508 1 0x4d0 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500509 interrupt-controller;
510 device_type = "interrupt-controller";
511 #address-cells = <0>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700512 #interrupt-cells = <2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500513 compatible = "chrp,iic";
514 interrupts = <9 2>;
515 interrupt-parent = <&mpic>;
516 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700517
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500518 i8042@60 {
519 #size-cells = <0>;
520 #address-cells = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600521 reg = <1 0x60 1 1 0x64 1>;
522 interrupts = <1 3 12 3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500523 interrupt-parent =
524 <&i8259>;
525
526 keyboard@0 {
527 reg = <0>;
528 compatible = "pnpPNP,303";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700529 };
530
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500531 mouse@1 {
532 reg = <1>;
533 compatible = "pnpPNP,f03";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700534 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500535 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700536
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500537 rtc@70 {
538 compatible =
539 "pnpPNP,b00";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600540 reg = <1 0x70 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500541 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700542
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500543 gpio@400 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600544 reg = <1 0x400 0x80>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700545 };
546 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500547 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500548 };
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600549
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500550 };
551
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600552 pci1: pcie@f8009000 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600553 cell-index = <1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500554 compatible = "fsl,mpc8641-pcie";
555 device_type = "pci";
556 #interrupt-cells = <1>;
557 #size-cells = <2>;
558 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600559 reg = <0xf8009000 0x1000>;
560 bus-range = <0 0xff>;
561 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
562 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x00100000>;
563 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500564 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600565 interrupts = <25 2>;
566 interrupt-map-mask = <0xf800 0 0 7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500567 interrupt-map = <
568 /* IDSEL 0x0 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600569 0x0000 0 0 1 &mpic 4 1
570 0x0000 0 0 2 &mpic 5 1
571 0x0000 0 0 3 &mpic 6 1
572 0x0000 0 0 4 &mpic 7 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500573 >;
574 pcie@0 {
575 reg = <0 0 0 0 0>;
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600576 #size-cells = <2>;
577 #address-cells = <3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500578 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600579 ranges = <0x02000000 0x0 0xa0000000
580 0x02000000 0x0 0xa0000000
581 0x0 0x20000000
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600582
Jon Loeliger6e050d42008-01-25 16:31:01 -0600583 0x01000000 0x0 0x00000000
584 0x01000000 0x0 0x00000000
585 0x0 0x00100000>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500586 };
587 };
Zhang Wei56fde1f2008-04-18 13:33:42 -0700588 rapidio0: rapidio@f80c0000 {
589 #address-cells = <2>;
590 #size-cells = <2>;
591 compatible = "fsl,rapidio-delta";
592 reg = <0xf80c0000 0x20000>;
593 ranges = <0 0 0xc0000000 0 0x20000000>;
594 interrupt-parent = <&mpic>;
595 /* err_irq bell_outb_irq bell_inb_irq
596 msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq */
597 interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>;
598 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500599};