]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/powerpc/boot/dts/mpc8378_mds.dts
6bbee4989fbe29a065dbafde7531a80ce4d92ae9
[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                 i2c@3000 {
133                         #address-cells = <1>;
134                         #size-cells = <0>;
135                         cell-index = <0>;
136                         compatible = "fsl-i2c";
137                         reg = <0x3000 0x100>;
138                         interrupts = <14 0x8>;
139                         interrupt-parent = <&ipic>;
140                         dfsrr;
141
142                         rtc@68 {
143                                 compatible = "dallas,ds1374";
144                                 reg = <0x68>;
145                                 interrupts = <19 0x8>;
146                                 interrupt-parent = <&ipic>;
147                         };
148                 };
149
150                 i2c@3100 {
151                         #address-cells = <1>;
152                         #size-cells = <0>;
153                         cell-index = <1>;
154                         compatible = "fsl-i2c";
155                         reg = <0x3100 0x100>;
156                         interrupts = <15 0x8>;
157                         interrupt-parent = <&ipic>;
158                         dfsrr;
159                 };
160
161                 spi@7000 {
162                         cell-index = <0>;
163                         compatible = "fsl,spi";
164                         reg = <0x7000 0x1000>;
165                         interrupts = <16 0x8>;
166                         interrupt-parent = <&ipic>;
167                         mode = "cpu";
168                 };
169
170                 dma@82a8 {
171                         #address-cells = <1>;
172                         #size-cells = <1>;
173                         compatible = "fsl,mpc8378-dma", "fsl,elo-dma";
174                         reg = <0x82a8 4>;
175                         ranges = <0 0x8100 0x1a8>;
176                         interrupt-parent = <&ipic>;
177                         interrupts = <71 8>;
178                         cell-index = <0>;
179                         dma-channel@0 {
180                                 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
181                                 reg = <0 0x80>;
182                                 cell-index = <0>;
183                                 interrupt-parent = <&ipic>;
184                                 interrupts = <71 8>;
185                         };
186                         dma-channel@80 {
187                                 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
188                                 reg = <0x80 0x80>;
189                                 cell-index = <1>;
190                                 interrupt-parent = <&ipic>;
191                                 interrupts = <71 8>;
192                         };
193                         dma-channel@100 {
194                                 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
195                                 reg = <0x100 0x80>;
196                                 cell-index = <2>;
197                                 interrupt-parent = <&ipic>;
198                                 interrupts = <71 8>;
199                         };
200                         dma-channel@180 {
201                                 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
202                                 reg = <0x180 0x28>;
203                                 cell-index = <3>;
204                                 interrupt-parent = <&ipic>;
205                                 interrupts = <71 8>;
206                         };
207                 };
208
209                 usb@23000 {
210                         compatible = "fsl-usb2-dr";
211                         reg = <0x23000 0x1000>;
212                         #address-cells = <1>;
213                         #size-cells = <0>;
214                         interrupt-parent = <&ipic>;
215                         interrupts = <38 0x8>;
216                         dr_mode = "host";
217                         phy_type = "ulpi";
218                 };
219
220                 mdio@24520 {
221                         #address-cells = <1>;
222                         #size-cells = <0>;
223                         compatible = "fsl,gianfar-mdio";
224                         reg = <0x24520 0x20>;
225                         phy2: ethernet-phy@2 {
226                                 interrupt-parent = <&ipic>;
227                                 interrupts = <17 0x8>;
228                                 reg = <0x2>;
229                                 device_type = "ethernet-phy";
230                         };
231                         phy3: ethernet-phy@3 {
232                                 interrupt-parent = <&ipic>;
233                                 interrupts = <18 0x8>;
234                                 reg = <0x3>;
235                                 device_type = "ethernet-phy";
236                         };
237                         tbi0: tbi-phy@11 {
238                                 reg = <0x11>;
239                                 device_type = "tbi-phy";
240                         };
241                 };
242
243                 mdio@25520 {
244                         #address-cells = <1>;
245                         #size-cells = <0>;
246                         compatible = "fsl,gianfar-tbi";
247                         reg = <0x25520 0x20>;
248
249                         tbi1: tbi-phy@11 {
250                                 reg = <0x11>;
251                                 device_type = "tbi-phy";
252                         };
253                 };
254
255
256                 enet0: ethernet@24000 {
257                         cell-index = <0>;
258                         device_type = "network";
259                         model = "eTSEC";
260                         compatible = "gianfar";
261                         reg = <0x24000 0x1000>;
262                         local-mac-address = [ 00 00 00 00 00 00 ];
263                         interrupts = <32 0x8 33 0x8 34 0x8>;
264                         phy-connection-type = "mii";
265                         interrupt-parent = <&ipic>;
266                         tbi-handle = <&tbi0>;
267                         phy-handle = <&phy2>;
268                 };
269
270                 enet1: ethernet@25000 {
271                         cell-index = <1>;
272                         device_type = "network";
273                         model = "eTSEC";
274                         compatible = "gianfar";
275                         reg = <0x25000 0x1000>;
276                         local-mac-address = [ 00 00 00 00 00 00 ];
277                         interrupts = <35 0x8 36 0x8 37 0x8>;
278                         phy-connection-type = "mii";
279                         interrupt-parent = <&ipic>;
280                         tbi-handle = <&tbi1>;
281                         phy-handle = <&phy3>;
282                 };
283
284                 serial0: serial@4500 {
285                         cell-index = <0>;
286                         device_type = "serial";
287                         compatible = "ns16550";
288                         reg = <0x4500 0x100>;
289                         clock-frequency = <0>;
290                         interrupts = <9 0x8>;
291                         interrupt-parent = <&ipic>;
292                 };
293
294                 serial1: serial@4600 {
295                         cell-index = <1>;
296                         device_type = "serial";
297                         compatible = "ns16550";
298                         reg = <0x4600 0x100>;
299                         clock-frequency = <0>;
300                         interrupts = <10 0x8>;
301                         interrupt-parent = <&ipic>;
302                 };
303
304                 crypto@30000 {
305                         compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
306                                      "fsl,sec2.1", "fsl,sec2.0";
307                         reg = <0x30000 0x10000>;
308                         interrupts = <11 0x8>;
309                         interrupt-parent = <&ipic>;
310                         fsl,num-channels = <4>;
311                         fsl,channel-fifo-len = <24>;
312                         fsl,exec-units-mask = <0x9fe>;
313                         fsl,descriptor-types-mask = <0x3ab0ebf>;
314                 };
315
316                 sdhc@2e000 {
317                         model = "eSDHC";
318                         compatible = "fsl,esdhc";
319                         reg = <0x2e000 0x1000>;
320                         interrupts = <42 0x8>;
321                         interrupt-parent = <&ipic>;
322                 };
323
324                 /* IPIC
325                  * interrupts cell = <intr #, sense>
326                  * sense values match linux IORESOURCE_IRQ_* defines:
327                  * sense == 8: Level, low assertion
328                  * sense == 2: Edge, high-to-low change
329                  */
330                 ipic: pic@700 {
331                         compatible = "fsl,ipic";
332                         interrupt-controller;
333                         #address-cells = <0>;
334                         #interrupt-cells = <2>;
335                         reg = <0x700 0x100>;
336                 };
337         };
338
339         pci0: pci@e0008500 {
340                 cell-index = <0>;
341                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
342                 interrupt-map = <
343
344                                 /* IDSEL 0x11 */
345                                  0x8800 0x0 0x0 0x1 &ipic 20 0x8
346                                  0x8800 0x0 0x0 0x2 &ipic 21 0x8
347                                  0x8800 0x0 0x0 0x3 &ipic 22 0x8
348                                  0x8800 0x0 0x0 0x4 &ipic 23 0x8
349
350                                 /* IDSEL 0x12 */
351                                  0x9000 0x0 0x0 0x1 &ipic 22 0x8
352                                  0x9000 0x0 0x0 0x2 &ipic 23 0x8
353                                  0x9000 0x0 0x0 0x3 &ipic 20 0x8
354                                  0x9000 0x0 0x0 0x4 &ipic 21 0x8
355
356                                 /* IDSEL 0x13 */
357                                  0x9800 0x0 0x0 0x1 &ipic 23 0x8
358                                  0x9800 0x0 0x0 0x2 &ipic 20 0x8
359                                  0x9800 0x0 0x0 0x3 &ipic 21 0x8
360                                  0x9800 0x0 0x0 0x4 &ipic 22 0x8
361
362                                 /* IDSEL 0x15 */
363                                  0xa800 0x0 0x0 0x1 &ipic 20 0x8
364                                  0xa800 0x0 0x0 0x2 &ipic 21 0x8
365                                  0xa800 0x0 0x0 0x3 &ipic 22 0x8
366                                  0xa800 0x0 0x0 0x4 &ipic 23 0x8
367
368                                 /* IDSEL 0x16 */
369                                  0xb000 0x0 0x0 0x1 &ipic 23 0x8
370                                  0xb000 0x0 0x0 0x2 &ipic 20 0x8
371                                  0xb000 0x0 0x0 0x3 &ipic 21 0x8
372                                  0xb000 0x0 0x0 0x4 &ipic 22 0x8
373
374                                 /* IDSEL 0x17 */
375                                  0xb800 0x0 0x0 0x1 &ipic 22 0x8
376                                  0xb800 0x0 0x0 0x2 &ipic 23 0x8
377                                  0xb800 0x0 0x0 0x3 &ipic 20 0x8
378                                  0xb800 0x0 0x0 0x4 &ipic 21 0x8
379
380                                 /* IDSEL 0x18 */
381                                  0xc000 0x0 0x0 0x1 &ipic 21 0x8
382                                  0xc000 0x0 0x0 0x2 &ipic 22 0x8
383                                  0xc000 0x0 0x0 0x3 &ipic 23 0x8
384                                  0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
385                 interrupt-parent = <&ipic>;
386                 interrupts = <66 0x8>;
387                 bus-range = <0x0 0x0>;
388                 ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
389                           0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
390                           0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
391                 clock-frequency = <0>;
392                 #interrupt-cells = <1>;
393                 #size-cells = <2>;
394                 #address-cells = <3>;
395                 reg = <0xe0008500 0x100         /* internal registers */
396                        0xe0008300 0x8>;         /* config space access registers */
397                 compatible = "fsl,mpc8349-pci";
398                 device_type = "pci";
399         };
400
401         pci1: pcie@e0009000 {
402                 #address-cells = <3>;
403                 #size-cells = <2>;
404                 #interrupt-cells = <1>;
405                 device_type = "pci";
406                 compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie";
407                 reg = <0xe0009000 0x00001000>;
408                 ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000
409                           0x01000000 0 0x00000000 0xb8000000 0 0x00800000>;
410                 bus-range = <0 255>;
411                 interrupt-map-mask = <0xf800 0 0 7>;
412                 interrupt-map = <0 0 0 1 &ipic 1 8
413                                  0 0 0 2 &ipic 1 8
414                                  0 0 0 3 &ipic 1 8
415                                  0 0 0 4 &ipic 1 8>;
416                 clock-frequency = <0>;
417
418                 pcie@0 {
419                         #address-cells = <3>;
420                         #size-cells = <2>;
421                         device_type = "pci";
422                         reg = <0 0 0 0 0>;
423                         ranges = <0x02000000 0 0xa8000000
424                                   0x02000000 0 0xa8000000
425                                   0 0x10000000
426                                   0x01000000 0 0x00000000
427                                   0x01000000 0 0x00000000
428                                   0 0x00800000>;
429                 };
430         };
431
432         pci2: pcie@e000a000 {
433                 #address-cells = <3>;
434                 #size-cells = <2>;
435                 #interrupt-cells = <1>;
436                 device_type = "pci";
437                 compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie";
438                 reg = <0xe000a000 0x00001000>;
439                 ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000
440                           0x01000000 0 0x00000000 0xd8000000 0 0x00800000>;
441                 bus-range = <0 255>;
442                 interrupt-map-mask = <0xf800 0 0 7>;
443                 interrupt-map = <0 0 0 1 &ipic 2 8
444                                  0 0 0 2 &ipic 2 8
445                                  0 0 0 3 &ipic 2 8
446                                  0 0 0 4 &ipic 2 8>;
447                 clock-frequency = <0>;
448
449                 pcie@0 {
450                         #address-cells = <3>;
451                         #size-cells = <2>;
452                         device_type = "pci";
453                         reg = <0 0 0 0 0>;
454                         ranges = <0x02000000 0 0xc8000000
455                                   0x02000000 0 0xc8000000
456                                   0 0x10000000
457                                   0x01000000 0 0x00000000
458                                   0x01000000 0 0x00000000
459                                   0 0x00800000>;
460                 };
461         };
462 };