]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/powerpc/boot/dts/mpc8378_mds.dts
155841d4db29fa2d752bd7579aa384cff0f6e38c
[linux-2.6-omap-h63xx.git] / arch / powerpc / boot / dts / mpc8378_mds.dts
1 /*
2  * MPC8378E MDS Device Tree Source
3  *
4  * Copyright 2007 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
12 /dts-v1/;
13
14 / {
15         model = "fsl,mpc8378emds";
16         compatible = "fsl,mpc8378emds","fsl,mpc837xmds";
17         #address-cells = <1>;
18         #size-cells = <1>;
19
20         aliases {
21                 ethernet0 = &enet0;
22                 ethernet1 = &enet1;
23                 serial0 = &serial0;
24                 serial1 = &serial1;
25                 pci0 = &pci0;
26                 pci1 = &pci1;
27                 pci2 = &pci2;
28         };
29
30         cpus {
31                 #address-cells = <1>;
32                 #size-cells = <0>;
33
34                 PowerPC,8378@0 {
35                         device_type = "cpu";
36                         reg = <0x0>;
37                         d-cache-line-size = <32>;
38                         i-cache-line-size = <32>;
39                         d-cache-size = <32768>;
40                         i-cache-size = <32768>;
41                         timebase-frequency = <0>;
42                         bus-frequency = <0>;
43                         clock-frequency = <0>;
44                 };
45         };
46
47         memory {
48                 device_type = "memory";
49                 reg = <0x00000000 0x20000000>;  // 512MB at 0
50         };
51
52         localbus@e0005000 {
53                 #address-cells = <2>;
54                 #size-cells = <1>;
55                 compatible = "fsl,mpc8378-elbc", "fsl,elbc", "simple-bus";
56                 reg = <0xe0005000 0x1000>;
57                 interrupts = <77 0x8>;
58                 interrupt-parent = <&ipic>;
59
60                 // booting from NOR flash
61                 ranges = <0 0x0 0xfe000000 0x02000000
62                           1 0x0 0xf8000000 0x00008000
63                           3 0x0 0xe0600000 0x00008000>;
64
65                 flash@0,0 {
66                         #address-cells = <1>;
67                         #size-cells = <1>;
68                         compatible = "cfi-flash";
69                         reg = <0 0x0 0x2000000>;
70                         bank-width = <2>;
71                         device-width = <1>;
72
73                         u-boot@0 {
74                                 reg = <0x0 0x100000>;
75                                 read-only;
76                         };
77
78                         fs@100000 {
79                                 reg = <0x100000 0x800000>;
80                         };
81
82                         kernel@1d00000 {
83                                 reg = <0x1d00000 0x200000>;
84                         };
85
86                         dtb@1f00000 {
87                                 reg = <0x1f00000 0x100000>;
88                         };
89                 };
90
91                 bcsr@1,0 {
92                         reg = <1 0x0 0x8000>;
93                         compatible = "fsl,mpc837xmds-bcsr";
94                 };
95
96                 nand@3,0 {
97                         #address-cells = <1>;
98                         #size-cells = <1>;
99                         compatible = "fsl,mpc8378-fcm-nand",
100                                      "fsl,elbc-fcm-nand";
101                         reg = <3 0x0 0x8000>;
102
103                         u-boot@0 {
104                                 reg = <0x0 0x100000>;
105                                 read-only;
106                         };
107
108                         kernel@100000 {
109                                 reg = <0x100000 0x300000>;
110                         };
111
112                         fs@400000 {
113                                 reg = <0x400000 0x1c00000>;
114                         };
115                 };
116         };
117
118         soc@e0000000 {
119                 #address-cells = <1>;
120                 #size-cells = <1>;
121                 device_type = "soc";
122                 compatible = "simple-bus";
123                 ranges = <0x0 0xe0000000 0x00100000>;
124                 reg = <0xe0000000 0x00000200>;
125                 bus-frequency = <0>;
126
127                 wdt@200 {
128                         compatible = "mpc83xx_wdt";
129                         reg = <0x200 0x100>;
130                 };
131
132                 sleep-nexus {
133                         #address-cells = <1>;
134                         #size-cells = <1>;
135                         compatible = "simple-bus";
136                         sleep = <&pmc 0x0c000000>;
137                         ranges;
138
139                         i2c@3000 {
140                                 #address-cells = <1>;
141                                 #size-cells = <0>;
142                                 cell-index = <0>;
143                                 compatible = "fsl-i2c";
144                                 reg = <0x3000 0x100>;
145                                 interrupts = <14 0x8>;
146                                 interrupt-parent = <&ipic>;
147                                 dfsrr;
148
149                                 rtc@68 {
150                                         compatible = "dallas,ds1374";
151                                         reg = <0x68>;
152                                         interrupts = <19 0x8>;
153                                         interrupt-parent = <&ipic>;
154                                 };
155                         };
156
157                         sdhci@2e000 {
158                                 compatible = "fsl,mpc8378-esdhc", "fsl,mpc8379-esdhc";
159                                 reg = <0x2e000 0x1000>;
160                                 interrupts = <42 0x8>;
161                                 interrupt-parent = <&ipic>;
162                                 /* Filled in by U-Boot */
163                                 clock-frequency = <0>;
164                         };
165                 };
166
167                 i2c@3100 {
168                         #address-cells = <1>;
169                         #size-cells = <0>;
170                         cell-index = <1>;
171                         compatible = "fsl-i2c";
172                         reg = <0x3100 0x100>;
173                         interrupts = <15 0x8>;
174                         interrupt-parent = <&ipic>;
175                         dfsrr;
176                 };
177
178                 spi@7000 {
179                         cell-index = <0>;
180                         compatible = "fsl,spi";
181                         reg = <0x7000 0x1000>;
182                         interrupts = <16 0x8>;
183                         interrupt-parent = <&ipic>;
184                         mode = "cpu";
185                 };
186
187                 dma@82a8 {
188                         #address-cells = <1>;
189                         #size-cells = <1>;
190                         compatible = "fsl,mpc8378-dma", "fsl,elo-dma";
191                         reg = <0x82a8 4>;
192                         ranges = <0 0x8100 0x1a8>;
193                         interrupt-parent = <&ipic>;
194                         interrupts = <71 8>;
195                         cell-index = <0>;
196                         dma-channel@0 {
197                                 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
198                                 reg = <0 0x80>;
199                                 cell-index = <0>;
200                                 interrupt-parent = <&ipic>;
201                                 interrupts = <71 8>;
202                         };
203                         dma-channel@80 {
204                                 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
205                                 reg = <0x80 0x80>;
206                                 cell-index = <1>;
207                                 interrupt-parent = <&ipic>;
208                                 interrupts = <71 8>;
209                         };
210                         dma-channel@100 {
211                                 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
212                                 reg = <0x100 0x80>;
213                                 cell-index = <2>;
214                                 interrupt-parent = <&ipic>;
215                                 interrupts = <71 8>;
216                         };
217                         dma-channel@180 {
218                                 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
219                                 reg = <0x180 0x28>;
220                                 cell-index = <3>;
221                                 interrupt-parent = <&ipic>;
222                                 interrupts = <71 8>;
223                         };
224                 };
225
226                 usb@23000 {
227                         compatible = "fsl-usb2-dr";
228                         reg = <0x23000 0x1000>;
229                         #address-cells = <1>;
230                         #size-cells = <0>;
231                         interrupt-parent = <&ipic>;
232                         interrupts = <38 0x8>;
233                         dr_mode = "host";
234                         phy_type = "ulpi";
235                         sleep = <&pmc 0x00c00000>;
236                 };
237
238                 mdio@24520 {
239                         #address-cells = <1>;
240                         #size-cells = <0>;
241                         compatible = "fsl,gianfar-mdio";
242                         reg = <0x24520 0x20>;
243                         phy2: ethernet-phy@2 {
244                                 interrupt-parent = <&ipic>;
245                                 interrupts = <17 0x8>;
246                                 reg = <0x2>;
247                                 device_type = "ethernet-phy";
248                         };
249                         phy3: ethernet-phy@3 {
250                                 interrupt-parent = <&ipic>;
251                                 interrupts = <18 0x8>;
252                                 reg = <0x3>;
253                                 device_type = "ethernet-phy";
254                         };
255                         tbi0: tbi-phy@11 {
256                                 reg = <0x11>;
257                                 device_type = "tbi-phy";
258                         };
259                 };
260
261                 mdio@25520 {
262                         #address-cells = <1>;
263                         #size-cells = <0>;
264                         compatible = "fsl,gianfar-tbi";
265                         reg = <0x25520 0x20>;
266
267                         tbi1: tbi-phy@11 {
268                                 reg = <0x11>;
269                                 device_type = "tbi-phy";
270                         };
271                 };
272
273
274                 enet0: ethernet@24000 {
275                         cell-index = <0>;
276                         device_type = "network";
277                         model = "eTSEC";
278                         compatible = "gianfar";
279                         reg = <0x24000 0x1000>;
280                         local-mac-address = [ 00 00 00 00 00 00 ];
281                         interrupts = <32 0x8 33 0x8 34 0x8>;
282                         phy-connection-type = "mii";
283                         interrupt-parent = <&ipic>;
284                         tbi-handle = <&tbi0>;
285                         phy-handle = <&phy2>;
286                         sleep = <&pmc 0xc0000000>;
287                         fsl,magic-packet;
288                 };
289
290                 enet1: ethernet@25000 {
291                         cell-index = <1>;
292                         device_type = "network";
293                         model = "eTSEC";
294                         compatible = "gianfar";
295                         reg = <0x25000 0x1000>;
296                         local-mac-address = [ 00 00 00 00 00 00 ];
297                         interrupts = <35 0x8 36 0x8 37 0x8>;
298                         phy-connection-type = "mii";
299                         interrupt-parent = <&ipic>;
300                         tbi-handle = <&tbi1>;
301                         phy-handle = <&phy3>;
302                         sleep = <&pmc 0x30000000>;
303                         fsl,magic-packet;
304                 };
305
306                 serial0: serial@4500 {
307                         cell-index = <0>;
308                         device_type = "serial";
309                         compatible = "ns16550";
310                         reg = <0x4500 0x100>;
311                         clock-frequency = <0>;
312                         interrupts = <9 0x8>;
313                         interrupt-parent = <&ipic>;
314                 };
315
316                 serial1: serial@4600 {
317                         cell-index = <1>;
318                         device_type = "serial";
319                         compatible = "ns16550";
320                         reg = <0x4600 0x100>;
321                         clock-frequency = <0>;
322                         interrupts = <10 0x8>;
323                         interrupt-parent = <&ipic>;
324                 };
325
326                 crypto@30000 {
327                         compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
328                                      "fsl,sec2.1", "fsl,sec2.0";
329                         reg = <0x30000 0x10000>;
330                         interrupts = <11 0x8>;
331                         interrupt-parent = <&ipic>;
332                         fsl,num-channels = <4>;
333                         fsl,channel-fifo-len = <24>;
334                         fsl,exec-units-mask = <0x9fe>;
335                         fsl,descriptor-types-mask = <0x3ab0ebf>;
336                         sleep = <&pmc 0x03000000>;
337                 };
338
339                 /* IPIC
340                  * interrupts cell = <intr #, sense>
341                  * sense values match linux IORESOURCE_IRQ_* defines:
342                  * sense == 8: Level, low assertion
343                  * sense == 2: Edge, high-to-low change
344                  */
345                 ipic: pic@700 {
346                         compatible = "fsl,ipic";
347                         interrupt-controller;
348                         #address-cells = <0>;
349                         #interrupt-cells = <2>;
350                         reg = <0x700 0x100>;
351                 };
352
353                 pmc: power@b00 {
354                         compatible = "fsl,mpc8378-pmc", "fsl,mpc8349-pmc";
355                         reg = <0xb00 0x100 0xa00 0x100>;
356                         interrupts = <80 0x8>;
357                         interrupt-parent = <&ipic>;
358                 };
359         };
360
361         pci0: pci@e0008500 {
362                 cell-index = <0>;
363                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
364                 interrupt-map = <
365
366                                 /* IDSEL 0x11 */
367                                  0x8800 0x0 0x0 0x1 &ipic 20 0x8
368                                  0x8800 0x0 0x0 0x2 &ipic 21 0x8
369                                  0x8800 0x0 0x0 0x3 &ipic 22 0x8
370                                  0x8800 0x0 0x0 0x4 &ipic 23 0x8
371
372                                 /* IDSEL 0x12 */
373                                  0x9000 0x0 0x0 0x1 &ipic 22 0x8
374                                  0x9000 0x0 0x0 0x2 &ipic 23 0x8
375                                  0x9000 0x0 0x0 0x3 &ipic 20 0x8
376                                  0x9000 0x0 0x0 0x4 &ipic 21 0x8
377
378                                 /* IDSEL 0x13 */
379                                  0x9800 0x0 0x0 0x1 &ipic 23 0x8
380                                  0x9800 0x0 0x0 0x2 &ipic 20 0x8
381                                  0x9800 0x0 0x0 0x3 &ipic 21 0x8
382                                  0x9800 0x0 0x0 0x4 &ipic 22 0x8
383
384                                 /* IDSEL 0x15 */
385                                  0xa800 0x0 0x0 0x1 &ipic 20 0x8
386                                  0xa800 0x0 0x0 0x2 &ipic 21 0x8
387                                  0xa800 0x0 0x0 0x3 &ipic 22 0x8
388                                  0xa800 0x0 0x0 0x4 &ipic 23 0x8
389
390                                 /* IDSEL 0x16 */
391                                  0xb000 0x0 0x0 0x1 &ipic 23 0x8
392                                  0xb000 0x0 0x0 0x2 &ipic 20 0x8
393                                  0xb000 0x0 0x0 0x3 &ipic 21 0x8
394                                  0xb000 0x0 0x0 0x4 &ipic 22 0x8
395
396                                 /* IDSEL 0x17 */
397                                  0xb800 0x0 0x0 0x1 &ipic 22 0x8
398                                  0xb800 0x0 0x0 0x2 &ipic 23 0x8
399                                  0xb800 0x0 0x0 0x3 &ipic 20 0x8
400                                  0xb800 0x0 0x0 0x4 &ipic 21 0x8
401
402                                 /* IDSEL 0x18 */
403                                  0xc000 0x0 0x0 0x1 &ipic 21 0x8
404                                  0xc000 0x0 0x0 0x2 &ipic 22 0x8
405                                  0xc000 0x0 0x0 0x3 &ipic 23 0x8
406                                  0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
407                 interrupt-parent = <&ipic>;
408                 interrupts = <66 0x8>;
409                 bus-range = <0x0 0x0>;
410                 ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
411                           0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
412                           0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
413                 clock-frequency = <0>;
414                 sleep = <&pmc 0x00010000>;
415                 #interrupt-cells = <1>;
416                 #size-cells = <2>;
417                 #address-cells = <3>;
418                 reg = <0xe0008500 0x100         /* internal registers */
419                        0xe0008300 0x8>;         /* config space access registers */
420                 compatible = "fsl,mpc8349-pci";
421                 device_type = "pci";
422         };
423
424         pci1: pcie@e0009000 {
425                 #address-cells = <3>;
426                 #size-cells = <2>;
427                 #interrupt-cells = <1>;
428                 device_type = "pci";
429                 compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie";
430                 reg = <0xe0009000 0x00001000>;
431                 ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000
432                           0x01000000 0 0x00000000 0xb8000000 0 0x00800000>;
433                 bus-range = <0 255>;
434                 interrupt-map-mask = <0xf800 0 0 7>;
435                 interrupt-map = <0 0 0 1 &ipic 1 8
436                                  0 0 0 2 &ipic 1 8
437                                  0 0 0 3 &ipic 1 8
438                                  0 0 0 4 &ipic 1 8>;
439                 sleep = <&pmc 0x00300000>;
440                 clock-frequency = <0>;
441
442                 pcie@0 {
443                         #address-cells = <3>;
444                         #size-cells = <2>;
445                         device_type = "pci";
446                         reg = <0 0 0 0 0>;
447                         ranges = <0x02000000 0 0xa8000000
448                                   0x02000000 0 0xa8000000
449                                   0 0x10000000
450                                   0x01000000 0 0x00000000
451                                   0x01000000 0 0x00000000
452                                   0 0x00800000>;
453                 };
454         };
455
456         pci2: pcie@e000a000 {
457                 #address-cells = <3>;
458                 #size-cells = <2>;
459                 #interrupt-cells = <1>;
460                 device_type = "pci";
461                 compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie";
462                 reg = <0xe000a000 0x00001000>;
463                 ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000
464                           0x01000000 0 0x00000000 0xd8000000 0 0x00800000>;
465                 bus-range = <0 255>;
466                 interrupt-map-mask = <0xf800 0 0 7>;
467                 interrupt-map = <0 0 0 1 &ipic 2 8
468                                  0 0 0 2 &ipic 2 8
469                                  0 0 0 3 &ipic 2 8
470                                  0 0 0 4 &ipic 2 8>;
471                 sleep = <&pmc 0x000c0000>;
472                 clock-frequency = <0>;
473
474                 pcie@0 {
475                         #address-cells = <3>;
476                         #size-cells = <2>;
477                         device_type = "pci";
478                         reg = <0 0 0 0 0>;
479                         ranges = <0x02000000 0 0xc8000000
480                                   0x02000000 0 0xc8000000
481                                   0 0x10000000
482                                   0x01000000 0 0x00000000
483                                   0x01000000 0 0x00000000
484                                   0 0x00800000>;
485                 };
486         };
487 };