blob: 30cf0e098bb96f9d1aaa70c56a12fccabe17b694 [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>;
63
64 ranges = <0x0 0x0 0xfe000000 0x02000000
65 0x1 0x0 0xf8000000 0x00008000
66 0x2 0x0 0xf0000000 0x04000000
67 0x4 0x0 0xf8008000 0x00008000
68 0x5 0x0 0xf8010000 0x00008000>;
69
70 nor@0,0 {
71 #address-cells = <1>;
72 #size-cells = <1>;
73 compatible = "cfi-flash";
74 reg = <0x0 0x0 0x02000000>;
75 bank-width = <2>;
76 device-width = <2>;
77 };
78
79 bcsr@1,0 {
80 #address-cells = <1>;
81 #size-cells = <1>;
82 compatible = "fsl,mpc8568mds-bcsr";
83 reg = <1 0 0x8000>;
84 ranges = <0 1 0 0x8000>;
85
86 bcsr5: gpio-controller@11 {
87 #gpio-cells = <2>;
88 compatible = "fsl,mpc8568mds-bcsr-gpio";
89 reg = <0x5 0x1>;
90 gpio-controller;
91 };
92 };
93
94 pib@4,0 {
95 compatible = "fsl,mpc8568mds-pib";
96 reg = <4 0 0x8000>;
97 };
98
99 pib@5,0 {
100 compatible = "fsl,mpc8568mds-pib";
101 reg = <5 0 0x8000>;
102 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600103 };
104
105 soc8568@e0000000 {
106 #address-cells = <1>;
107 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600108 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -0500109 compatible = "simple-bus";
Kumar Gala32f960e2008-04-17 01:28:15 -0500110 ranges = <0x0 0xe0000000 0x100000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600111 bus-frequency = <0>;
112
Kumar Galae1a22892009-04-22 13:17:42 -0500113 ecm-law@0 {
114 compatible = "fsl,ecm-law";
115 reg = <0x0 0x1000>;
116 fsl,num-laws = <10>;
117 };
118
119 ecm@1000 {
120 compatible = "fsl,mpc8568-ecm", "fsl,ecm";
121 reg = <0x1000 0x1000>;
122 interrupts = <17 2>;
123 interrupt-parent = <&mpic>;
124 };
125
Kumar Gala4da421d2007-05-15 13:20:05 -0500126 memory-controller@2000 {
Bradley Hughes8a4ab212010-07-21 12:04:06 +0000127 compatible = "fsl,mpc8568-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500128 reg = <0x2000 0x1000>;
Kumar Gala4da421d2007-05-15 13:20:05 -0500129 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500130 interrupts = <18 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -0500131 };
132
Kumar Galac0540652008-05-30 13:43:43 -0500133 L2: l2-cache-controller@20000 {
Bradley Hughes8a4ab212010-07-21 12:04:06 +0000134 compatible = "fsl,mpc8568-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500135 reg = <0x20000 0x1000>;
136 cache-line-size = <32>; // 32 bytes
137 cache-size = <0x80000>; // L2, 512K
Kumar Gala4da421d2007-05-15 13:20:05 -0500138 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500139 interrupts = <16 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -0500140 };
141
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400142 i2c-sleep-nexus {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400143 #address-cells = <1>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400144 #size-cells = <1>;
145 compatible = "simple-bus";
146 sleep = <&pmc 0x00000004>;
147 ranges;
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400148
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400149 i2c@3000 {
150 #address-cells = <1>;
151 #size-cells = <0>;
152 cell-index = <0>;
153 compatible = "fsl-i2c";
154 reg = <0x3000 0x100>;
155 interrupts = <43 2>;
156 interrupt-parent = <&mpic>;
157 dfsrr;
158
159 rtc@68 {
160 compatible = "dallas,ds1374";
161 reg = <0x68>;
162 interrupts = <3 1>;
163 interrupt-parent = <&mpic>;
164 };
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400165 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600166
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400167 i2c@3100 {
168 #address-cells = <1>;
169 #size-cells = <0>;
170 cell-index = <1>;
171 compatible = "fsl-i2c";
172 reg = <0x3100 0x100>;
173 interrupts = <43 2>;
174 interrupt-parent = <&mpic>;
175 dfsrr;
176 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600177 };
178
Kumar Galadee80552008-06-27 13:45:19 -0500179 dma@21300 {
180 #address-cells = <1>;
181 #size-cells = <1>;
182 compatible = "fsl,mpc8568-dma", "fsl,eloplus-dma";
183 reg = <0x21300 0x4>;
184 ranges = <0x0 0x21100 0x200>;
185 cell-index = <0>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400186 sleep = <&pmc 0x00000400>;
187
Kumar Galadee80552008-06-27 13:45:19 -0500188 dma-channel@0 {
189 compatible = "fsl,mpc8568-dma-channel",
190 "fsl,eloplus-dma-channel";
191 reg = <0x0 0x80>;
192 cell-index = <0>;
193 interrupt-parent = <&mpic>;
194 interrupts = <20 2>;
195 };
196 dma-channel@80 {
197 compatible = "fsl,mpc8568-dma-channel",
198 "fsl,eloplus-dma-channel";
199 reg = <0x80 0x80>;
200 cell-index = <1>;
201 interrupt-parent = <&mpic>;
202 interrupts = <21 2>;
203 };
204 dma-channel@100 {
205 compatible = "fsl,mpc8568-dma-channel",
206 "fsl,eloplus-dma-channel";
207 reg = <0x100 0x80>;
208 cell-index = <2>;
209 interrupt-parent = <&mpic>;
210 interrupts = <22 2>;
211 };
212 dma-channel@180 {
213 compatible = "fsl,mpc8568-dma-channel",
214 "fsl,eloplus-dma-channel";
215 reg = <0x180 0x80>;
216 cell-index = <3>;
217 interrupt-parent = <&mpic>;
218 interrupts = <23 2>;
219 };
220 };
221
Kumar Galae77b28e2007-12-12 00:28:35 -0600222 enet0: ethernet@24000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300223 #address-cells = <1>;
224 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600225 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600226 device_type = "network";
227 model = "eTSEC";
228 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500229 reg = <0x24000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300230 ranges = <0x0 0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500231 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500232 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600233 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800234 tbi-handle = <&tbi0>;
Kumar Gala52094872007-02-17 16:04:23 -0600235 phy-handle = <&phy2>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400236 sleep = <&pmc 0x00000080>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300237
238 mdio@520 {
239 #address-cells = <1>;
240 #size-cells = <0>;
241 compatible = "fsl,gianfar-mdio";
242 reg = <0x520 0x20>;
243
244 phy0: ethernet-phy@7 {
245 interrupt-parent = <&mpic>;
246 interrupts = <1 1>;
247 reg = <0x7>;
248 device_type = "ethernet-phy";
249 };
250 phy1: ethernet-phy@1 {
251 interrupt-parent = <&mpic>;
252 interrupts = <2 1>;
253 reg = <0x1>;
254 device_type = "ethernet-phy";
255 };
256 phy2: ethernet-phy@2 {
257 interrupt-parent = <&mpic>;
258 interrupts = <1 1>;
259 reg = <0x2>;
260 device_type = "ethernet-phy";
261 };
262 phy3: ethernet-phy@3 {
263 interrupt-parent = <&mpic>;
264 interrupts = <2 1>;
265 reg = <0x3>;
266 device_type = "ethernet-phy";
267 };
268 tbi0: tbi-phy@11 {
269 reg = <0x11>;
270 device_type = "tbi-phy";
271 };
272 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600273 };
274
Kumar Galae77b28e2007-12-12 00:28:35 -0600275 enet1: ethernet@25000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300276 #address-cells = <1>;
277 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600278 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600279 device_type = "network";
280 model = "eTSEC";
281 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500282 reg = <0x25000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300283 ranges = <0x0 0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500284 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500285 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600286 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800287 tbi-handle = <&tbi1>;
Kumar Gala52094872007-02-17 16:04:23 -0600288 phy-handle = <&phy3>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400289 sleep = <&pmc 0x00000040>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300290
291 mdio@520 {
292 #address-cells = <1>;
293 #size-cells = <0>;
294 compatible = "fsl,gianfar-tbi";
295 reg = <0x520 0x20>;
296
297 tbi1: tbi-phy@11 {
298 reg = <0x11>;
299 device_type = "tbi-phy";
300 };
301 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600302 };
303
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400304 duart-sleep-nexus {
305 #address-cells = <1>;
306 #size-cells = <1>;
307 compatible = "simple-bus";
308 sleep = <&pmc 0x00000002>;
309 ranges;
310
311 serial0: serial@4500 {
312 cell-index = <0>;
313 device_type = "serial";
314 compatible = "ns16550";
315 reg = <0x4500 0x100>;
316 clock-frequency = <0>;
317 interrupts = <42 2>;
318 interrupt-parent = <&mpic>;
319 };
320
321 serial1: serial@4600 {
322 cell-index = <1>;
323 device_type = "serial";
324 compatible = "ns16550";
325 reg = <0x4600 0x100>;
326 clock-frequency = <0>;
327 interrupts = <42 2>;
328 interrupt-parent = <&mpic>;
329 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600330 };
331
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400332 global-utilities@e0000 {
333 #address-cells = <1>;
334 #size-cells = <1>;
335 compatible = "fsl,mpc8568-guts", "fsl,mpc8548-guts";
Kumar Gala32f960e2008-04-17 01:28:15 -0500336 reg = <0xe0000 0x1000>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400337 ranges = <0 0xe0000 0x1000>;
Roy Zang10ce8c62007-07-13 17:35:33 +0800338 fsl,has-rstcr;
Roy Zang10ce8c62007-07-13 17:35:33 +0800339
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400340 pmc: power@70 {
341 compatible = "fsl,mpc8568-pmc",
342 "fsl,mpc8548-pmc";
343 reg = <0x70 0x20>;
344 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600345 };
346
347 crypto@30000 {
Kim Phillips3fd44732008-07-08 19:13:33 -0500348 compatible = "fsl,sec2.1", "fsl,sec2.0";
349 reg = <0x30000 0x10000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500350 interrupts = <45 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600351 interrupt-parent = <&mpic>;
Kim Phillips3fd44732008-07-08 19:13:33 -0500352 fsl,num-channels = <4>;
353 fsl,channel-fifo-len = <24>;
354 fsl,exec-units-mask = <0xfe>;
355 fsl,descriptor-types-mask = <0x12b0ebf>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400356 sleep = <&pmc 0x01000000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600357 };
358
Kumar Gala52094872007-02-17 16:04:23 -0600359 mpic: pic@40000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600360 interrupt-controller;
361 #address-cells = <0>;
362 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500363 reg = <0x40000 0x40000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600364 compatible = "chrp,open-pic";
365 device_type = "open-pic";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600366 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500367
Kumar Gala12ac4262009-05-08 16:28:42 -0500368 msi@41600 {
369 compatible = "fsl,mpc8568-msi", "fsl,mpic-msi";
370 reg = <0x41600 0x80>;
371 msi-available-ranges = <0 0x100>;
372 interrupts = <
373 0xe0 0
374 0xe1 0
375 0xe2 0
376 0xe3 0
377 0xe4 0
378 0xe5 0
379 0xe6 0
380 0xe7 0>;
381 interrupt-parent = <&mpic>;
382 };
383
Andy Flemingc2882bb2007-02-09 17:28:31 -0600384 par_io@e0100 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500385 reg = <0xe0100 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600386 device_type = "par_io";
387 num-ports = <7>;
388
Kumar Gala52094872007-02-17 16:04:23 -0600389 pio1: ucc_pin@01 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600390 pio-map = <
391 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500392 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
393 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
394 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
395 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
396 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
397 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
398 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
399 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
400 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
401 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
402 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
403 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
404 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
405 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
406 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
407 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
408 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
409 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
410 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
411 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
412 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
413 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
414 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600415 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500416
Kumar Gala52094872007-02-17 16:04:23 -0600417 pio2: ucc_pin@02 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600418 pio-map = <
419 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500420 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
421 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
422 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
423 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
424 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
425 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
426 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
427 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
428 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
429 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
430 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
431 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
432 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
433 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
434 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
435 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
436 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
437 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
438 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
439 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
440 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
441 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
442 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */
443 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */
444 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600445 };
446 };
447 };
448
449 qe@e0080000 {
450 #address-cells = <1>;
451 #size-cells = <1>;
452 device_type = "qe";
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300453 compatible = "fsl,qe";
Kumar Gala32f960e2008-04-17 01:28:15 -0500454 ranges = <0x0 0xe0080000 0x40000>;
455 reg = <0xe0080000 0x480>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400456 sleep = <&pmc 0x00000800>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600457 brg-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500458 bus-frequency = <396000000>;
Haiying Wang01b14a92009-05-01 15:40:51 -0400459 fsl,qe-num-riscs = <2>;
460 fsl,qe-num-snums = <28>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600461
462 muram@10000 {
Paul Gortmaker390167e2008-01-28 02:27:51 -0500463 #address-cells = <1>;
464 #size-cells = <1>;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300465 compatible = "fsl,qe-muram", "fsl,cpm-muram";
Haiying Wang8bdf5732008-04-17 08:56:02 -0400466 ranges = <0x0 0x10000 0x10000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600467
Paul Gortmaker390167e2008-01-28 02:27:51 -0500468 data-only@0 {
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300469 compatible = "fsl,qe-muram-data",
470 "fsl,cpm-muram-data";
Haiying Wang8bdf5732008-04-17 08:56:02 -0400471 reg = <0x0 0x10000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600472 };
473 };
474
475 spi@4c0 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300476 cell-index = <0>;
477 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500478 reg = <0x4c0 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600479 interrupts = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600480 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600481 mode = "cpu";
482 };
483
484 spi@500 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300485 cell-index = <1>;
486 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500487 reg = <0x500 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600488 interrupts = <1>;
Kumar Gala52094872007-02-17 16:04:23 -0600489 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600490 mode = "cpu";
491 };
492
Kumar Galae77b28e2007-12-12 00:28:35 -0600493 enet2: ucc@2000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600494 device_type = "network";
495 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600496 cell-index = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500497 reg = <0x2000 0x200>;
498 interrupts = <32>;
Kumar Gala52094872007-02-17 16:04:23 -0600499 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500500 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600501 rx-clock-name = "none";
502 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600503 pio-handle = <&pio1>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400504 phy-handle = <&phy0>;
505 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600506 };
507
Kumar Galae77b28e2007-12-12 00:28:35 -0600508 enet3: ucc@3000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600509 device_type = "network";
510 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600511 cell-index = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500512 reg = <0x3000 0x200>;
513 interrupts = <33>;
Kumar Gala52094872007-02-17 16:04:23 -0600514 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500515 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600516 rx-clock-name = "none";
517 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600518 pio-handle = <&pio2>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400519 phy-handle = <&phy1>;
520 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600521 };
522
523 mdio@2120 {
524 #address-cells = <1>;
525 #size-cells = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500526 reg = <0x2120 0x18>;
Anton Vorontsovd0a2f822008-01-24 18:40:01 +0300527 compatible = "fsl,ucc-mdio";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600528
529 /* These are the same PHYs as on
530 * gianfar's MDIO bus */
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400531 qe_phy0: ethernet-phy@07 {
Kumar Gala52094872007-02-17 16:04:23 -0600532 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500533 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500534 reg = <0x7>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600535 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600536 };
Kumar Gala52094872007-02-17 16:04:23 -0600537 qe_phy1: ethernet-phy@01 {
538 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500539 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500540 reg = <0x1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600541 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600542 };
Kumar Gala52094872007-02-17 16:04:23 -0600543 qe_phy2: ethernet-phy@02 {
544 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500545 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500546 reg = <0x2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600547 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600548 };
Kumar Gala52094872007-02-17 16:04:23 -0600549 qe_phy3: ethernet-phy@03 {
550 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500551 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500552 reg = <0x3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600553 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600554 };
555 };
556
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300557 qeic: interrupt-controller@80 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600558 interrupt-controller;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300559 compatible = "fsl,qe-ic";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600560 #address-cells = <0>;
561 #interrupt-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500562 reg = <0x80 0x80>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600563 big-endian;
Kumar Gala32f960e2008-04-17 01:28:15 -0500564 interrupts = <46 2 46 2>; //high:30 low:30
Kumar Gala52094872007-02-17 16:04:23 -0600565 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600566 };
567
568 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500569
Kumar Galaea082fa2007-12-12 01:46:12 -0600570 pci0: pci@e0008000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500571 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500572 interrupt-map = <
573 /* IDSEL 0x12 AD18 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500574 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1
575 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1
576 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1
577 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
Kumar Gala86a04d92007-10-02 09:51:32 -0500578
579 /* IDSEL 0x13 AD19 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500580 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1
581 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1
582 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1
583 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500584
585 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500586 interrupts = <24 2>;
587 bus-range = <0 255>;
588 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
589 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400590 sleep = <&pmc 0x80000000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500591 clock-frequency = <66666666>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500592 #interrupt-cells = <1>;
593 #size-cells = <2>;
594 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500595 reg = <0xe0008000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500596 compatible = "fsl,mpc8540-pci";
597 device_type = "pci";
598 };
599
600 /* PCI Express */
Kumar Galaea082fa2007-12-12 01:46:12 -0600601 pci1: pcie@e000a000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500602 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500603 interrupt-map = <
604
605 /* IDSEL 0x0 (PEX) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500606 00000 0x0 0x0 0x1 &mpic 0x0 0x1
607 00000 0x0 0x0 0x2 &mpic 0x1 0x1
608 00000 0x0 0x0 0x3 &mpic 0x2 0x1
609 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500610
611 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500612 interrupts = <26 2>;
613 bus-range = <0 255>;
614 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
615 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400616 sleep = <&pmc 0x20000000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500617 clock-frequency = <33333333>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500618 #interrupt-cells = <1>;
619 #size-cells = <2>;
620 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500621 reg = <0xe000a000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500622 compatible = "fsl,mpc8548-pcie";
623 device_type = "pci";
624 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500625 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500626 #size-cells = <2>;
627 #address-cells = <3>;
628 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500629 ranges = <0x2000000 0x0 0xa0000000
630 0x2000000 0x0 0xa0000000
631 0x0 0x10000000
Kumar Gala86a04d92007-10-02 09:51:32 -0500632
Kumar Gala32f960e2008-04-17 01:28:15 -0500633 0x1000000 0x0 0x0
634 0x1000000 0x0 0x0
635 0x0 0x800000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500636 };
637 };
Anton Vorontsov5e8306f2009-05-02 06:16:56 +0400638
639 rio0: rapidio@e00c00000 {
640 #address-cells = <2>;
641 #size-cells = <2>;
642 compatible = "fsl,mpc8568-rapidio", "fsl,rapidio-delta";
643 reg = <0xe00c0000 0x20000>;
644 ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
645 interrupts = <48 2 /* error */
646 49 2 /* bell_outb */
647 50 2 /* bell_inb */
648 53 2 /* msg1_tx */
649 54 2 /* msg1_rx */
650 55 2 /* msg2_tx */
651 56 2 /* msg2_rx */>;
652 interrupt-parent = <&mpic>;
Anton Vorontsov3cfee0a2009-09-16 01:43:59 +0400653 sleep = <&pmc 0x00080000 /* controller */
654 &pmc 0x00040000>; /* message unit */
Anton Vorontsov5e8306f2009-05-02 06:16:56 +0400655 };
Anton Vorontsove98efaf2010-02-06 00:06:26 +0300656
657 leds {
658 compatible = "gpio-leds";
659
660 green {
661 gpios = <&bcsr5 1 0>;
662 };
663
664 amber {
665 gpios = <&bcsr5 2 0>;
666 };
667
668 red {
669 gpios = <&bcsr5 3 0>;
670 };
671 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600672};