]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/powerpc/boot/dts/mpc836x_mds.dts
powerpc/83xx: mpc836x_mds: add support for the nor flash
[linux-2.6-omap-h63xx.git] / arch / powerpc / boot / dts / mpc836x_mds.dts
1 /*
2  * MPC8360E EMDS Device Tree Source
3  *
4  * Copyright 2006 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
13 /*
14 /memreserve/    00000000 1000000;
15 */
16
17 /dts-v1/;
18
19 / {
20         model = "MPC8360MDS";
21         compatible = "MPC8360EMDS", "MPC836xMDS", "MPC83xxMDS";
22         #address-cells = <1>;
23         #size-cells = <1>;
24
25         aliases {
26                 ethernet0 = &enet0;
27                 ethernet1 = &enet1;
28                 serial0 = &serial0;
29                 serial1 = &serial1;
30                 pci0 = &pci0;
31         };
32
33         cpus {
34                 #address-cells = <1>;
35                 #size-cells = <0>;
36
37                 PowerPC,8360@0 {
38                         device_type = "cpu";
39                         reg = <0x0>;
40                         d-cache-line-size = <32>;       // 32 bytes
41                         i-cache-line-size = <32>;       // 32 bytes
42                         d-cache-size = <32768>;         // L1, 32K
43                         i-cache-size = <32768>;         // L1, 32K
44                         timebase-frequency = <66000000>;
45                         bus-frequency = <264000000>;
46                         clock-frequency = <528000000>;
47                 };
48         };
49
50         memory {
51                 device_type = "memory";
52                 reg = <0x00000000 0x10000000>;
53         };
54
55         localbus@e0005000 {
56                 #address-cells = <2>;
57                 #size-cells = <1>;
58                 compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus",
59                              "simple-bus";
60                 reg = <0xe0005000 0xd8>;
61                 ranges = <0 0 0xfe000000 0x02000000
62                           1 0 0xf8000000 0x00008000>;
63
64                 flash@0,0 {
65                         compatible = "cfi-flash";
66                         reg = <0 0 0x2000000>;
67                         bank-width = <2>;
68                         device-width = <1>;
69                 };
70
71                 bcsr@1,0 {
72                         device_type = "board-control";
73                         reg = <1 0 0x8000>;
74                 };
75         };
76
77         soc8360@e0000000 {
78                 #address-cells = <1>;
79                 #size-cells = <1>;
80                 device_type = "soc";
81                 compatible = "simple-bus";
82                 ranges = <0x0 0xe0000000 0x00100000>;
83                 reg = <0xe0000000 0x00000200>;
84                 bus-frequency = <264000000>;
85
86                 wdt@200 {
87                         device_type = "watchdog";
88                         compatible = "mpc83xx_wdt";
89                         reg = <0x200 0x100>;
90                 };
91
92                 i2c@3000 {
93                         #address-cells = <1>;
94                         #size-cells = <0>;
95                         cell-index = <0>;
96                         compatible = "fsl-i2c";
97                         reg = <0x3000 0x100>;
98                         interrupts = <14 0x8>;
99                         interrupt-parent = <&ipic>;
100                         dfsrr;
101
102                         rtc@68 {
103                                 compatible = "dallas,ds1374";
104                                 reg = <0x68>;
105                         };
106                 };
107
108                 i2c@3100 {
109                         #address-cells = <1>;
110                         #size-cells = <0>;
111                         cell-index = <1>;
112                         compatible = "fsl-i2c";
113                         reg = <0x3100 0x100>;
114                         interrupts = <15 0x8>;
115                         interrupt-parent = <&ipic>;
116                         dfsrr;
117                 };
118
119                 serial0: serial@4500 {
120                         cell-index = <0>;
121                         device_type = "serial";
122                         compatible = "ns16550";
123                         reg = <0x4500 0x100>;
124                         clock-frequency = <264000000>;
125                         interrupts = <9 0x8>;
126                         interrupt-parent = <&ipic>;
127                 };
128
129                 serial1: serial@4600 {
130                         cell-index = <1>;
131                         device_type = "serial";
132                         compatible = "ns16550";
133                         reg = <0x4600 0x100>;
134                         clock-frequency = <264000000>;
135                         interrupts = <10 0x8>;
136                         interrupt-parent = <&ipic>;
137                 };
138
139                 dma@82a8 {
140                         #address-cells = <1>;
141                         #size-cells = <1>;
142                         compatible = "fsl,mpc8360-dma", "fsl,elo-dma";
143                         reg = <0x82a8 4>;
144                         ranges = <0 0x8100 0x1a8>;
145                         interrupt-parent = <&ipic>;
146                         interrupts = <71 8>;
147                         cell-index = <0>;
148                         dma-channel@0 {
149                                 compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
150                                 reg = <0 0x80>;
151                                 interrupt-parent = <&ipic>;
152                                 interrupts = <71 8>;
153                         };
154                         dma-channel@80 {
155                                 compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
156                                 reg = <0x80 0x80>;
157                                 interrupt-parent = <&ipic>;
158                                 interrupts = <71 8>;
159                         };
160                         dma-channel@100 {
161                                 compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
162                                 reg = <0x100 0x80>;
163                                 interrupt-parent = <&ipic>;
164                                 interrupts = <71 8>;
165                         };
166                         dma-channel@180 {
167                                 compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
168                                 reg = <0x180 0x28>;
169                                 interrupt-parent = <&ipic>;
170                                 interrupts = <71 8>;
171                         };
172                 };
173
174                 crypto@30000 {
175                         compatible = "fsl,sec2.0";
176                         reg = <0x30000 0x10000>;
177                         interrupts = <11 0x8>;
178                         interrupt-parent = <&ipic>;
179                         fsl,num-channels = <4>;
180                         fsl,channel-fifo-len = <24>;
181                         fsl,exec-units-mask = <0x7e>;
182                         fsl,descriptor-types-mask = <0x01010ebf>;
183                 };
184
185                 ipic: pic@700 {
186                         interrupt-controller;
187                         #address-cells = <0>;
188                         #interrupt-cells = <2>;
189                         reg = <0x700 0x100>;
190                         device_type = "ipic";
191                 };
192
193                 par_io@1400 {
194                         reg = <0x1400 0x100>;
195                         device_type = "par_io";
196                         num-ports = <7>;
197
198                         pio1: ucc_pin@01 {
199                                 pio-map = <
200                         /* port  pin  dir  open_drain  assignment  has_irq */
201                                         0  3  1  0  1  0        /* TxD0 */
202                                         0  4  1  0  1  0        /* TxD1 */
203                                         0  5  1  0  1  0        /* TxD2 */
204                                         0  6  1  0  1  0        /* TxD3 */
205                                         1  6  1  0  3  0        /* TxD4 */
206                                         1  7  1  0  1  0        /* TxD5 */
207                                         1  9  1  0  2  0        /* TxD6 */
208                                         1  10 1  0  2  0        /* TxD7 */
209                                         0  9  2  0  1  0        /* RxD0 */
210                                         0  10 2  0  1  0        /* RxD1 */
211                                         0  11 2  0  1  0        /* RxD2 */
212                                         0  12 2  0  1  0        /* RxD3 */
213                                         0  13 2  0  1  0        /* RxD4 */
214                                         1  1  2  0  2  0        /* RxD5 */
215                                         1  0  2  0  2  0        /* RxD6 */
216                                         1  4  2  0  2  0        /* RxD7 */
217                                         0  7  1  0  1  0        /* TX_EN */
218                                         0  8  1  0  1  0        /* TX_ER */
219                                         0  15 2  0  1  0        /* RX_DV */
220                                         0  16 2  0  1  0        /* RX_ER */
221                                         0  0  2  0  1  0        /* RX_CLK */
222                                         2  9  1  0  3  0        /* GTX_CLK - CLK10 */
223                                         2  8  2  0  1  0>;      /* GTX125 - CLK9 */
224                         };
225                         pio2: ucc_pin@02 {
226                                 pio-map = <
227                         /* port  pin  dir  open_drain  assignment  has_irq */
228                                         0  17 1  0  1  0   /* TxD0 */
229                                         0  18 1  0  1  0   /* TxD1 */
230                                         0  19 1  0  1  0   /* TxD2 */
231                                         0  20 1  0  1  0   /* TxD3 */
232                                         1  2  1  0  1  0   /* TxD4 */
233                                         1  3  1  0  2  0   /* TxD5 */
234                                         1  5  1  0  3  0   /* TxD6 */
235                                         1  8  1  0  3  0   /* TxD7 */
236                                         0  23 2  0  1  0   /* RxD0 */
237                                         0  24 2  0  1  0   /* RxD1 */
238                                         0  25 2  0  1  0   /* RxD2 */
239                                         0  26 2  0  1  0   /* RxD3 */
240                                         0  27 2  0  1  0   /* RxD4 */
241                                         1  12 2  0  2  0   /* RxD5 */
242                                         1  13 2  0  3  0   /* RxD6 */
243                                         1  11 2  0  2  0   /* RxD7 */
244                                         0  21 1  0  1  0   /* TX_EN */
245                                         0  22 1  0  1  0   /* TX_ER */
246                                         0  29 2  0  1  0   /* RX_DV */
247                                         0  30 2  0  1  0   /* RX_ER */
248                                         0  31 2  0  1  0   /* RX_CLK */
249                                         2  2  1  0  2  0   /* GTX_CLK - CLK10 */
250                                         2  3  2  0  1  0   /* GTX125 - CLK4 */
251                                         0  1  3  0  2  0   /* MDIO */
252                                         0  2  1  0  1  0>; /* MDC */
253                         };
254
255                 };
256         };
257
258         qe@e0100000 {
259                 #address-cells = <1>;
260                 #size-cells = <1>;
261                 device_type = "qe";
262                 compatible = "fsl,qe";
263                 ranges = <0x0 0xe0100000 0x00100000>;
264                 reg = <0xe0100000 0x480>;
265                 brg-frequency = <0>;
266                 bus-frequency = <396000000>;
267
268                 muram@10000 {
269                         #address-cells = <1>;
270                         #size-cells = <1>;
271                         compatible = "fsl,qe-muram", "fsl,cpm-muram";
272                         ranges = <0x0 0x00010000 0x0000c000>;
273
274                         data-only@0 {
275                                 compatible = "fsl,qe-muram-data",
276                                              "fsl,cpm-muram-data";
277                                 reg = <0x0 0xc000>;
278                         };
279                 };
280
281                 spi@4c0 {
282                         cell-index = <0>;
283                         compatible = "fsl,spi";
284                         reg = <0x4c0 0x40>;
285                         interrupts = <2>;
286                         interrupt-parent = <&qeic>;
287                         mode = "cpu";
288                 };
289
290                 spi@500 {
291                         cell-index = <1>;
292                         compatible = "fsl,spi";
293                         reg = <0x500 0x40>;
294                         interrupts = <1>;
295                         interrupt-parent = <&qeic>;
296                         mode = "cpu";
297                 };
298
299                 usb@6c0 {
300                         compatible = "qe_udc";
301                         reg = <0x6c0 0x40 0x8b00 0x100>;
302                         interrupts = <11>;
303                         interrupt-parent = <&qeic>;
304                         mode = "slave";
305                 };
306
307                 enet0: ucc@2000 {
308                         device_type = "network";
309                         compatible = "ucc_geth";
310                         cell-index = <1>;
311                         reg = <0x2000 0x200>;
312                         interrupts = <32>;
313                         interrupt-parent = <&qeic>;
314                         local-mac-address = [ 00 00 00 00 00 00 ];
315                         rx-clock-name = "none";
316                         tx-clock-name = "clk9";
317                         phy-handle = <&phy0>;
318                         phy-connection-type = "rgmii-id";
319                         pio-handle = <&pio1>;
320                 };
321
322                 enet1: ucc@3000 {
323                         device_type = "network";
324                         compatible = "ucc_geth";
325                         cell-index = <2>;
326                         reg = <0x3000 0x200>;
327                         interrupts = <33>;
328                         interrupt-parent = <&qeic>;
329                         local-mac-address = [ 00 00 00 00 00 00 ];
330                         rx-clock-name = "none";
331                         tx-clock-name = "clk4";
332                         phy-handle = <&phy1>;
333                         phy-connection-type = "rgmii-id";
334                         pio-handle = <&pio2>;
335                 };
336
337                 mdio@2120 {
338                         #address-cells = <1>;
339                         #size-cells = <0>;
340                         reg = <0x2120 0x18>;
341                         compatible = "fsl,ucc-mdio";
342
343                         phy0: ethernet-phy@00 {
344                                 interrupt-parent = <&ipic>;
345                                 interrupts = <17 0x8>;
346                                 reg = <0x0>;
347                                 device_type = "ethernet-phy";
348                         };
349                         phy1: ethernet-phy@01 {
350                                 interrupt-parent = <&ipic>;
351                                 interrupts = <18 0x8>;
352                                 reg = <0x1>;
353                                 device_type = "ethernet-phy";
354                         };
355                 };
356
357                 qeic: interrupt-controller@80 {
358                         interrupt-controller;
359                         compatible = "fsl,qe-ic";
360                         #address-cells = <0>;
361                         #interrupt-cells = <1>;
362                         reg = <0x80 0x80>;
363                         big-endian;
364                         interrupts = <32 0x8 33 0x8>; // high:32 low:33
365                         interrupt-parent = <&ipic>;
366                 };
367         };
368
369         pci0: pci@e0008500 {
370                 cell-index = <1>;
371                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
372                 interrupt-map = <
373
374                                 /* IDSEL 0x11 AD17 */
375                                  0x8800 0x0 0x0 0x1 &ipic 20 0x8
376                                  0x8800 0x0 0x0 0x2 &ipic 21 0x8
377                                  0x8800 0x0 0x0 0x3 &ipic 22 0x8
378                                  0x8800 0x0 0x0 0x4 &ipic 23 0x8
379
380                                 /* IDSEL 0x12 AD18 */
381                                  0x9000 0x0 0x0 0x1 &ipic 22 0x8
382                                  0x9000 0x0 0x0 0x2 &ipic 23 0x8
383                                  0x9000 0x0 0x0 0x3 &ipic 20 0x8
384                                  0x9000 0x0 0x0 0x4 &ipic 21 0x8
385
386                                 /* IDSEL 0x13 AD19 */
387                                  0x9800 0x0 0x0 0x1 &ipic 23 0x8
388                                  0x9800 0x0 0x0 0x2 &ipic 20 0x8
389                                  0x9800 0x0 0x0 0x3 &ipic 21 0x8
390                                  0x9800 0x0 0x0 0x4 &ipic 22 0x8
391
392                                 /* IDSEL 0x15 AD21*/
393                                  0xa800 0x0 0x0 0x1 &ipic 20 0x8
394                                  0xa800 0x0 0x0 0x2 &ipic 21 0x8
395                                  0xa800 0x0 0x0 0x3 &ipic 22 0x8
396                                  0xa800 0x0 0x0 0x4 &ipic 23 0x8
397
398                                 /* IDSEL 0x16 AD22*/
399                                  0xb000 0x0 0x0 0x1 &ipic 23 0x8
400                                  0xb000 0x0 0x0 0x2 &ipic 20 0x8
401                                  0xb000 0x0 0x0 0x3 &ipic 21 0x8
402                                  0xb000 0x0 0x0 0x4 &ipic 22 0x8
403
404                                 /* IDSEL 0x17 AD23*/
405                                  0xb800 0x0 0x0 0x1 &ipic 22 0x8
406                                  0xb800 0x0 0x0 0x2 &ipic 23 0x8
407                                  0xb800 0x0 0x0 0x3 &ipic 20 0x8
408                                  0xb800 0x0 0x0 0x4 &ipic 21 0x8
409
410                                 /* IDSEL 0x18 AD24*/
411                                  0xc000 0x0 0x0 0x1 &ipic 21 0x8
412                                  0xc000 0x0 0x0 0x2 &ipic 22 0x8
413                                  0xc000 0x0 0x0 0x3 &ipic 23 0x8
414                                  0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
415                 interrupt-parent = <&ipic>;
416                 interrupts = <66 0x8>;
417                 bus-range = <0 0>;
418                 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
419                           0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
420                           0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
421                 clock-frequency = <66666666>;
422                 #interrupt-cells = <1>;
423                 #size-cells = <2>;
424                 #address-cells = <3>;
425                 reg = <0xe0008500 0x100>;
426                 compatible = "fsl,mpc8349-pci";
427                 device_type = "pci";
428         };
429 };