[POWERPC] 83xx: Fix 2nd UCC entry in mpc832x_mds.dts
[pandora-kernel.git] / arch / powerpc / boot / dts / mpc832x_mds.dts
1 /*
2  * MPC8323E 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         model = "MPC8323EMDS";
14         compatible = "MPC8323EMDS", "MPC832xMDS", "MPC83xxMDS";
15         #address-cells = <1>;
16         #size-cells = <1>;
17
18         cpus {
19                 #address-cells = <1>;
20                 #size-cells = <0>;
21
22                 PowerPC,8323@0 {
23                         device_type = "cpu";
24                         reg = <0>;
25                         d-cache-line-size = <20>;       // 32 bytes
26                         i-cache-line-size = <20>;       // 32 bytes
27                         d-cache-size = <4000>;          // L1, 16K
28                         i-cache-size = <4000>;          // L1, 16K
29                         timebase-frequency = <0>;
30                         bus-frequency = <0>;
31                         clock-frequency = <0>;
32                 };
33         };
34
35         memory {
36                 device_type = "memory";
37                 reg = <00000000 08000000>;
38         };
39
40         bcsr@f8000000 {
41                 device_type = "board-control";
42                 reg = <f8000000 8000>;
43         };
44
45         soc8323@e0000000 {
46                 #address-cells = <1>;
47                 #size-cells = <1>;
48                 device_type = "soc";
49                 ranges = <0 e0000000 00100000>;
50                 reg = <e0000000 00000200>;
51                 bus-frequency = <7DE2900>;
52
53                 wdt@200 {
54                         device_type = "watchdog";
55                         compatible = "mpc83xx_wdt";
56                         reg = <200 100>;
57                 };
58
59                 i2c@3000 {
60                         device_type = "i2c";
61                         compatible = "fsl-i2c";
62                         reg = <3000 100>;
63                         interrupts = <e 8>;
64                         interrupt-parent = < &ipic >;
65                         dfsrr;
66                 };
67
68                 serial@4500 {
69                         device_type = "serial";
70                         compatible = "ns16550";
71                         reg = <4500 100>;
72                         clock-frequency = <0>;
73                         interrupts = <9 8>;
74                         interrupt-parent = < &ipic >;
75                 };
76
77                 serial@4600 {
78                         device_type = "serial";
79                         compatible = "ns16550";
80                         reg = <4600 100>;
81                         clock-frequency = <0>;
82                         interrupts = <a 8>;
83                         interrupt-parent = < &ipic >;
84                 };
85
86                 crypto@30000 {
87                         device_type = "crypto";
88                         model = "SEC2";
89                         compatible = "talitos";
90                         reg = <30000 7000>;
91                         interrupts = <b 8>;
92                         interrupt-parent = < &ipic >;
93                         /* Rev. 2.2 */
94                         num-channels = <1>;
95                         channel-fifo-len = <18>;
96                         exec-units-mask = <0000004c>;
97                         descriptor-types-mask = <0122003f>;
98                 };
99
100                 ipic: pic@700 {
101                         interrupt-controller;
102                         #address-cells = <0>;
103                         #interrupt-cells = <2>;
104                         reg = <700 100>;
105                         device_type = "ipic";
106                 };
107
108                 par_io@1400 {
109                         reg = <1400 100>;
110                         device_type = "par_io";
111                         num-ports = <7>;
112
113                         pio3: ucc_pin@03 {
114                                 pio-map = <
115                         /* port  pin  dir  open_drain  assignment  has_irq */
116                                         3  4  3  0  2  0  /* MDIO */
117                                         3  5  1  0  2  0  /* MDC */
118                                         0  d  2  0  1  0        /* RX_CLK (CLK9) */
119                                         3 18  2  0  1  0        /* TX_CLK (CLK10) */
120                                         1  0  1  0  1  0        /* TxD0 */
121                                         1  1  1  0  1  0        /* TxD1 */
122                                         1  2  1  0  1  0        /* TxD2 */
123                                         1  3  1  0  1  0        /* TxD3 */
124                                         1  4  2  0  1  0        /* RxD0 */
125                                         1  5  2  0  1  0        /* RxD1 */
126                                         1  6  2  0  1  0        /* RxD2 */
127                                         1  7  2  0  1  0        /* RxD3 */
128                                         1  8  2  0  1  0        /* RX_ER */
129                                         1  9  1  0  1  0        /* TX_ER */
130                                         1  a  2  0  1  0        /* RX_DV */
131                                         1  b  2  0  1  0        /* COL */
132                                         1  c  1  0  1  0        /* TX_EN */
133                                         1  d  2  0  1  0>;/* CRS */
134                         };
135                         pio4: ucc_pin@04 {
136                                 pio-map = <
137                         /* port  pin  dir  open_drain  assignment  has_irq */
138                                         3 1f  2  0  1  0        /* RX_CLK (CLK7) */
139                                         3  6  2  0  1  0        /* TX_CLK (CLK8) */
140                                         1 12  1  0  1  0        /* TxD0 */
141                                         1 13  1  0  1  0        /* TxD1 */
142                                         1 14  1  0  1  0        /* TxD2 */
143                                         1 15  1  0  1  0        /* TxD3 */
144                                         1 16  2  0  1  0        /* RxD0 */
145                                         1 17  2  0  1  0        /* RxD1 */
146                                         1 18  2  0  1  0        /* RxD2 */
147                                         1 19  2  0  1  0        /* RxD3 */
148                                         1 1a  2  0  1  0        /* RX_ER */
149                                         1 1b  1  0  1  0        /* TX_ER */
150                                         1 1c  2  0  1  0        /* RX_DV */
151                                         1 1d  2  0  1  0        /* COL */
152                                         1 1e  1  0  1  0        /* TX_EN */
153                                         1 1f  2  0  1  0>;/* CRS */
154                         };
155                 };
156         };
157
158         qe@e0100000 {
159                 #address-cells = <1>;
160                 #size-cells = <1>;
161                 device_type = "qe";
162                 model = "QE";
163                 ranges = <0 e0100000 00100000>;
164                 reg = <e0100000 480>;
165                 brg-frequency = <0>;
166                 bus-frequency = <BCD3D80>;
167
168                 muram@10000 {
169                         device_type = "muram";
170                         ranges = <0 00010000 00004000>;
171
172                         data-only@0 {
173                                 reg = <0 4000>;
174                         };
175                 };
176
177                 spi@4c0 {
178                         device_type = "spi";
179                         compatible = "fsl_spi";
180                         reg = <4c0 40>;
181                         interrupts = <2>;
182                         interrupt-parent = < &qeic >;
183                         mode = "cpu";
184                 };
185
186                 spi@500 {
187                         device_type = "spi";
188                         compatible = "fsl_spi";
189                         reg = <500 40>;
190                         interrupts = <1>;
191                         interrupt-parent = < &qeic >;
192                         mode = "cpu";
193                 };
194
195                 usb@6c0 {
196                         device_type = "usb";
197                         compatible = "qe_udc";
198                         reg = <6c0 40 8B00 100>;
199                         interrupts = <b>;
200                         interrupt-parent = < &qeic >;
201                         mode = "slave";
202                 };
203
204                 ucc@2200 {
205                         device_type = "network";
206                         compatible = "ucc_geth";
207                         model = "UCC";
208                         device-id = <3>;
209                         reg = <2200 200>;
210                         interrupts = <22>;
211                         interrupt-parent = < &qeic >;
212                         /*
213                          * mac-address is deprecated and will be removed
214                          * in 2.6.25.  Only recent versions of
215                          * U-Boot support local-mac-address, however.
216                          */
217                         mac-address = [ 00 00 00 00 00 00 ];
218                         local-mac-address = [ 00 00 00 00 00 00 ];
219                         rx-clock = <19>;
220                         tx-clock = <1a>;
221                         phy-handle = < &phy3 >;
222                         pio-handle = < &pio3 >;
223                 };
224
225                 ucc@3200 {
226                         device_type = "network";
227                         compatible = "ucc_geth";
228                         model = "UCC";
229                         device-id = <4>;
230                         reg = <3200 200>;
231                         interrupts = <23>;
232                         interrupt-parent = < &qeic >;
233                         /*
234                          * mac-address is deprecated and will be removed
235                          * in 2.6.25.  Only recent versions of
236                          * U-Boot support local-mac-address, however.
237                          */
238                         mac-address = [ 00 00 00 00 00 00 ];
239                         local-mac-address = [ 00 00 00 00 00 00 ];
240                         rx-clock = <17>;
241                         tx-clock = <18>;
242                         phy-handle = < &phy4 >;
243                         pio-handle = < &pio4 >;
244                 };
245
246                 mdio@2320 {
247                         #address-cells = <1>;
248                         #size-cells = <0>;
249                         reg = <2320 18>;
250                         device_type = "mdio";
251                         compatible = "ucc_geth_phy";
252
253                         phy3: ethernet-phy@03 {
254                                 interrupt-parent = < &ipic >;
255                                 interrupts = <11 8>;
256                                 reg = <3>;
257                                 device_type = "ethernet-phy";
258                         };
259                         phy4: ethernet-phy@04 {
260                                 interrupt-parent = < &ipic >;
261                                 interrupts = <12 8>;
262                                 reg = <4>;
263                                 device_type = "ethernet-phy";
264                         };
265                 };
266
267                 qeic: qeic@80 {
268                         interrupt-controller;
269                         device_type = "qeic";
270                         #address-cells = <0>;
271                         #interrupt-cells = <1>;
272                         reg = <80 80>;
273                         big-endian;
274                         interrupts = <20 8 21 8>; //high:32 low:33
275                         interrupt-parent = < &ipic >;
276                 };
277         };
278
279         pci@e0008500 {
280                 interrupt-map-mask = <f800 0 0 7>;
281                 interrupt-map = <
282                                 /* IDSEL 0x11 AD17 */
283                                  8800 0 0 1 &ipic 14 8
284                                  8800 0 0 2 &ipic 15 8
285                                  8800 0 0 3 &ipic 16 8
286                                  8800 0 0 4 &ipic 17 8
287
288                                 /* IDSEL 0x12 AD18 */
289                                  9000 0 0 1 &ipic 16 8
290                                  9000 0 0 2 &ipic 17 8
291                                  9000 0 0 3 &ipic 14 8
292                                  9000 0 0 4 &ipic 15 8
293
294                                 /* IDSEL 0x13 AD19 */
295                                  9800 0 0 1 &ipic 17 8
296                                  9800 0 0 2 &ipic 14 8
297                                  9800 0 0 3 &ipic 15 8
298                                  9800 0 0 4 &ipic 16 8
299
300                                 /* IDSEL 0x15 AD21*/
301                                  a800 0 0 1 &ipic 14 8
302                                  a800 0 0 2 &ipic 15 8
303                                  a800 0 0 3 &ipic 16 8
304                                  a800 0 0 4 &ipic 17 8
305
306                                 /* IDSEL 0x16 AD22*/
307                                  b000 0 0 1 &ipic 17 8
308                                  b000 0 0 2 &ipic 14 8
309                                  b000 0 0 3 &ipic 15 8
310                                  b000 0 0 4 &ipic 16 8
311
312                                 /* IDSEL 0x17 AD23*/
313                                  b800 0 0 1 &ipic 16 8
314                                  b800 0 0 2 &ipic 17 8
315                                  b800 0 0 3 &ipic 14 8
316                                  b800 0 0 4 &ipic 15 8
317
318                                 /* IDSEL 0x18 AD24*/
319                                  c000 0 0 1 &ipic 15 8
320                                  c000 0 0 2 &ipic 16 8
321                                  c000 0 0 3 &ipic 17 8
322                                  c000 0 0 4 &ipic 14 8>;
323                 interrupt-parent = < &ipic >;
324                 interrupts = <42 8>;
325                 bus-range = <0 0>;
326                 ranges = <02000000 0 90000000 90000000 0 10000000
327                           42000000 0 80000000 80000000 0 10000000
328                           01000000 0 00000000 d0000000 0 00100000>;
329                 clock-frequency = <0>;
330                 #interrupt-cells = <1>;
331                 #size-cells = <2>;
332                 #address-cells = <3>;
333                 reg = <e0008500 100>;
334                 compatible = "fsl,mpc8349-pci";
335                 device_type = "pci";
336         };
337 };