blob: d2d5dcda1b4eab3583e4c2a90603cb998f7982f9 [file] [log] [blame]
Jon Loeliger707ba162006-08-03 16:27:57 -05001/*
2 * MPC8641 HPCN Device Tree Source
3 *
4 * Copyright 2006 Freescale Semiconductor Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11
Jon Loeliger6e050d42008-01-25 16:31:01 -060012/dts-v1/;
Jon Loeliger707ba162006-08-03 16:27:57 -050013
14/ {
15 model = "MPC8641HPCN";
Paul Gortmaker06f35b42008-04-16 13:53:06 -040016 compatible = "fsl,mpc8641hpcn";
Jon Loeliger707ba162006-08-03 16:27:57 -050017 #address-cells = <1>;
18 #size-cells = <1>;
19
Jon Loeliger1c1d1672007-12-05 11:32:50 -060020 aliases {
21 ethernet0 = &enet0;
22 ethernet1 = &enet1;
23 ethernet2 = &enet2;
24 ethernet3 = &enet3;
25 serial0 = &serial0;
26 serial1 = &serial1;
27 pci0 = &pci0;
28 pci1 = &pci1;
Becky Bruce47f80a32008-12-19 16:05:12 -060029/*
30 * Only one of Rapid IO or PCI can be present due to HW limitations and
31 * due to the fact that the 2 now share address space in the new memory
32 * map. The most likely case is that we have PCI, so comment out the
33 * rapidio node. Leave it here for reference.
34 */
35 /* rapidio0 = &rapidio0; */
Jon Loeliger1c1d1672007-12-05 11:32:50 -060036 };
37
Jon Loeliger707ba162006-08-03 16:27:57 -050038 cpus {
Jon Loeliger707ba162006-08-03 16:27:57 -050039 #address-cells = <1>;
40 #size-cells = <0>;
41
42 PowerPC,8641@0 {
43 device_type = "cpu";
44 reg = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060045 d-cache-line-size = <32>;
46 i-cache-line-size = <32>;
47 d-cache-size = <32768>; // L1
48 i-cache-size = <32768>; // L1
49 timebase-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050050 bus-frequency = <0>; // From uboot
51 clock-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050052 };
53 PowerPC,8641@1 {
54 device_type = "cpu";
55 reg = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060056 d-cache-line-size = <32>;
57 i-cache-line-size = <32>;
58 d-cache-size = <32768>;
59 i-cache-size = <32768>;
60 timebase-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050061 bus-frequency = <0>; // From uboot
62 clock-frequency = <0>; // From uboot
Jon Loeliger707ba162006-08-03 16:27:57 -050063 };
64 };
65
66 memory {
67 device_type = "memory";
Jon Loeliger6e050d42008-01-25 16:31:01 -060068 reg = <0x00000000 0x40000000>; // 1G at 0x0
Jon Loeliger707ba162006-08-03 16:27:57 -050069 };
70
Becky Bruce47f80a32008-12-19 16:05:12 -060071 localbus@ffe05000 {
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070072 #address-cells = <2>;
73 #size-cells = <1>;
74 compatible = "fsl,mpc8641-localbus", "simple-bus";
Becky Bruce47f80a32008-12-19 16:05:12 -060075 reg = <0xffe05000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -060076 interrupts = <19 2>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070077 interrupt-parent = <&mpic>;
78
Becky Bruce47f80a32008-12-19 16:05:12 -060079 ranges = <0 0 0xef800000 0x00800000
80 2 0 0xffdf8000 0x00008000
81 3 0 0xffdf0000 0x00008000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070082
83 flash@0,0 {
84 compatible = "cfi-flash";
Jon Loeliger6e050d42008-01-25 16:31:01 -060085 reg = <0 0 0x00800000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070086 bank-width = <2>;
87 device-width = <2>;
88 #address-cells = <1>;
89 #size-cells = <1>;
90 partition@0 {
91 label = "kernel";
Jon Loeliger6e050d42008-01-25 16:31:01 -060092 reg = <0x00000000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070093 };
94 partition@300000 {
95 label = "firmware b";
Jon Loeliger6e050d42008-01-25 16:31:01 -060096 reg = <0x00300000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070097 read-only;
98 };
99 partition@400000 {
100 label = "fs";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600101 reg = <0x00400000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700102 };
103 partition@700000 {
104 label = "firmware a";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600105 reg = <0x00700000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700106 read-only;
107 };
108 };
109 };
110
Becky Bruce47f80a32008-12-19 16:05:12 -0600111 soc8641@ffe00000 {
Jon Loeliger707ba162006-08-03 16:27:57 -0500112 #address-cells = <1>;
113 #size-cells = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500114 device_type = "soc";
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700115 compatible = "simple-bus";
Becky Bruce47f80a32008-12-19 16:05:12 -0600116 ranges = <0x00000000 0xffe00000 0x00100000>;
117 reg = <0xffe00000 0x00001000>; // CCSRBAR
Jon Loeliger707ba162006-08-03 16:27:57 -0500118 bus-frequency = <0>;
119
120 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600121 #address-cells = <1>;
122 #size-cells = <0>;
123 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500124 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600125 reg = <0x3000 0x100>;
126 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600127 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500128 dfsrr;
129 };
130
131 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600132 #address-cells = <1>;
133 #size-cells = <0>;
134 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500135 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600136 reg = <0x3100 0x100>;
137 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600138 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500139 dfsrr;
140 };
141
Kumar Galadee80552008-06-27 13:45:19 -0500142 dma@21300 {
143 #address-cells = <1>;
144 #size-cells = <1>;
145 compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
146 reg = <0x21300 0x4>;
147 ranges = <0x0 0x21100 0x200>;
148 cell-index = <0>;
149 dma-channel@0 {
150 compatible = "fsl,mpc8641-dma-channel",
151 "fsl,eloplus-dma-channel";
152 reg = <0x0 0x80>;
153 cell-index = <0>;
154 interrupt-parent = <&mpic>;
155 interrupts = <20 2>;
156 };
157 dma-channel@80 {
158 compatible = "fsl,mpc8641-dma-channel",
159 "fsl,eloplus-dma-channel";
160 reg = <0x80 0x80>;
161 cell-index = <1>;
162 interrupt-parent = <&mpic>;
163 interrupts = <21 2>;
164 };
165 dma-channel@100 {
166 compatible = "fsl,mpc8641-dma-channel",
167 "fsl,eloplus-dma-channel";
168 reg = <0x100 0x80>;
169 cell-index = <2>;
170 interrupt-parent = <&mpic>;
171 interrupts = <22 2>;
172 };
173 dma-channel@180 {
174 compatible = "fsl,mpc8641-dma-channel",
175 "fsl,eloplus-dma-channel";
176 reg = <0x180 0x80>;
177 cell-index = <3>;
178 interrupt-parent = <&mpic>;
179 interrupts = <23 2>;
180 };
181 };
182
Jon Loeliger707ba162006-08-03 16:27:57 -0500183 mdio@24520 {
184 #address-cells = <1>;
185 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600186 compatible = "fsl,gianfar-mdio";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600187 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600188
Kumar Gala6d9065d2007-02-17 16:09:56 -0600189 phy0: ethernet-phy@0 {
190 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600191 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500192 reg = <0>;
193 device_type = "ethernet-phy";
194 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600195 phy1: ethernet-phy@1 {
196 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600197 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500198 reg = <1>;
199 device_type = "ethernet-phy";
200 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600201 phy2: ethernet-phy@2 {
202 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600203 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500204 reg = <2>;
205 device_type = "ethernet-phy";
206 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600207 phy3: ethernet-phy@3 {
208 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600209 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500210 reg = <3>;
211 device_type = "ethernet-phy";
212 };
213 };
214
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600215 enet0: ethernet@24000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600216 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500217 device_type = "network";
218 model = "TSEC";
219 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600220 reg = <0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500221 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600222 interrupts = <29 2 30 2 34 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600223 interrupt-parent = <&mpic>;
224 phy-handle = <&phy0>;
Andy Flemingcc651852007-07-10 17:28:49 -0500225 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500226 };
227
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600228 enet1: ethernet@25000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600229 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500230 device_type = "network";
231 model = "TSEC";
232 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600233 reg = <0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500234 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600235 interrupts = <35 2 36 2 40 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600236 interrupt-parent = <&mpic>;
237 phy-handle = <&phy1>;
Andy Flemingcc651852007-07-10 17:28:49 -0500238 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500239 };
240
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600241 enet2: ethernet@26000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600242 cell-index = <2>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500243 device_type = "network";
244 model = "TSEC";
245 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600246 reg = <0x26000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500247 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600248 interrupts = <31 2 32 2 33 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600249 interrupt-parent = <&mpic>;
250 phy-handle = <&phy2>;
Andy Flemingcc651852007-07-10 17:28:49 -0500251 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500252 };
253
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600254 enet3: ethernet@27000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600255 cell-index = <3>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500256 device_type = "network";
257 model = "TSEC";
258 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600259 reg = <0x27000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500260 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600261 interrupts = <37 2 38 2 39 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600262 interrupt-parent = <&mpic>;
263 phy-handle = <&phy3>;
Andy Flemingcc651852007-07-10 17:28:49 -0500264 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500265 };
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600266
267 serial0: serial@4500 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600268 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500269 device_type = "serial";
270 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600271 reg = <0x4500 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500272 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600273 interrupts = <42 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600274 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500275 };
276
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600277 serial1: serial@4600 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600278 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500279 device_type = "serial";
280 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600281 reg = <0x4600 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500282 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600283 interrupts = <28 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600284 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500285 };
286
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500287 mpic: pic@40000 {
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500288 interrupt-controller;
289 #address-cells = <0>;
290 #interrupt-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600291 reg = <0x40000 0x40000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500292 compatible = "chrp,open-pic";
293 device_type = "open-pic";
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500294 };
Kumar Galae1c15752007-10-04 01:04:57 -0500295
296 global-utilities@e0000 {
297 compatible = "fsl,mpc8641-guts";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600298 reg = <0xe0000 0x1000>;
Kumar Galae1c15752007-10-04 01:04:57 -0500299 fsl,has-rstcr;
300 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500301 };
302
Becky Bruce47f80a32008-12-19 16:05:12 -0600303 pci0: pcie@ffe08000 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600304 cell-index = <0>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500305 compatible = "fsl,mpc8641-pcie";
306 device_type = "pci";
307 #interrupt-cells = <1>;
308 #size-cells = <2>;
309 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600310 reg = <0xffe08000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600311 bus-range = <0x0 0xff>;
312 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600313 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600314 clock-frequency = <33333333>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500315 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600316 interrupts = <24 2>;
317 interrupt-map-mask = <0xff00 0 0 7>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500318 interrupt-map = <
Kumar Galabebfa062007-11-19 23:36:23 -0600319 /* IDSEL 0x11 func 0 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600320 0x8800 0 0 1 &mpic 2 1
321 0x8800 0 0 2 &mpic 3 1
322 0x8800 0 0 3 &mpic 4 1
323 0x8800 0 0 4 &mpic 1 1
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500324
Kumar Galabebfa062007-11-19 23:36:23 -0600325 /* IDSEL 0x11 func 1 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600326 0x8900 0 0 1 &mpic 2 1
327 0x8900 0 0 2 &mpic 3 1
328 0x8900 0 0 3 &mpic 4 1
329 0x8900 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600330
331 /* IDSEL 0x11 func 2 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600332 0x8a00 0 0 1 &mpic 2 1
333 0x8a00 0 0 2 &mpic 3 1
334 0x8a00 0 0 3 &mpic 4 1
335 0x8a00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600336
337 /* IDSEL 0x11 func 3 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600338 0x8b00 0 0 1 &mpic 2 1
339 0x8b00 0 0 2 &mpic 3 1
340 0x8b00 0 0 3 &mpic 4 1
341 0x8b00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600342
343 /* IDSEL 0x11 func 4 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600344 0x8c00 0 0 1 &mpic 2 1
345 0x8c00 0 0 2 &mpic 3 1
346 0x8c00 0 0 3 &mpic 4 1
347 0x8c00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600348
349 /* IDSEL 0x11 func 5 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600350 0x8d00 0 0 1 &mpic 2 1
351 0x8d00 0 0 2 &mpic 3 1
352 0x8d00 0 0 3 &mpic 4 1
353 0x8d00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600354
355 /* IDSEL 0x11 func 6 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600356 0x8e00 0 0 1 &mpic 2 1
357 0x8e00 0 0 2 &mpic 3 1
358 0x8e00 0 0 3 &mpic 4 1
359 0x8e00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600360
361 /* IDSEL 0x11 func 7 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600362 0x8f00 0 0 1 &mpic 2 1
363 0x8f00 0 0 2 &mpic 3 1
364 0x8f00 0 0 3 &mpic 4 1
365 0x8f00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600366
367 /* IDSEL 0x12 func 0 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600368 0x9000 0 0 1 &mpic 3 1
369 0x9000 0 0 2 &mpic 4 1
370 0x9000 0 0 3 &mpic 1 1
371 0x9000 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600372
373 /* IDSEL 0x12 func 1 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600374 0x9100 0 0 1 &mpic 3 1
375 0x9100 0 0 2 &mpic 4 1
376 0x9100 0 0 3 &mpic 1 1
377 0x9100 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600378
379 /* IDSEL 0x12 func 2 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600380 0x9200 0 0 1 &mpic 3 1
381 0x9200 0 0 2 &mpic 4 1
382 0x9200 0 0 3 &mpic 1 1
383 0x9200 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600384
385 /* IDSEL 0x12 func 3 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600386 0x9300 0 0 1 &mpic 3 1
387 0x9300 0 0 2 &mpic 4 1
388 0x9300 0 0 3 &mpic 1 1
389 0x9300 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600390
391 /* IDSEL 0x12 func 4 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600392 0x9400 0 0 1 &mpic 3 1
393 0x9400 0 0 2 &mpic 4 1
394 0x9400 0 0 3 &mpic 1 1
395 0x9400 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600396
397 /* IDSEL 0x12 func 5 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600398 0x9500 0 0 1 &mpic 3 1
399 0x9500 0 0 2 &mpic 4 1
400 0x9500 0 0 3 &mpic 1 1
401 0x9500 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600402
403 /* IDSEL 0x12 func 6 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600404 0x9600 0 0 1 &mpic 3 1
405 0x9600 0 0 2 &mpic 4 1
406 0x9600 0 0 3 &mpic 1 1
407 0x9600 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600408
409 /* IDSEL 0x12 func 7 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600410 0x9700 0 0 1 &mpic 3 1
411 0x9700 0 0 2 &mpic 4 1
412 0x9700 0 0 3 &mpic 1 1
413 0x9700 0 0 4 &mpic 2 1
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500414
415 // IDSEL 0x1c USB
Jon Loeliger6e050d42008-01-25 16:31:01 -0600416 0xe000 0 0 1 &i8259 12 2
417 0xe100 0 0 2 &i8259 9 2
418 0xe200 0 0 3 &i8259 10 2
Kumar Galaba1616d2008-07-31 17:06:31 -0500419 0xe300 0 0 4 &i8259 11 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500420
421 // IDSEL 0x1d Audio
Jon Loeliger6e050d42008-01-25 16:31:01 -0600422 0xe800 0 0 1 &i8259 6 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500423
424 // IDSEL 0x1e Legacy
Jon Loeliger6e050d42008-01-25 16:31:01 -0600425 0xf000 0 0 1 &i8259 7 2
426 0xf100 0 0 1 &i8259 7 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500427
428 // IDSEL 0x1f IDE/SATA
Jon Loeliger6e050d42008-01-25 16:31:01 -0600429 0xf800 0 0 1 &i8259 14 2
430 0xf900 0 0 1 &i8259 5 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500431 >;
432
433 pcie@0 {
434 reg = <0 0 0 0 0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500435 #size-cells = <2>;
436 #address-cells = <3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500437 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600438 ranges = <0x02000000 0x0 0x80000000
439 0x02000000 0x0 0x80000000
440 0x0 0x20000000
Jon Loeliger707ba162006-08-03 16:27:57 -0500441
Jon Loeliger6e050d42008-01-25 16:31:01 -0600442 0x01000000 0x0 0x00000000
443 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600444 0x0 0x00010000>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700445 uli1575@0 {
446 reg = <0 0 0 0 0>;
447 #size-cells = <2>;
448 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600449 ranges = <0x02000000 0x0 0x80000000
450 0x02000000 0x0 0x80000000
451 0x0 0x20000000
452 0x01000000 0x0 0x00000000
453 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600454 0x0 0x00010000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500455 isa@1e {
456 device_type = "isa";
457 #interrupt-cells = <2>;
458 #size-cells = <1>;
459 #address-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600460 reg = <0xf000 0 0 0 0>;
461 ranges = <1 0 0x01000000 0 0
462 0x00001000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500463 interrupt-parent = <&i8259>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700464
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500465 i8259: interrupt-controller@20 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600466 reg = <1 0x20 2
467 1 0xa0 2
468 1 0x4d0 2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500469 interrupt-controller;
470 device_type = "interrupt-controller";
471 #address-cells = <0>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700472 #interrupt-cells = <2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500473 compatible = "chrp,iic";
474 interrupts = <9 2>;
475 interrupt-parent = <&mpic>;
476 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700477
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500478 i8042@60 {
479 #size-cells = <0>;
480 #address-cells = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600481 reg = <1 0x60 1 1 0x64 1>;
482 interrupts = <1 3 12 3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500483 interrupt-parent =
484 <&i8259>;
485
486 keyboard@0 {
487 reg = <0>;
488 compatible = "pnpPNP,303";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700489 };
490
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500491 mouse@1 {
492 reg = <1>;
493 compatible = "pnpPNP,f03";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700494 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500495 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700496
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500497 rtc@70 {
498 compatible =
499 "pnpPNP,b00";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600500 reg = <1 0x70 2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500501 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700502
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500503 gpio@400 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600504 reg = <1 0x400 0x80>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700505 };
506 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500507 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500508 };
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600509
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500510 };
511
Becky Bruce47f80a32008-12-19 16:05:12 -0600512 pci1: pcie@ffe09000 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600513 cell-index = <1>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500514 compatible = "fsl,mpc8641-pcie";
515 device_type = "pci";
516 #interrupt-cells = <1>;
517 #size-cells = <2>;
518 #address-cells = <3>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600519 reg = <0xffe09000 0x1000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600520 bus-range = <0 0xff>;
521 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600522 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600523 clock-frequency = <33333333>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500524 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600525 interrupts = <25 2>;
526 interrupt-map-mask = <0xf800 0 0 7>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500527 interrupt-map = <
528 /* IDSEL 0x0 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600529 0x0000 0 0 1 &mpic 4 1
530 0x0000 0 0 2 &mpic 5 1
531 0x0000 0 0 3 &mpic 6 1
532 0x0000 0 0 4 &mpic 7 1
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500533 >;
534 pcie@0 {
535 reg = <0 0 0 0 0>;
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600536 #size-cells = <2>;
537 #address-cells = <3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500538 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600539 ranges = <0x02000000 0x0 0xa0000000
540 0x02000000 0x0 0xa0000000
541 0x0 0x20000000
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600542
Jon Loeliger6e050d42008-01-25 16:31:01 -0600543 0x01000000 0x0 0x00000000
544 0x01000000 0x0 0x00000000
Becky Bruce47f80a32008-12-19 16:05:12 -0600545 0x0 0x00010000>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500546 };
547 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600548/*
549 rapidio0: rapidio@ffec0000 {
Zhang Wei56fde1f2008-04-18 13:33:42 -0700550 #address-cells = <2>;
551 #size-cells = <2>;
552 compatible = "fsl,rapidio-delta";
Becky Bruce47f80a32008-12-19 16:05:12 -0600553 reg = <0xffec0000 0x20000>;
554 ranges = <0 0 0x80000000 0 0x20000000>;
Zhang Wei56fde1f2008-04-18 13:33:42 -0700555 interrupt-parent = <&mpic>;
Becky Bruce47f80a32008-12-19 16:05:12 -0600556 // err_irq bell_outb_irq bell_inb_irq
557 // msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq
Zhang Wei56fde1f2008-04-18 13:33:42 -0700558 interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>;
559 };
Becky Bruce47f80a32008-12-19 16:05:12 -0600560*/
561
Jon Loeliger707ba162006-08-03 16:27:57 -0500562};