[POWERPC] DTS cleanup
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / powerpc / boot / dts / mpc8349emitx.dts
blobf98c785081bfd23a5df404e9d2022b0b2c1263a8
1 /*
2  * MPC8349E-mITX 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         model = "MPC8349EMITX";
13         compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX";
14         #address-cells = <1>;
15         #size-cells = <1>;
17         cpus {
18                 #address-cells = <1>;
19                 #size-cells = <0>;
21                 PowerPC,8349@0 {
22                         device_type = "cpu";
23                         reg = <0>;
24                         d-cache-line-size = <20>;
25                         i-cache-line-size = <20>;
26                         d-cache-size = <8000>;
27                         i-cache-size = <8000>;
28                         timebase-frequency = <0>;       // from bootloader
29                         bus-frequency = <0>;            // from bootloader
30                         clock-frequency = <0>;          // from bootloader
31                 };
32         };
34         memory {
35                 device_type = "memory";
36                 reg = <00000000 10000000>;
37         };
39         soc8349@e0000000 {
40                 #address-cells = <1>;
41                 #size-cells = <1>;
42                 device_type = "soc";
43                 ranges = <0 e0000000 00100000>;
44                 reg = <e0000000 00000200>;
45                 bus-frequency = <0>;                    // from bootloader
47                 wdt@200 {
48                         device_type = "watchdog";
49                         compatible = "mpc83xx_wdt";
50                         reg = <200 100>;
51                 };
53                 i2c@3000 {
54                         device_type = "i2c";
55                         compatible = "fsl-i2c";
56                         reg = <3000 100>;
57                         interrupts = <e 8>;
58                         interrupt-parent = < &ipic >;
59                         dfsrr;
60                 };
62                 i2c@3100 {
63                         device_type = "i2c";
64                         compatible = "fsl-i2c";
65                         reg = <3100 100>;
66                         interrupts = <f 8>;
67                         interrupt-parent = < &ipic >;
68                         dfsrr;
69                 };
71                 spi@7000 {
72                         device_type = "spi";
73                         compatible = "mpc83xx_spi";
74                         reg = <7000 1000>;
75                         interrupts = <10 8>;
76                         interrupt-parent = < &ipic >;
77                         mode = <0>;
78                 };
80                 usb@22000 {
81                         device_type = "usb";
82                         compatible = "fsl-usb2-mph";
83                         reg = <22000 1000>;
84                         #address-cells = <1>;
85                         #size-cells = <0>;
86                         interrupt-parent = < &ipic >;
87                         interrupts = <27 8>;
88                         phy_type = "ulpi";
89                         port1;
90                 };
92                 usb@23000 {
93                         device_type = "usb";
94                         compatible = "fsl-usb2-dr";
95                         reg = <23000 1000>;
96                         #address-cells = <1>;
97                         #size-cells = <0>;
98                         interrupt-parent = < &ipic >;
99                         interrupts = <26 8>;
100                         phy_type = "ulpi";
101                 };
103                 mdio@24520 {
104                         device_type = "mdio";
105                         compatible = "gianfar";
106                         reg = <24520 20>;
107                         #address-cells = <1>;
108                         #size-cells = <0>;
110                         /* Vitesse 8201 */
111                         phy1c: ethernet-phy@1c {
112                                 interrupt-parent = < &ipic >;
113                                 interrupts = <12 8>;
114                                 reg = <1c>;
115                                 device_type = "ethernet-phy";
116                         };
118                         /* Vitesse 7385 */
119                         phy1f: ethernet-phy@1f {
120                                 interrupt-parent = < &ipic >;
121                                 interrupts = <12 8>;
122                                 reg = <1f>;
123                                 device_type = "ethernet-phy";
124                         };
125                 };
127                 ethernet@24000 {
128                         device_type = "network";
129                         model = "TSEC";
130                         compatible = "gianfar";
131                         reg = <24000 1000>;
132                         /*
133                          * address is deprecated and will be removed
134                          * in 2.6.25.  Only recent versions of
135                          * U-Boot support local-mac-address, however.
136                          */
137                         address = [ 00 00 00 00 00 00 ];
138                         local-mac-address = [ 00 00 00 00 00 00 ];
139                         interrupts = <20 8 21 8 22 8>;
140                         interrupt-parent = < &ipic >;
141                         phy-handle = < &phy1c >;
142                 };
144                 ethernet@25000 {
145                         #address-cells = <1>;
146                         #size-cells = <0>;
147                         device_type = "network";
148                         model = "TSEC";
149                         compatible = "gianfar";
150                         reg = <25000 1000>;
151                         /*
152                          * address is deprecated and will be removed
153                          * in 2.6.25.  Only recent versions of
154                          * U-Boot support local-mac-address, however.
155                          */
156                         address = [ 00 00 00 00 00 00 ];
157                         local-mac-address = [ 00 00 00 00 00 00 ];
158                         interrupts = <23 8 24 8 25 8>;
159                         interrupt-parent = < &ipic >;
160                         phy-handle = < &phy1f >;
161                 };
163                 serial@4500 {
164                         device_type = "serial";
165                         compatible = "ns16550";
166                         reg = <4500 100>;
167                         clock-frequency = <0>;          // from bootloader
168                         interrupts = <9 8>;
169                         interrupt-parent = < &ipic >;
170                 };
172                 serial@4600 {
173                         device_type = "serial";
174                         compatible = "ns16550";
175                         reg = <4600 100>;
176                         clock-frequency = <0>;          // from bootloader
177                         interrupts = <a 8>;
178                         interrupt-parent = < &ipic >;
179                 };
181                 pci@8500 {
182                         interrupt-map-mask = <f800 0 0 7>;
183                         interrupt-map = <
184                                         /* IDSEL 0x10 - SATA */
185                                         8000 0 0 1 &ipic 16 8 /* SATA_INTA */
186                                         >;
187                         interrupt-parent = < &ipic >;
188                         interrupts = <42 8>;
189                         bus-range = <0 0>;
190                         ranges = <42000000 0 80000000 80000000 0 10000000
191                                   02000000 0 90000000 90000000 0 10000000
192                                   01000000 0 00000000 e2000000 0 01000000>;
193                         clock-frequency = <3f940aa>;
194                         #interrupt-cells = <1>;
195                         #size-cells = <2>;
196                         #address-cells = <3>;
197                         reg = <8500 100>;
198                         compatible = "fsl,mpc8349-pci";
199                         device_type = "pci";
200                 };
202                 pci@8600 {
203                         interrupt-map-mask = <f800 0 0 7>;
204                         interrupt-map = <
205                                         /* IDSEL 0x0E - MiniPCI Slot */
206                                         7000 0 0 1 &ipic 15 8 /* PCI_INTA */
208                                         /* IDSEL 0x0F - PCI Slot */
209                                         7800 0 0 1 &ipic 14 8 /* PCI_INTA */
210                                         7800 0 0 2 &ipic 15 8 /* PCI_INTB */
211                                          >;
212                         interrupt-parent = < &ipic >;
213                         interrupts = <43 8>;
214                         bus-range = <1 1>;
215                         ranges = <42000000 0 a0000000 a0000000 0 10000000
216                                   02000000 0 b0000000 b0000000 0 10000000
217                                   01000000 0 00000000 e3000000 0 01000000>;
218                         clock-frequency = <3f940aa>;
219                         #interrupt-cells = <1>;
220                         #size-cells = <2>;
221                         #address-cells = <3>;
222                         reg = <8600 100>;
223                         compatible = "fsl,mpc8349-pci";
224                         device_type = "pci";
225                 };
227                 crypto@30000 {
228                         device_type = "crypto";
229                         model = "SEC2";
230                         compatible = "talitos";
231                         reg = <30000 10000>;
232                         interrupts = <b 8>;
233                         interrupt-parent = < &ipic >;
234                         num-channels = <4>;
235                         channel-fifo-len = <18>;
236                         exec-units-mask = <0000007e>;
237                         descriptor-types-mask = <01010ebf>;
238                 };
240                 ipic: pic@700 {
241                         interrupt-controller;
242                         #address-cells = <0>;
243                         #interrupt-cells = <2>;
244                         reg = <700 100>;
245                         device_type = "ipic";
246                 };
247         };