Merge branches 'release' and 'autoload' into release
[linux-2.6] / arch / powerpc / boot / dts / mpc8349emitxgp.dts
1 /*
2  * MPC8349E-mITX-GP 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 = "MPC8349EMITXGP";
16         compatible = "MPC8349EMITXGP", "MPC834xMITX", "MPC83xxMITX";
17         #address-cells = <1>;
18         #size-cells = <1>;
19
20         aliases {
21                 ethernet0 = &enet0;
22                 serial0 = &serial0;
23                 serial1 = &serial1;
24                 pci0 = &pci0;
25         };
26
27         cpus {
28                 #address-cells = <1>;
29                 #size-cells = <0>;
30
31                 PowerPC,8349@0 {
32                         device_type = "cpu";
33                         reg = <0x0>;
34                         d-cache-line-size = <32>;
35                         i-cache-line-size = <32>;
36                         d-cache-size = <32768>;
37                         i-cache-size = <32768>;
38                         timebase-frequency = <0>;       // from bootloader
39                         bus-frequency = <0>;            // from bootloader
40                         clock-frequency = <0>;          // from bootloader
41                 };
42         };
43
44         memory {
45                 device_type = "memory";
46                 reg = <0x00000000 0x10000000>;
47         };
48
49         soc8349@e0000000 {
50                 #address-cells = <1>;
51                 #size-cells = <1>;
52                 device_type = "soc";
53                 ranges = <0x0 0xe0000000 0x00100000>;
54                 reg = <0xe0000000 0x00000200>;
55                 bus-frequency = <0>;                    // from bootloader
56
57                 wdt@200 {
58                         device_type = "watchdog";
59                         compatible = "mpc83xx_wdt";
60                         reg = <0x200 0x100>;
61                 };
62
63                 i2c@3000 {
64                         #address-cells = <1>;
65                         #size-cells = <0>;
66                         cell-index = <0>;
67                         compatible = "fsl-i2c";
68                         reg = <0x3000 0x100>;
69                         interrupts = <14 0x8>;
70                         interrupt-parent = <&ipic>;
71                         dfsrr;
72                 };
73
74                 i2c@3100 {
75                         #address-cells = <1>;
76                         #size-cells = <0>;
77                         cell-index = <1>;
78                         compatible = "fsl-i2c";
79                         reg = <0x3100 0x100>;
80                         interrupts = <15 0x8>;
81                         interrupt-parent = <&ipic>;
82                         dfsrr;
83                 };
84
85                 spi@7000 {
86                         cell-index = <0>;
87                         compatible = "fsl,spi";
88                         reg = <0x7000 0x1000>;
89                         interrupts = <16 0x8>;
90                         interrupt-parent = <&ipic>;
91                         mode = "cpu";
92                 };
93
94                 usb@23000 {
95                         compatible = "fsl-usb2-dr";
96                         reg = <0x23000 0x1000>;
97                         #address-cells = <1>;
98                         #size-cells = <0>;
99                         interrupt-parent = <&ipic>;
100                         interrupts = <38 0x8>;
101                         dr_mode = "otg";
102                         phy_type = "ulpi";
103                 };
104
105                 mdio@24520 {
106                         #address-cells = <1>;
107                         #size-cells = <0>;
108                         compatible = "fsl,gianfar-mdio";
109                         reg = <0x24520 0x20>;
110
111                         /* Vitesse 8201 */
112                         phy1c: ethernet-phy@1c {
113                                 interrupt-parent = <&ipic>;
114                                 interrupts = <18 0x8>;
115                                 reg = <0x1c>;
116                                 device_type = "ethernet-phy";
117                         };
118                 };
119
120                 enet0: ethernet@24000 {
121                         cell-index = <0>;
122                         device_type = "network";
123                         model = "TSEC";
124                         compatible = "gianfar";
125                         reg = <0x24000 0x1000>;
126                         local-mac-address = [ 00 00 00 00 00 00 ];
127                         interrupts = <32 0x8 33 0x8 34 0x8>;
128                         interrupt-parent = <&ipic>;
129                         phy-handle = <&phy1c>;
130                         linux,network-index = <0>;
131                 };
132
133                 serial0: serial@4500 {
134                         cell-index = <0>;
135                         device_type = "serial";
136                         compatible = "ns16550";
137                         reg = <0x4500 0x100>;
138                         clock-frequency = <0>;          // from bootloader
139                         interrupts = <9 0x8>;
140                         interrupt-parent = <&ipic>;
141                 };
142
143                 serial1: serial@4600 {
144                         cell-index = <1>;
145                         device_type = "serial";
146                         compatible = "ns16550";
147                         reg = <0x4600 0x100>;
148                         clock-frequency = <0>;          // from bootloader
149                         interrupts = <10 0x8>;
150                         interrupt-parent = <&ipic>;
151                 };
152
153                 crypto@30000 {
154                         device_type = "crypto";
155                         model = "SEC2";
156                         compatible = "talitos";
157                         reg = <0x30000 0x10000>;
158                         interrupts = <11 0x8>;
159                         interrupt-parent = <&ipic>;
160                         num-channels = <4>;
161                         channel-fifo-len = <24>;
162                         exec-units-mask = <0x0000007e>;
163                         descriptor-types-mask = <0x01010ebf>;
164                 };
165
166                 ipic: pic@700 {
167                         interrupt-controller;
168                         #address-cells = <0>;
169                         #interrupt-cells = <2>;
170                         reg = <0x700 0x100>;
171                         device_type = "ipic";
172                 };
173         };
174
175         pci0: pci@e0008600 {
176                 cell-index = <2>;
177                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
178                 interrupt-map = <
179                                 /* IDSEL 0x0F - PCI Slot */
180                                 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */
181                                 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */
182                                  >;
183                 interrupt-parent = <&ipic>;
184                 interrupts = <67 0x8>;
185                 bus-range = <0x1 0x1>;
186                 ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
187                           0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
188                           0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>;
189                 clock-frequency = <66666666>;
190                 #interrupt-cells = <1>;
191                 #size-cells = <2>;
192                 #address-cells = <3>;
193                 reg = <0xe0008600 0x100>;
194                 compatible = "fsl,mpc8349-pci";
195                 device_type = "pci";
196         };
197 };