blob: 7f9b999843ce2e25a81c1c038c2a6ed05c3842e7 [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
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070064 localbus@f8005000 {
65 #address-cells = <2>;
66 #size-cells = <1>;
67 compatible = "fsl,mpc8641-localbus", "simple-bus";
Jon Loeliger6e050d42008-01-25 16:31:01 -060068 reg = <0xf8005000 0x1000>;
69 interrupts = <19 2>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070070 interrupt-parent = <&mpic>;
71
Jon Loeliger6e050d42008-01-25 16:31:01 -060072 ranges = <0 0 0xff800000 0x00800000
73 1 0 0xfe000000 0x01000000
74 2 0 0xf8200000 0x00100000
75 3 0 0xf8100000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070076
77 flash@0,0 {
78 compatible = "cfi-flash";
Jon Loeliger6e050d42008-01-25 16:31:01 -060079 reg = <0 0 0x00800000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070080 bank-width = <2>;
81 device-width = <2>;
82 #address-cells = <1>;
83 #size-cells = <1>;
84 partition@0 {
85 label = "kernel";
Jon Loeliger6e050d42008-01-25 16:31:01 -060086 reg = <0x00000000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070087 };
88 partition@300000 {
89 label = "firmware b";
Jon Loeliger6e050d42008-01-25 16:31:01 -060090 reg = <0x00300000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070091 read-only;
92 };
93 partition@400000 {
94 label = "fs";
Jon Loeliger6e050d42008-01-25 16:31:01 -060095 reg = <0x00400000 0x00300000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -070096 };
97 partition@700000 {
98 label = "firmware a";
Jon Loeliger6e050d42008-01-25 16:31:01 -060099 reg = <0x00700000 0x00100000>;
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700100 read-only;
101 };
102 };
103 };
104
Jon Loeliger707ba162006-08-03 16:27:57 -0500105 soc8641@f8000000 {
106 #address-cells = <1>;
107 #size-cells = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500108 device_type = "soc";
Wade Farnsworth0ac247d2008-01-22 13:13:39 -0700109 compatible = "simple-bus";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600110 ranges = <0x00000000 0xf8000000 0x00100000>;
111 reg = <0xf8000000 0x00001000>; // CCSRBAR
Jon Loeliger707ba162006-08-03 16:27:57 -0500112 bus-frequency = <0>;
113
114 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600115 #address-cells = <1>;
116 #size-cells = <0>;
117 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500118 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600119 reg = <0x3000 0x100>;
120 interrupts = <43 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600121 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500122 dfsrr;
123 };
124
125 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -0600126 #address-cells = <1>;
127 #size-cells = <0>;
128 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500129 compatible = "fsl-i2c";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600130 reg = <0x3100 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 mdio@24520 {
137 #address-cells = <1>;
138 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600139 compatible = "fsl,gianfar-mdio";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600140 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600141
Kumar Gala6d9065d2007-02-17 16:09:56 -0600142 phy0: ethernet-phy@0 {
143 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600144 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500145 reg = <0>;
146 device_type = "ethernet-phy";
147 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600148 phy1: ethernet-phy@1 {
149 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600150 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500151 reg = <1>;
152 device_type = "ethernet-phy";
153 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600154 phy2: ethernet-phy@2 {
155 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600156 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500157 reg = <2>;
158 device_type = "ethernet-phy";
159 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600160 phy3: ethernet-phy@3 {
161 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600162 interrupts = <10 1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500163 reg = <3>;
164 device_type = "ethernet-phy";
165 };
166 };
167
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600168 enet0: ethernet@24000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600169 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500170 device_type = "network";
171 model = "TSEC";
172 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600173 reg = <0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500174 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600175 interrupts = <29 2 30 2 34 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600176 interrupt-parent = <&mpic>;
177 phy-handle = <&phy0>;
Andy Flemingcc651852007-07-10 17:28:49 -0500178 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500179 };
180
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600181 enet1: ethernet@25000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600182 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500183 device_type = "network";
184 model = "TSEC";
185 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600186 reg = <0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500187 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600188 interrupts = <35 2 36 2 40 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600189 interrupt-parent = <&mpic>;
190 phy-handle = <&phy1>;
Andy Flemingcc651852007-07-10 17:28:49 -0500191 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500192 };
193
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600194 enet2: ethernet@26000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600195 cell-index = <2>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500196 device_type = "network";
197 model = "TSEC";
198 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600199 reg = <0x26000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500200 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600201 interrupts = <31 2 32 2 33 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600202 interrupt-parent = <&mpic>;
203 phy-handle = <&phy2>;
Andy Flemingcc651852007-07-10 17:28:49 -0500204 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500205 };
206
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600207 enet3: ethernet@27000 {
Kumar Galae77b28e2007-12-12 00:28:35 -0600208 cell-index = <3>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500209 device_type = "network";
210 model = "TSEC";
211 compatible = "gianfar";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600212 reg = <0x27000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500213 local-mac-address = [ 00 00 00 00 00 00 ];
Jon Loeliger6e050d42008-01-25 16:31:01 -0600214 interrupts = <37 2 38 2 39 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600215 interrupt-parent = <&mpic>;
216 phy-handle = <&phy3>;
Andy Flemingcc651852007-07-10 17:28:49 -0500217 phy-connection-type = "rgmii-id";
Jon Loeliger707ba162006-08-03 16:27:57 -0500218 };
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600219
220 serial0: serial@4500 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600221 cell-index = <0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500222 device_type = "serial";
223 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600224 reg = <0x4500 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500225 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600226 interrupts = <42 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600227 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500228 };
229
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600230 serial1: serial@4600 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600231 cell-index = <1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500232 device_type = "serial";
233 compatible = "ns16550";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600234 reg = <0x4600 0x100>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500235 clock-frequency = <0>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600236 interrupts = <28 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600237 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500238 };
239
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500240 mpic: pic@40000 {
241 clock-frequency = <0>;
242 interrupt-controller;
243 #address-cells = <0>;
244 #interrupt-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600245 reg = <0x40000 0x40000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500246 compatible = "chrp,open-pic";
247 device_type = "open-pic";
248 big-endian;
249 };
Kumar Galae1c15752007-10-04 01:04:57 -0500250
251 global-utilities@e0000 {
252 compatible = "fsl,mpc8641-guts";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600253 reg = <0xe0000 0x1000>;
Kumar Galae1c15752007-10-04 01:04:57 -0500254 fsl,has-rstcr;
255 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500256 };
257
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600258 pci0: pcie@f8008000 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600259 cell-index = <0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500260 compatible = "fsl,mpc8641-pcie";
261 device_type = "pci";
262 #interrupt-cells = <1>;
263 #size-cells = <2>;
264 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600265 reg = <0xf8008000 0x1000>;
266 bus-range = <0x0 0xff>;
267 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
268 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
269 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500270 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600271 interrupts = <24 2>;
272 interrupt-map-mask = <0xff00 0 0 7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500273 interrupt-map = <
Kumar Galabebfa062007-11-19 23:36:23 -0600274 /* IDSEL 0x11 func 0 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600275 0x8800 0 0 1 &mpic 2 1
276 0x8800 0 0 2 &mpic 3 1
277 0x8800 0 0 3 &mpic 4 1
278 0x8800 0 0 4 &mpic 1 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500279
Kumar Galabebfa062007-11-19 23:36:23 -0600280 /* IDSEL 0x11 func 1 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600281 0x8900 0 0 1 &mpic 2 1
282 0x8900 0 0 2 &mpic 3 1
283 0x8900 0 0 3 &mpic 4 1
284 0x8900 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600285
286 /* IDSEL 0x11 func 2 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600287 0x8a00 0 0 1 &mpic 2 1
288 0x8a00 0 0 2 &mpic 3 1
289 0x8a00 0 0 3 &mpic 4 1
290 0x8a00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600291
292 /* IDSEL 0x11 func 3 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600293 0x8b00 0 0 1 &mpic 2 1
294 0x8b00 0 0 2 &mpic 3 1
295 0x8b00 0 0 3 &mpic 4 1
296 0x8b00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600297
298 /* IDSEL 0x11 func 4 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600299 0x8c00 0 0 1 &mpic 2 1
300 0x8c00 0 0 2 &mpic 3 1
301 0x8c00 0 0 3 &mpic 4 1
302 0x8c00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600303
304 /* IDSEL 0x11 func 5 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600305 0x8d00 0 0 1 &mpic 2 1
306 0x8d00 0 0 2 &mpic 3 1
307 0x8d00 0 0 3 &mpic 4 1
308 0x8d00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600309
310 /* IDSEL 0x11 func 6 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600311 0x8e00 0 0 1 &mpic 2 1
312 0x8e00 0 0 2 &mpic 3 1
313 0x8e00 0 0 3 &mpic 4 1
314 0x8e00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600315
316 /* IDSEL 0x11 func 7 - PCI slot 1 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600317 0x8f00 0 0 1 &mpic 2 1
318 0x8f00 0 0 2 &mpic 3 1
319 0x8f00 0 0 3 &mpic 4 1
320 0x8f00 0 0 4 &mpic 1 1
Kumar Galabebfa062007-11-19 23:36:23 -0600321
322 /* IDSEL 0x12 func 0 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600323 0x9000 0 0 1 &mpic 3 1
324 0x9000 0 0 2 &mpic 4 1
325 0x9000 0 0 3 &mpic 1 1
326 0x9000 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600327
328 /* IDSEL 0x12 func 1 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600329 0x9100 0 0 1 &mpic 3 1
330 0x9100 0 0 2 &mpic 4 1
331 0x9100 0 0 3 &mpic 1 1
332 0x9100 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600333
334 /* IDSEL 0x12 func 2 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600335 0x9200 0 0 1 &mpic 3 1
336 0x9200 0 0 2 &mpic 4 1
337 0x9200 0 0 3 &mpic 1 1
338 0x9200 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600339
340 /* IDSEL 0x12 func 3 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600341 0x9300 0 0 1 &mpic 3 1
342 0x9300 0 0 2 &mpic 4 1
343 0x9300 0 0 3 &mpic 1 1
344 0x9300 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600345
346 /* IDSEL 0x12 func 4 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600347 0x9400 0 0 1 &mpic 3 1
348 0x9400 0 0 2 &mpic 4 1
349 0x9400 0 0 3 &mpic 1 1
350 0x9400 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600351
352 /* IDSEL 0x12 func 5 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600353 0x9500 0 0 1 &mpic 3 1
354 0x9500 0 0 2 &mpic 4 1
355 0x9500 0 0 3 &mpic 1 1
356 0x9500 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600357
358 /* IDSEL 0x12 func 6 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600359 0x9600 0 0 1 &mpic 3 1
360 0x9600 0 0 2 &mpic 4 1
361 0x9600 0 0 3 &mpic 1 1
362 0x9600 0 0 4 &mpic 2 1
Kumar Galabebfa062007-11-19 23:36:23 -0600363
364 /* IDSEL 0x12 func 7 - PCI slot 2 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600365 0x9700 0 0 1 &mpic 3 1
366 0x9700 0 0 2 &mpic 4 1
367 0x9700 0 0 3 &mpic 1 1
368 0x9700 0 0 4 &mpic 2 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500369
370 // IDSEL 0x1c USB
Jon Loeliger6e050d42008-01-25 16:31:01 -0600371 0xe000 0 0 1 &i8259 12 2
372 0xe100 0 0 2 &i8259 9 2
373 0xe200 0 0 3 &i8259 10 2
374 0xe300 0 0 4 &i8259 112
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500375
376 // IDSEL 0x1d Audio
Jon Loeliger6e050d42008-01-25 16:31:01 -0600377 0xe800 0 0 1 &i8259 6 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500378
379 // IDSEL 0x1e Legacy
Jon Loeliger6e050d42008-01-25 16:31:01 -0600380 0xf000 0 0 1 &i8259 7 2
381 0xf100 0 0 1 &i8259 7 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500382
383 // IDSEL 0x1f IDE/SATA
Jon Loeliger6e050d42008-01-25 16:31:01 -0600384 0xf800 0 0 1 &i8259 14 2
385 0xf900 0 0 1 &i8259 5 2
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500386 >;
387
388 pcie@0 {
389 reg = <0 0 0 0 0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500390 #size-cells = <2>;
391 #address-cells = <3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500392 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600393 ranges = <0x02000000 0x0 0x80000000
394 0x02000000 0x0 0x80000000
395 0x0 0x20000000
Jon Loeliger707ba162006-08-03 16:27:57 -0500396
Jon Loeliger6e050d42008-01-25 16:31:01 -0600397 0x01000000 0x0 0x00000000
398 0x01000000 0x0 0x00000000
399 0x0 0x00100000>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700400 uli1575@0 {
401 reg = <0 0 0 0 0>;
402 #size-cells = <2>;
403 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600404 ranges = <0x02000000 0x0 0x80000000
405 0x02000000 0x0 0x80000000
406 0x0 0x20000000
407 0x01000000 0x0 0x00000000
408 0x01000000 0x0 0x00000000
409 0x0 0x00100000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500410 isa@1e {
411 device_type = "isa";
412 #interrupt-cells = <2>;
413 #size-cells = <1>;
414 #address-cells = <2>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600415 reg = <0xf000 0 0 0 0>;
416 ranges = <1 0 0x01000000 0 0
417 0x00001000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500418 interrupt-parent = <&i8259>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700419
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500420 i8259: interrupt-controller@20 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600421 reg = <1 0x20 2
422 1 0xa0 2
423 1 0x4d0 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500424 interrupt-controller;
425 device_type = "interrupt-controller";
426 #address-cells = <0>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700427 #interrupt-cells = <2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500428 compatible = "chrp,iic";
429 interrupts = <9 2>;
430 interrupt-parent = <&mpic>;
431 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700432
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500433 i8042@60 {
434 #size-cells = <0>;
435 #address-cells = <1>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600436 reg = <1 0x60 1 1 0x64 1>;
437 interrupts = <1 3 12 3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500438 interrupt-parent =
439 <&i8259>;
440
441 keyboard@0 {
442 reg = <0>;
443 compatible = "pnpPNP,303";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700444 };
445
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500446 mouse@1 {
447 reg = <1>;
448 compatible = "pnpPNP,f03";
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700449 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500450 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700451
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500452 rtc@70 {
453 compatible =
454 "pnpPNP,b00";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600455 reg = <1 0x70 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500456 };
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700457
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500458 gpio@400 {
Jon Loeliger6e050d42008-01-25 16:31:01 -0600459 reg = <1 0x400 0x80>;
Wade Farnsworthdfac6fa2007-06-04 13:24:47 -0700460 };
461 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500462 };
Jon Loeliger707ba162006-08-03 16:27:57 -0500463 };
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600464
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500465 };
466
Jon Loeliger1c1d1672007-12-05 11:32:50 -0600467 pci1: pcie@f8009000 {
Kumar Galaea082fa2007-12-12 01:46:12 -0600468 cell-index = <1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500469 compatible = "fsl,mpc8641-pcie";
470 device_type = "pci";
471 #interrupt-cells = <1>;
472 #size-cells = <2>;
473 #address-cells = <3>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600474 reg = <0xf8009000 0x1000>;
475 bus-range = <0 0xff>;
476 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
477 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x00100000>;
478 clock-frequency = <33333333>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500479 interrupt-parent = <&mpic>;
Jon Loeliger6e050d42008-01-25 16:31:01 -0600480 interrupts = <25 2>;
481 interrupt-map-mask = <0xf800 0 0 7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500482 interrupt-map = <
483 /* IDSEL 0x0 */
Jon Loeliger6e050d42008-01-25 16:31:01 -0600484 0x0000 0 0 1 &mpic 4 1
485 0x0000 0 0 2 &mpic 5 1
486 0x0000 0 0 3 &mpic 6 1
487 0x0000 0 0 4 &mpic 7 1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500488 >;
489 pcie@0 {
490 reg = <0 0 0 0 0>;
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600491 #size-cells = <2>;
492 #address-cells = <3>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500493 device_type = "pci";
Jon Loeliger6e050d42008-01-25 16:31:01 -0600494 ranges = <0x02000000 0x0 0xa0000000
495 0x02000000 0x0 0xa0000000
496 0x0 0x20000000
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600497
Jon Loeliger6e050d42008-01-25 16:31:01 -0600498 0x01000000 0x0 0x00000000
499 0x01000000 0x0 0x00000000
500 0x0 0x00100000>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500501 };
502 };
503};