blob: 647daf8e7291cf0562b3ad5bf72b8df424cab49f [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
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +040043 sleep = <&pmc 0x00008000 // core
44 &pmc 0x00004000>; // timebase
Andy Flemingc2882bb2007-02-09 17:28:31 -060045 timebase-frequency = <0>;
46 bus-frequency = <0>;
47 clock-frequency = <0>;
Kumar Galac0540652008-05-30 13:43:43 -050048 next-level-cache = <&L2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060049 };
50 };
51
52 memory {
53 device_type = "memory";
Kumar Gala32f960e2008-04-17 01:28:15 -050054 reg = <0x0 0x10000000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060055 };
56
Anton Vorontsove98efaf2010-02-06 00:06:26 +030057 localbus@e0005000 {
58 #address-cells = <2>;
59 #size-cells = <1>;
60 compatible = "fsl,mpc8568-localbus", "fsl,pq3-localbus",
61 "simple-bus";
62 reg = <0xe0005000 0x1000>;
Dmitry Eremin-Solenikovc0f58952011-06-01 19:15:18 +040063 interrupt-parent = <&mpic>;
64 interrupts = <19 2>;
Anton Vorontsove98efaf2010-02-06 00:06:26 +030065
66 ranges = <0x0 0x0 0xfe000000 0x02000000
67 0x1 0x0 0xf8000000 0x00008000
68 0x2 0x0 0xf0000000 0x04000000
69 0x4 0x0 0xf8008000 0x00008000
70 0x5 0x0 0xf8010000 0x00008000>;
71
72 nor@0,0 {
73 #address-cells = <1>;
74 #size-cells = <1>;
75 compatible = "cfi-flash";
76 reg = <0x0 0x0 0x02000000>;
77 bank-width = <2>;
78 device-width = <2>;
79 };
80
81 bcsr@1,0 {
82 #address-cells = <1>;
83 #size-cells = <1>;
84 compatible = "fsl,mpc8568mds-bcsr";
85 reg = <1 0 0x8000>;
86 ranges = <0 1 0 0x8000>;
87
88 bcsr5: gpio-controller@11 {
89 #gpio-cells = <2>;
90 compatible = "fsl,mpc8568mds-bcsr-gpio";
91 reg = <0x5 0x1>;
92 gpio-controller;
93 };
94 };
95
96 pib@4,0 {
97 compatible = "fsl,mpc8568mds-pib";
98 reg = <4 0 0x8000>;
99 };
100
101 pib@5,0 {
102 compatible = "fsl,mpc8568mds-pib";
103 reg = <5 0 0x8000>;
104 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600105 };
106
107 soc8568@e0000000 {
108 #address-cells = <1>;
109 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600110 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -0500111 compatible = "simple-bus";
Kumar Gala32f960e2008-04-17 01:28:15 -0500112 ranges = <0x0 0xe0000000 0x100000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600113 bus-frequency = <0>;
114
Kumar Galae1a22892009-04-22 13:17:42 -0500115 ecm-law@0 {
116 compatible = "fsl,ecm-law";
117 reg = <0x0 0x1000>;
118 fsl,num-laws = <10>;
119 };
120
121 ecm@1000 {
122 compatible = "fsl,mpc8568-ecm", "fsl,ecm";
123 reg = <0x1000 0x1000>;
124 interrupts = <17 2>;
125 interrupt-parent = <&mpic>;
126 };
127
Kumar Gala4da421d2007-05-15 13:20:05 -0500128 memory-controller@2000 {
Bradley Hughes8a4ab212010-07-21 12:04:06 +0000129 compatible = "fsl,mpc8568-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500130 reg = <0x2000 0x1000>;
Kumar Gala4da421d2007-05-15 13:20:05 -0500131 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500132 interrupts = <18 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -0500133 };
134
Kumar Galac0540652008-05-30 13:43:43 -0500135 L2: l2-cache-controller@20000 {
Bradley Hughes8a4ab212010-07-21 12:04:06 +0000136 compatible = "fsl,mpc8568-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500137 reg = <0x20000 0x1000>;
138 cache-line-size = <32>; // 32 bytes
139 cache-size = <0x80000>; // L2, 512K
Kumar Gala4da421d2007-05-15 13:20:05 -0500140 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500141 interrupts = <16 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -0500142 };
143
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400144 i2c-sleep-nexus {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400145 #address-cells = <1>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400146 #size-cells = <1>;
147 compatible = "simple-bus";
148 sleep = <&pmc 0x00000004>;
149 ranges;
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400150
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400151 i2c@3000 {
152 #address-cells = <1>;
153 #size-cells = <0>;
154 cell-index = <0>;
155 compatible = "fsl-i2c";
156 reg = <0x3000 0x100>;
157 interrupts = <43 2>;
158 interrupt-parent = <&mpic>;
159 dfsrr;
160
161 rtc@68 {
162 compatible = "dallas,ds1374";
163 reg = <0x68>;
164 interrupts = <3 1>;
165 interrupt-parent = <&mpic>;
166 };
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400167 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600168
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400169 i2c@3100 {
170 #address-cells = <1>;
171 #size-cells = <0>;
172 cell-index = <1>;
173 compatible = "fsl-i2c";
174 reg = <0x3100 0x100>;
175 interrupts = <43 2>;
176 interrupt-parent = <&mpic>;
177 dfsrr;
178 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600179 };
180
Kumar Galadee80552008-06-27 13:45:19 -0500181 dma@21300 {
182 #address-cells = <1>;
183 #size-cells = <1>;
184 compatible = "fsl,mpc8568-dma", "fsl,eloplus-dma";
185 reg = <0x21300 0x4>;
186 ranges = <0x0 0x21100 0x200>;
187 cell-index = <0>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400188 sleep = <&pmc 0x00000400>;
189
Kumar Galadee80552008-06-27 13:45:19 -0500190 dma-channel@0 {
191 compatible = "fsl,mpc8568-dma-channel",
192 "fsl,eloplus-dma-channel";
193 reg = <0x0 0x80>;
194 cell-index = <0>;
195 interrupt-parent = <&mpic>;
196 interrupts = <20 2>;
197 };
198 dma-channel@80 {
199 compatible = "fsl,mpc8568-dma-channel",
200 "fsl,eloplus-dma-channel";
201 reg = <0x80 0x80>;
202 cell-index = <1>;
203 interrupt-parent = <&mpic>;
204 interrupts = <21 2>;
205 };
206 dma-channel@100 {
207 compatible = "fsl,mpc8568-dma-channel",
208 "fsl,eloplus-dma-channel";
209 reg = <0x100 0x80>;
210 cell-index = <2>;
211 interrupt-parent = <&mpic>;
212 interrupts = <22 2>;
213 };
214 dma-channel@180 {
215 compatible = "fsl,mpc8568-dma-channel",
216 "fsl,eloplus-dma-channel";
217 reg = <0x180 0x80>;
218 cell-index = <3>;
219 interrupt-parent = <&mpic>;
220 interrupts = <23 2>;
221 };
222 };
223
Kumar Galae77b28e2007-12-12 00:28:35 -0600224 enet0: ethernet@24000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300225 #address-cells = <1>;
226 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600227 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600228 device_type = "network";
229 model = "eTSEC";
230 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500231 reg = <0x24000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300232 ranges = <0x0 0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500233 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500234 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600235 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800236 tbi-handle = <&tbi0>;
Kumar Gala52094872007-02-17 16:04:23 -0600237 phy-handle = <&phy2>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400238 sleep = <&pmc 0x00000080>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300239
240 mdio@520 {
241 #address-cells = <1>;
242 #size-cells = <0>;
243 compatible = "fsl,gianfar-mdio";
244 reg = <0x520 0x20>;
245
246 phy0: ethernet-phy@7 {
247 interrupt-parent = <&mpic>;
248 interrupts = <1 1>;
249 reg = <0x7>;
250 device_type = "ethernet-phy";
251 };
252 phy1: ethernet-phy@1 {
253 interrupt-parent = <&mpic>;
254 interrupts = <2 1>;
255 reg = <0x1>;
256 device_type = "ethernet-phy";
257 };
258 phy2: ethernet-phy@2 {
259 interrupt-parent = <&mpic>;
260 interrupts = <1 1>;
261 reg = <0x2>;
262 device_type = "ethernet-phy";
263 };
264 phy3: ethernet-phy@3 {
265 interrupt-parent = <&mpic>;
266 interrupts = <2 1>;
267 reg = <0x3>;
268 device_type = "ethernet-phy";
269 };
270 tbi0: tbi-phy@11 {
271 reg = <0x11>;
272 device_type = "tbi-phy";
273 };
274 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600275 };
276
Kumar Galae77b28e2007-12-12 00:28:35 -0600277 enet1: ethernet@25000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300278 #address-cells = <1>;
279 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600280 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600281 device_type = "network";
282 model = "eTSEC";
283 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500284 reg = <0x25000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300285 ranges = <0x0 0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500286 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500287 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600288 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800289 tbi-handle = <&tbi1>;
Kumar Gala52094872007-02-17 16:04:23 -0600290 phy-handle = <&phy3>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400291 sleep = <&pmc 0x00000040>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300292
293 mdio@520 {
294 #address-cells = <1>;
295 #size-cells = <0>;
296 compatible = "fsl,gianfar-tbi";
297 reg = <0x520 0x20>;
298
299 tbi1: tbi-phy@11 {
300 reg = <0x11>;
301 device_type = "tbi-phy";
302 };
303 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600304 };
305
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400306 duart-sleep-nexus {
307 #address-cells = <1>;
308 #size-cells = <1>;
309 compatible = "simple-bus";
310 sleep = <&pmc 0x00000002>;
311 ranges;
312
313 serial0: serial@4500 {
314 cell-index = <0>;
315 device_type = "serial";
316 compatible = "ns16550";
317 reg = <0x4500 0x100>;
318 clock-frequency = <0>;
319 interrupts = <42 2>;
320 interrupt-parent = <&mpic>;
321 };
322
323 serial1: serial@4600 {
324 cell-index = <1>;
325 device_type = "serial";
326 compatible = "ns16550";
327 reg = <0x4600 0x100>;
328 clock-frequency = <0>;
329 interrupts = <42 2>;
330 interrupt-parent = <&mpic>;
331 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600332 };
333
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400334 global-utilities@e0000 {
335 #address-cells = <1>;
336 #size-cells = <1>;
337 compatible = "fsl,mpc8568-guts", "fsl,mpc8548-guts";
Kumar Gala32f960e2008-04-17 01:28:15 -0500338 reg = <0xe0000 0x1000>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400339 ranges = <0 0xe0000 0x1000>;
Roy Zang10ce8c62007-07-13 17:35:33 +0800340 fsl,has-rstcr;
Roy Zang10ce8c62007-07-13 17:35:33 +0800341
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400342 pmc: power@70 {
343 compatible = "fsl,mpc8568-pmc",
344 "fsl,mpc8548-pmc";
345 reg = <0x70 0x20>;
346 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600347 };
348
349 crypto@30000 {
Kim Phillips3fd44732008-07-08 19:13:33 -0500350 compatible = "fsl,sec2.1", "fsl,sec2.0";
351 reg = <0x30000 0x10000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500352 interrupts = <45 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600353 interrupt-parent = <&mpic>;
Kim Phillips3fd44732008-07-08 19:13:33 -0500354 fsl,num-channels = <4>;
355 fsl,channel-fifo-len = <24>;
356 fsl,exec-units-mask = <0xfe>;
357 fsl,descriptor-types-mask = <0x12b0ebf>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400358 sleep = <&pmc 0x01000000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600359 };
360
Kumar Gala52094872007-02-17 16:04:23 -0600361 mpic: pic@40000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600362 interrupt-controller;
363 #address-cells = <0>;
364 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500365 reg = <0x40000 0x40000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600366 compatible = "chrp,open-pic";
367 device_type = "open-pic";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600368 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500369
Kumar Gala12ac4262009-05-08 16:28:42 -0500370 msi@41600 {
371 compatible = "fsl,mpc8568-msi", "fsl,mpic-msi";
372 reg = <0x41600 0x80>;
373 msi-available-ranges = <0 0x100>;
374 interrupts = <
375 0xe0 0
376 0xe1 0
377 0xe2 0
378 0xe3 0
379 0xe4 0
380 0xe5 0
381 0xe6 0
382 0xe7 0>;
383 interrupt-parent = <&mpic>;
384 };
385
Andy Flemingc2882bb2007-02-09 17:28:31 -0600386 par_io@e0100 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500387 reg = <0xe0100 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600388 device_type = "par_io";
389 num-ports = <7>;
390
Kumar Gala52094872007-02-17 16:04:23 -0600391 pio1: ucc_pin@01 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600392 pio-map = <
393 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500394 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
395 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
396 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
397 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
398 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
399 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
400 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
401 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
402 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
403 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
404 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
405 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
406 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
407 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
408 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
409 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
410 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
411 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
412 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
413 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
414 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
415 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
416 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600417 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500418
Kumar Gala52094872007-02-17 16:04:23 -0600419 pio2: ucc_pin@02 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600420 pio-map = <
421 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500422 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
423 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
424 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
425 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
426 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
427 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
428 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
429 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
430 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
431 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
432 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
433 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
434 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
435 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
436 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
437 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
438 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
439 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
440 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
441 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
442 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
443 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
444 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */
445 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */
446 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600447 };
448 };
449 };
450
451 qe@e0080000 {
452 #address-cells = <1>;
453 #size-cells = <1>;
454 device_type = "qe";
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300455 compatible = "fsl,qe";
Kumar Gala32f960e2008-04-17 01:28:15 -0500456 ranges = <0x0 0xe0080000 0x40000>;
457 reg = <0xe0080000 0x480>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400458 sleep = <&pmc 0x00000800>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600459 brg-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500460 bus-frequency = <396000000>;
Haiying Wang01b14a92009-05-01 15:40:51 -0400461 fsl,qe-num-riscs = <2>;
462 fsl,qe-num-snums = <28>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600463
464 muram@10000 {
Paul Gortmaker390167e2008-01-28 02:27:51 -0500465 #address-cells = <1>;
466 #size-cells = <1>;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300467 compatible = "fsl,qe-muram", "fsl,cpm-muram";
Haiying Wang8bdf5732008-04-17 08:56:02 -0400468 ranges = <0x0 0x10000 0x10000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600469
Paul Gortmaker390167e2008-01-28 02:27:51 -0500470 data-only@0 {
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300471 compatible = "fsl,qe-muram-data",
472 "fsl,cpm-muram-data";
Haiying Wang8bdf5732008-04-17 08:56:02 -0400473 reg = <0x0 0x10000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600474 };
475 };
476
477 spi@4c0 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300478 cell-index = <0>;
479 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500480 reg = <0x4c0 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600481 interrupts = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600482 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600483 mode = "cpu";
484 };
485
486 spi@500 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300487 cell-index = <1>;
488 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500489 reg = <0x500 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600490 interrupts = <1>;
Kumar Gala52094872007-02-17 16:04:23 -0600491 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600492 mode = "cpu";
493 };
494
Kumar Galae77b28e2007-12-12 00:28:35 -0600495 enet2: ucc@2000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600496 device_type = "network";
497 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600498 cell-index = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500499 reg = <0x2000 0x200>;
500 interrupts = <32>;
Kumar Gala52094872007-02-17 16:04:23 -0600501 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500502 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600503 rx-clock-name = "none";
504 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600505 pio-handle = <&pio1>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400506 phy-handle = <&phy0>;
507 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600508 };
509
Kumar Galae77b28e2007-12-12 00:28:35 -0600510 enet3: ucc@3000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600511 device_type = "network";
512 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600513 cell-index = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500514 reg = <0x3000 0x200>;
515 interrupts = <33>;
Kumar Gala52094872007-02-17 16:04:23 -0600516 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500517 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600518 rx-clock-name = "none";
519 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600520 pio-handle = <&pio2>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400521 phy-handle = <&phy1>;
522 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600523 };
524
525 mdio@2120 {
526 #address-cells = <1>;
527 #size-cells = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500528 reg = <0x2120 0x18>;
Anton Vorontsovd0a2f822008-01-24 18:40:01 +0300529 compatible = "fsl,ucc-mdio";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600530
531 /* These are the same PHYs as on
532 * gianfar's MDIO bus */
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400533 qe_phy0: ethernet-phy@07 {
Kumar Gala52094872007-02-17 16:04:23 -0600534 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500535 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500536 reg = <0x7>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600537 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600538 };
Kumar Gala52094872007-02-17 16:04:23 -0600539 qe_phy1: ethernet-phy@01 {
540 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500541 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500542 reg = <0x1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600543 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600544 };
Kumar Gala52094872007-02-17 16:04:23 -0600545 qe_phy2: ethernet-phy@02 {
546 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500547 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500548 reg = <0x2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600549 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600550 };
Kumar Gala52094872007-02-17 16:04:23 -0600551 qe_phy3: ethernet-phy@03 {
552 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500553 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500554 reg = <0x3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600555 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600556 };
557 };
558
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300559 qeic: interrupt-controller@80 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600560 interrupt-controller;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300561 compatible = "fsl,qe-ic";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600562 #address-cells = <0>;
563 #interrupt-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500564 reg = <0x80 0x80>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600565 big-endian;
Kumar Gala32f960e2008-04-17 01:28:15 -0500566 interrupts = <46 2 46 2>; //high:30 low:30
Kumar Gala52094872007-02-17 16:04:23 -0600567 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600568 };
569
570 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500571
Kumar Galaea082fa2007-12-12 01:46:12 -0600572 pci0: pci@e0008000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500573 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500574 interrupt-map = <
575 /* IDSEL 0x12 AD18 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500576 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1
577 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1
578 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1
579 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
Kumar Gala86a04d92007-10-02 09:51:32 -0500580
581 /* IDSEL 0x13 AD19 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500582 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1
583 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1
584 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1
585 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500586
587 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500588 interrupts = <24 2>;
589 bus-range = <0 255>;
590 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
591 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400592 sleep = <&pmc 0x80000000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500593 clock-frequency = <66666666>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500594 #interrupt-cells = <1>;
595 #size-cells = <2>;
596 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500597 reg = <0xe0008000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500598 compatible = "fsl,mpc8540-pci";
599 device_type = "pci";
600 };
601
602 /* PCI Express */
Kumar Galaea082fa2007-12-12 01:46:12 -0600603 pci1: pcie@e000a000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500604 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500605 interrupt-map = <
606
607 /* IDSEL 0x0 (PEX) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500608 00000 0x0 0x0 0x1 &mpic 0x0 0x1
609 00000 0x0 0x0 0x2 &mpic 0x1 0x1
610 00000 0x0 0x0 0x3 &mpic 0x2 0x1
611 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500612
613 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500614 interrupts = <26 2>;
615 bus-range = <0 255>;
616 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
617 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400618 sleep = <&pmc 0x20000000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500619 clock-frequency = <33333333>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500620 #interrupt-cells = <1>;
621 #size-cells = <2>;
622 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500623 reg = <0xe000a000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500624 compatible = "fsl,mpc8548-pcie";
625 device_type = "pci";
626 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500627 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500628 #size-cells = <2>;
629 #address-cells = <3>;
630 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500631 ranges = <0x2000000 0x0 0xa0000000
632 0x2000000 0x0 0xa0000000
633 0x0 0x10000000
Kumar Gala86a04d92007-10-02 09:51:32 -0500634
Kumar Gala32f960e2008-04-17 01:28:15 -0500635 0x1000000 0x0 0x0
636 0x1000000 0x0 0x0
637 0x0 0x800000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500638 };
639 };
Anton Vorontsov5e8306f2009-05-02 06:16:56 +0400640
641 rio0: rapidio@e00c00000 {
642 #address-cells = <2>;
643 #size-cells = <2>;
644 compatible = "fsl,mpc8568-rapidio", "fsl,rapidio-delta";
645 reg = <0xe00c0000 0x20000>;
646 ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
647 interrupts = <48 2 /* error */
648 49 2 /* bell_outb */
649 50 2 /* bell_inb */
650 53 2 /* msg1_tx */
651 54 2 /* msg1_rx */
652 55 2 /* msg2_tx */
653 56 2 /* msg2_rx */>;
654 interrupt-parent = <&mpic>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400655 sleep = <&pmc 0x00080000 /* controller */
656 &pmc 0x00040000>; /* message unit */
Anton Vorontsov5e8306f2009-05-02 06:16:56 +0400657 };
Anton Vorontsove98efaf2010-02-06 00:06:26 +0300658
659 leds {
660 compatible = "gpio-leds";
661
662 green {
663 gpios = <&bcsr5 1 0>;
664 };
665
666 amber {
667 gpios = <&bcsr5 2 0>;
668 };
669
670 red {
671 gpios = <&bcsr5 3 0>;
672 };
673 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600674};