blob: 00c2bbda70134db027f1d169d9d1814c4317d545 [file] [log] [blame]
Andy Flemingc2882bb2007-02-09 17:28:31 -06001/*
2 * MPC8568E MDS Device Tree Source
3 *
Kumar Gala32f960e2008-04-17 01:28:15 -05004 * Copyright 2007, 2008 Freescale Semiconductor Inc.
Andy Flemingc2882bb2007-02-09 17:28:31 -06005 *
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
Kumar Gala32f960e2008-04-17 01:28:15 -050012/dts-v1/;
Andy Flemingc2882bb2007-02-09 17:28:31 -060013
Andy Flemingc2882bb2007-02-09 17:28:31 -060014/ {
15 model = "MPC8568EMDS";
Kumar Gala52094872007-02-17 16:04:23 -060016 compatible = "MPC8568EMDS", "MPC85xxMDS";
Andy Flemingc2882bb2007-02-09 17:28:31 -060017 #address-cells = <1>;
18 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060019
Kumar Galaea082fa2007-12-12 01:46:12 -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;
Anton Vorontsov5e8306f2009-05-02 06:16:56 +040029 rapidio0 = &rio0;
Kumar Galaea082fa2007-12-12 01:46:12 -060030 };
31
Andy Flemingc2882bb2007-02-09 17:28:31 -060032 cpus {
Andy Flemingc2882bb2007-02-09 17:28:31 -060033 #address-cells = <1>;
34 #size-cells = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060035
36 PowerPC,8568@0 {
37 device_type = "cpu";
Kumar Gala32f960e2008-04-17 01:28:15 -050038 reg = <0x0>;
39 d-cache-line-size = <32>; // 32 bytes
40 i-cache-line-size = <32>; // 32 bytes
41 d-cache-size = <0x8000>; // L1, 32K
42 i-cache-size = <0x8000>; // L1, 32K
Andy Flemingc2882bb2007-02-09 17:28:31 -060043 timebase-frequency = <0>;
44 bus-frequency = <0>;
45 clock-frequency = <0>;
Kumar Galac0540652008-05-30 13:43:43 -050046 next-level-cache = <&L2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060047 };
48 };
49
50 memory {
51 device_type = "memory";
Kumar Gala32f960e2008-04-17 01:28:15 -050052 reg = <0x0 0x10000000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060053 };
54
55 bcsr@f8000000 {
Anton Vorontsovfd657ef2008-10-18 04:23:52 +040056 compatible = "fsl,mpc8568mds-bcsr";
Kumar Gala32f960e2008-04-17 01:28:15 -050057 reg = <0xf8000000 0x8000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060058 };
59
60 soc8568@e0000000 {
61 #address-cells = <1>;
62 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060063 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -050064 compatible = "simple-bus";
Kumar Gala32f960e2008-04-17 01:28:15 -050065 ranges = <0x0 0xe0000000 0x100000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060066 bus-frequency = <0>;
67
Kumar Galae1a22892009-04-22 13:17:42 -050068 ecm-law@0 {
69 compatible = "fsl,ecm-law";
70 reg = <0x0 0x1000>;
71 fsl,num-laws = <10>;
72 };
73
74 ecm@1000 {
75 compatible = "fsl,mpc8568-ecm", "fsl,ecm";
76 reg = <0x1000 0x1000>;
77 interrupts = <17 2>;
78 interrupt-parent = <&mpic>;
79 };
80
Kumar Gala4da421d2007-05-15 13:20:05 -050081 memory-controller@2000 {
82 compatible = "fsl,8568-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050083 reg = <0x2000 0x1000>;
Kumar Gala4da421d2007-05-15 13:20:05 -050084 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050085 interrupts = <18 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050086 };
87
Kumar Galac0540652008-05-30 13:43:43 -050088 L2: l2-cache-controller@20000 {
Kumar Gala4da421d2007-05-15 13:20:05 -050089 compatible = "fsl,8568-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050090 reg = <0x20000 0x1000>;
91 cache-line-size = <32>; // 32 bytes
92 cache-size = <0x80000>; // L2, 512K
Kumar Gala4da421d2007-05-15 13:20:05 -050093 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050094 interrupts = <16 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050095 };
96
Andy Flemingc2882bb2007-02-09 17:28:31 -060097 i2c@3000 {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040098 #address-cells = <1>;
99 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -0600100 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600101 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -0500102 reg = <0x3000 0x100>;
103 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600104 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600105 dfsrr;
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400106
107 rtc@68 {
108 compatible = "dallas,ds1374";
Kumar Gala32f960e2008-04-17 01:28:15 -0500109 reg = <0x68>;
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400110 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600111 };
112
113 i2c@3100 {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400114 #address-cells = <1>;
115 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -0600116 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600117 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -0500118 reg = <0x3100 0x100>;
119 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600120 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600121 dfsrr;
122 };
123
Kumar Galadee80552008-06-27 13:45:19 -0500124 dma@21300 {
125 #address-cells = <1>;
126 #size-cells = <1>;
127 compatible = "fsl,mpc8568-dma", "fsl,eloplus-dma";
128 reg = <0x21300 0x4>;
129 ranges = <0x0 0x21100 0x200>;
130 cell-index = <0>;
131 dma-channel@0 {
132 compatible = "fsl,mpc8568-dma-channel",
133 "fsl,eloplus-dma-channel";
134 reg = <0x0 0x80>;
135 cell-index = <0>;
136 interrupt-parent = <&mpic>;
137 interrupts = <20 2>;
138 };
139 dma-channel@80 {
140 compatible = "fsl,mpc8568-dma-channel",
141 "fsl,eloplus-dma-channel";
142 reg = <0x80 0x80>;
143 cell-index = <1>;
144 interrupt-parent = <&mpic>;
145 interrupts = <21 2>;
146 };
147 dma-channel@100 {
148 compatible = "fsl,mpc8568-dma-channel",
149 "fsl,eloplus-dma-channel";
150 reg = <0x100 0x80>;
151 cell-index = <2>;
152 interrupt-parent = <&mpic>;
153 interrupts = <22 2>;
154 };
155 dma-channel@180 {
156 compatible = "fsl,mpc8568-dma-channel",
157 "fsl,eloplus-dma-channel";
158 reg = <0x180 0x80>;
159 cell-index = <3>;
160 interrupt-parent = <&mpic>;
161 interrupts = <23 2>;
162 };
163 };
164
Kumar Galae77b28e2007-12-12 00:28:35 -0600165 enet0: ethernet@24000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300166 #address-cells = <1>;
167 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600168 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600169 device_type = "network";
170 model = "eTSEC";
171 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500172 reg = <0x24000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300173 ranges = <0x0 0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500174 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500175 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600176 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800177 tbi-handle = <&tbi0>;
Kumar Gala52094872007-02-17 16:04:23 -0600178 phy-handle = <&phy2>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300179
180 mdio@520 {
181 #address-cells = <1>;
182 #size-cells = <0>;
183 compatible = "fsl,gianfar-mdio";
184 reg = <0x520 0x20>;
185
186 phy0: ethernet-phy@7 {
187 interrupt-parent = <&mpic>;
188 interrupts = <1 1>;
189 reg = <0x7>;
190 device_type = "ethernet-phy";
191 };
192 phy1: ethernet-phy@1 {
193 interrupt-parent = <&mpic>;
194 interrupts = <2 1>;
195 reg = <0x1>;
196 device_type = "ethernet-phy";
197 };
198 phy2: ethernet-phy@2 {
199 interrupt-parent = <&mpic>;
200 interrupts = <1 1>;
201 reg = <0x2>;
202 device_type = "ethernet-phy";
203 };
204 phy3: ethernet-phy@3 {
205 interrupt-parent = <&mpic>;
206 interrupts = <2 1>;
207 reg = <0x3>;
208 device_type = "ethernet-phy";
209 };
210 tbi0: tbi-phy@11 {
211 reg = <0x11>;
212 device_type = "tbi-phy";
213 };
214 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600215 };
216
Kumar Galae77b28e2007-12-12 00:28:35 -0600217 enet1: ethernet@25000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300218 #address-cells = <1>;
219 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600220 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600221 device_type = "network";
222 model = "eTSEC";
223 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500224 reg = <0x25000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300225 ranges = <0x0 0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500226 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500227 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600228 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800229 tbi-handle = <&tbi1>;
Kumar Gala52094872007-02-17 16:04:23 -0600230 phy-handle = <&phy3>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300231
232 mdio@520 {
233 #address-cells = <1>;
234 #size-cells = <0>;
235 compatible = "fsl,gianfar-tbi";
236 reg = <0x520 0x20>;
237
238 tbi1: tbi-phy@11 {
239 reg = <0x11>;
240 device_type = "tbi-phy";
241 };
242 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600243 };
244
Kumar Galaea082fa2007-12-12 01:46:12 -0600245 serial0: serial@4500 {
246 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600247 device_type = "serial";
248 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500249 reg = <0x4500 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600250 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500251 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600252 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600253 };
254
Roy Zang10ce8c62007-07-13 17:35:33 +0800255 global-utilities@e0000 { //global utilities block
256 compatible = "fsl,mpc8548-guts";
Kumar Gala32f960e2008-04-17 01:28:15 -0500257 reg = <0xe0000 0x1000>;
Roy Zang10ce8c62007-07-13 17:35:33 +0800258 fsl,has-rstcr;
259 };
260
Kumar Galaea082fa2007-12-12 01:46:12 -0600261 serial1: serial@4600 {
262 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600263 device_type = "serial";
264 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500265 reg = <0x4600 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600266 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500267 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600268 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600269 };
270
271 crypto@30000 {
Kim Phillips3fd44732008-07-08 19:13:33 -0500272 compatible = "fsl,sec2.1", "fsl,sec2.0";
273 reg = <0x30000 0x10000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500274 interrupts = <45 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600275 interrupt-parent = <&mpic>;
Kim Phillips3fd44732008-07-08 19:13:33 -0500276 fsl,num-channels = <4>;
277 fsl,channel-fifo-len = <24>;
278 fsl,exec-units-mask = <0xfe>;
279 fsl,descriptor-types-mask = <0x12b0ebf>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600280 };
281
Kumar Gala52094872007-02-17 16:04:23 -0600282 mpic: pic@40000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600283 interrupt-controller;
284 #address-cells = <0>;
285 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500286 reg = <0x40000 0x40000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600287 compatible = "chrp,open-pic";
288 device_type = "open-pic";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600289 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500290
Kumar Gala12ac4262009-05-08 16:28:42 -0500291 msi@41600 {
292 compatible = "fsl,mpc8568-msi", "fsl,mpic-msi";
293 reg = <0x41600 0x80>;
294 msi-available-ranges = <0 0x100>;
295 interrupts = <
296 0xe0 0
297 0xe1 0
298 0xe2 0
299 0xe3 0
300 0xe4 0
301 0xe5 0
302 0xe6 0
303 0xe7 0>;
304 interrupt-parent = <&mpic>;
305 };
306
Andy Flemingc2882bb2007-02-09 17:28:31 -0600307 par_io@e0100 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500308 reg = <0xe0100 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600309 device_type = "par_io";
310 num-ports = <7>;
311
Kumar Gala52094872007-02-17 16:04:23 -0600312 pio1: ucc_pin@01 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600313 pio-map = <
314 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500315 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
316 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
317 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
318 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
319 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
320 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
321 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
322 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
323 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
324 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
325 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
326 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
327 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
328 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
329 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
330 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
331 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
332 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
333 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
334 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
335 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
336 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
337 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600338 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500339
Kumar Gala52094872007-02-17 16:04:23 -0600340 pio2: ucc_pin@02 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600341 pio-map = <
342 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500343 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
344 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
345 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
346 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
347 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
348 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
349 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
350 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
351 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
352 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
353 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
354 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
355 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
356 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
357 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
358 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
359 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
360 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
361 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
362 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
363 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
364 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
365 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */
366 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */
367 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600368 };
369 };
370 };
371
372 qe@e0080000 {
373 #address-cells = <1>;
374 #size-cells = <1>;
375 device_type = "qe";
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300376 compatible = "fsl,qe";
Kumar Gala32f960e2008-04-17 01:28:15 -0500377 ranges = <0x0 0xe0080000 0x40000>;
378 reg = <0xe0080000 0x480>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600379 brg-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500380 bus-frequency = <396000000>;
Haiying Wang01b14a92009-05-01 15:40:51 -0400381 fsl,qe-num-riscs = <2>;
382 fsl,qe-num-snums = <28>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600383
384 muram@10000 {
Paul Gortmaker390167e2008-01-28 02:27:51 -0500385 #address-cells = <1>;
386 #size-cells = <1>;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300387 compatible = "fsl,qe-muram", "fsl,cpm-muram";
Haiying Wang8bdf5732008-04-17 08:56:02 -0400388 ranges = <0x0 0x10000 0x10000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600389
Paul Gortmaker390167e2008-01-28 02:27:51 -0500390 data-only@0 {
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300391 compatible = "fsl,qe-muram-data",
392 "fsl,cpm-muram-data";
Haiying Wang8bdf5732008-04-17 08:56:02 -0400393 reg = <0x0 0x10000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600394 };
395 };
396
397 spi@4c0 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300398 cell-index = <0>;
399 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500400 reg = <0x4c0 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600401 interrupts = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600402 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600403 mode = "cpu";
404 };
405
406 spi@500 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300407 cell-index = <1>;
408 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500409 reg = <0x500 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600410 interrupts = <1>;
Kumar Gala52094872007-02-17 16:04:23 -0600411 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600412 mode = "cpu";
413 };
414
Kumar Galae77b28e2007-12-12 00:28:35 -0600415 enet2: ucc@2000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600416 device_type = "network";
417 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600418 cell-index = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500419 reg = <0x2000 0x200>;
420 interrupts = <32>;
Kumar Gala52094872007-02-17 16:04:23 -0600421 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500422 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600423 rx-clock-name = "none";
424 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600425 pio-handle = <&pio1>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400426 phy-handle = <&phy0>;
427 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600428 };
429
Kumar Galae77b28e2007-12-12 00:28:35 -0600430 enet3: ucc@3000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600431 device_type = "network";
432 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600433 cell-index = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500434 reg = <0x3000 0x200>;
435 interrupts = <33>;
Kumar Gala52094872007-02-17 16:04:23 -0600436 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500437 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600438 rx-clock-name = "none";
439 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600440 pio-handle = <&pio2>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400441 phy-handle = <&phy1>;
442 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600443 };
444
445 mdio@2120 {
446 #address-cells = <1>;
447 #size-cells = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500448 reg = <0x2120 0x18>;
Anton Vorontsovd0a2f822008-01-24 18:40:01 +0300449 compatible = "fsl,ucc-mdio";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600450
451 /* These are the same PHYs as on
452 * gianfar's MDIO bus */
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400453 qe_phy0: ethernet-phy@07 {
Kumar Gala52094872007-02-17 16:04:23 -0600454 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500455 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500456 reg = <0x7>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600457 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600458 };
Kumar Gala52094872007-02-17 16:04:23 -0600459 qe_phy1: ethernet-phy@01 {
460 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500461 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500462 reg = <0x1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600463 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600464 };
Kumar Gala52094872007-02-17 16:04:23 -0600465 qe_phy2: ethernet-phy@02 {
466 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500467 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500468 reg = <0x2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600469 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600470 };
Kumar Gala52094872007-02-17 16:04:23 -0600471 qe_phy3: ethernet-phy@03 {
472 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500473 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500474 reg = <0x3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600475 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600476 };
477 };
478
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300479 qeic: interrupt-controller@80 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600480 interrupt-controller;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300481 compatible = "fsl,qe-ic";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600482 #address-cells = <0>;
483 #interrupt-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500484 reg = <0x80 0x80>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600485 big-endian;
Kumar Gala32f960e2008-04-17 01:28:15 -0500486 interrupts = <46 2 46 2>; //high:30 low:30
Kumar Gala52094872007-02-17 16:04:23 -0600487 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600488 };
489
490 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500491
Kumar Galaea082fa2007-12-12 01:46:12 -0600492 pci0: pci@e0008000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500493 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500494 interrupt-map = <
495 /* IDSEL 0x12 AD18 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500496 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1
497 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1
498 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1
499 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
Kumar Gala86a04d92007-10-02 09:51:32 -0500500
501 /* IDSEL 0x13 AD19 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500502 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1
503 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1
504 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1
505 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500506
507 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500508 interrupts = <24 2>;
509 bus-range = <0 255>;
510 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
511 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
512 clock-frequency = <66666666>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500513 #interrupt-cells = <1>;
514 #size-cells = <2>;
515 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500516 reg = <0xe0008000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500517 compatible = "fsl,mpc8540-pci";
518 device_type = "pci";
519 };
520
521 /* PCI Express */
Kumar Galaea082fa2007-12-12 01:46:12 -0600522 pci1: pcie@e000a000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500523 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500524 interrupt-map = <
525
526 /* IDSEL 0x0 (PEX) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500527 00000 0x0 0x0 0x1 &mpic 0x0 0x1
528 00000 0x0 0x0 0x2 &mpic 0x1 0x1
529 00000 0x0 0x0 0x3 &mpic 0x2 0x1
530 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500531
532 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500533 interrupts = <26 2>;
534 bus-range = <0 255>;
535 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
536 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
537 clock-frequency = <33333333>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500538 #interrupt-cells = <1>;
539 #size-cells = <2>;
540 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500541 reg = <0xe000a000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500542 compatible = "fsl,mpc8548-pcie";
543 device_type = "pci";
544 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500545 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500546 #size-cells = <2>;
547 #address-cells = <3>;
548 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500549 ranges = <0x2000000 0x0 0xa0000000
550 0x2000000 0x0 0xa0000000
551 0x0 0x10000000
Kumar Gala86a04d92007-10-02 09:51:32 -0500552
Kumar Gala32f960e2008-04-17 01:28:15 -0500553 0x1000000 0x0 0x0
554 0x1000000 0x0 0x0
555 0x0 0x800000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500556 };
557 };
Anton Vorontsov5e8306f2009-05-02 06:16:56 +0400558
559 rio0: rapidio@e00c00000 {
560 #address-cells = <2>;
561 #size-cells = <2>;
562 compatible = "fsl,mpc8568-rapidio", "fsl,rapidio-delta";
563 reg = <0xe00c0000 0x20000>;
564 ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
565 interrupts = <48 2 /* error */
566 49 2 /* bell_outb */
567 50 2 /* bell_inb */
568 53 2 /* msg1_tx */
569 54 2 /* msg1_rx */
570 55 2 /* msg2_tx */
571 56 2 /* msg2_rx */>;
572 interrupt-parent = <&mpic>;
573 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600574};