[POWERPC] FSL: Added aliases node to device trees
[pandora-kernel.git] / 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         model = "MPC8349EMITXGP";
13         compatible = "MPC8349EMITXGP", "MPC834xMITX", "MPC83xxMITX";
14         #address-cells = <1>;
15         #size-cells = <1>;
16
17         aliases {
18                 ethernet0 = &enet0;
19                 serial0 = &serial0;
20                 serial1 = &serial1;
21                 pci0 = &pci0;
22         };
23
24         cpus {
25                 #address-cells = <1>;
26                 #size-cells = <0>;
27
28                 PowerPC,8349@0 {
29                         device_type = "cpu";
30                         reg = <0>;
31                         d-cache-line-size = <20>;
32                         i-cache-line-size = <20>;
33                         d-cache-size = <8000>;
34                         i-cache-size = <8000>;
35                         timebase-frequency = <0>;       // from bootloader
36                         bus-frequency = <0>;            // from bootloader
37                         clock-frequency = <0>;          // from bootloader
38                 };
39         };
40
41         memory {
42                 device_type = "memory";
43                 reg = <00000000 10000000>;
44         };
45
46         soc8349@e0000000 {
47                 #address-cells = <1>;
48                 #size-cells = <1>;
49                 device_type = "soc";
50                 ranges = <0 e0000000 00100000>;
51                 reg = <e0000000 00000200>;
52                 bus-frequency = <0>;                    // from bootloader
53
54                 wdt@200 {
55                         device_type = "watchdog";
56                         compatible = "mpc83xx_wdt";
57                         reg = <200 100>;
58                 };
59
60                 i2c@3000 {
61                         #address-cells = <1>;
62                         #size-cells = <0>;
63                         cell-index = <0>;
64                         compatible = "fsl-i2c";
65                         reg = <3000 100>;
66                         interrupts = <e 8>;
67                         interrupt-parent = < &ipic >;
68                         dfsrr;
69                 };
70
71                 i2c@3100 {
72                         #address-cells = <1>;
73                         #size-cells = <0>;
74                         cell-index = <1>;
75                         compatible = "fsl-i2c";
76                         reg = <3100 100>;
77                         interrupts = <f 8>;
78                         interrupt-parent = < &ipic >;
79                         dfsrr;
80                 };
81
82                 spi@7000 {
83                         device_type = "spi";
84                         compatible = "fsl_spi";
85                         reg = <7000 1000>;
86                         interrupts = <10 8>;
87                         interrupt-parent = < &ipic >;
88                         mode = "cpu";
89                 };
90
91                 usb@23000 {
92                         device_type = "usb";
93                         compatible = "fsl-usb2-dr";
94                         reg = <23000 1000>;
95                         #address-cells = <1>;
96                         #size-cells = <0>;
97                         interrupt-parent = < &ipic >;
98                         interrupts = <26 8>;
99                         dr_mode = "otg";
100                         phy_type = "ulpi";
101                 };
102
103                 mdio@24520 {
104                         #address-cells = <1>;
105                         #size-cells = <0>;
106                         compatible = "fsl,gianfar-mdio";
107                         reg = <24520 20>;
108
109                         /* Vitesse 8201 */
110                         phy1c: ethernet-phy@1c {
111                                 interrupt-parent = < &ipic >;
112                                 interrupts = <12 8>;
113                                 reg = <1c>;
114                                 device_type = "ethernet-phy";
115                         };
116                 };
117
118                 enet0: ethernet@24000 {
119                         cell-index = <0>;
120                         device_type = "network";
121                         model = "TSEC";
122                         compatible = "gianfar";
123                         reg = <24000 1000>;
124                         local-mac-address = [ 00 00 00 00 00 00 ];
125                         interrupts = <20 8 21 8 22 8>;
126                         interrupt-parent = < &ipic >;
127                         phy-handle = < &phy1c >;
128                         linux,network-index = <0>;
129                 };
130
131                 serial0: serial@4500 {
132                         cell-index = <0>;
133                         device_type = "serial";
134                         compatible = "ns16550";
135                         reg = <4500 100>;
136                         clock-frequency = <0>;          // from bootloader
137                         interrupts = <9 8>;
138                         interrupt-parent = < &ipic >;
139                 };
140
141                 serial1: serial@4600 {
142                         cell-index = <1>;
143                         device_type = "serial";
144                         compatible = "ns16550";
145                         reg = <4600 100>;
146                         clock-frequency = <0>;          // from bootloader
147                         interrupts = <a 8>;
148                         interrupt-parent = < &ipic >;
149                 };
150
151                 crypto@30000 {
152                         device_type = "crypto";
153                         model = "SEC2";
154                         compatible = "talitos";
155                         reg = <30000 10000>;
156                         interrupts = <b 8>;
157                         interrupt-parent = < &ipic >;
158                         num-channels = <4>;
159                         channel-fifo-len = <18>;
160                         exec-units-mask = <0000007e>;
161                         descriptor-types-mask = <01010ebf>;
162                 };
163
164                 ipic: pic@700 {
165                         interrupt-controller;
166                         #address-cells = <0>;
167                         #interrupt-cells = <2>;
168                         reg = <700 100>;
169                         device_type = "ipic";
170                 };
171         };
172
173         pci0: pci@e0008600 {
174                 cell-index = <2>;
175                 interrupt-map-mask = <f800 0 0 7>;
176                 interrupt-map = <
177                                 /* IDSEL 0x0F - PCI Slot */
178                                 7800 0 0 1 &ipic 14 8 /* PCI_INTA */
179                                 7800 0 0 2 &ipic 15 8 /* PCI_INTB */
180                                  >;
181                 interrupt-parent = < &ipic >;
182                 interrupts = <43 8>;
183                 bus-range = <1 1>;
184                 ranges = <42000000 0 a0000000 a0000000 0 10000000
185                           02000000 0 b0000000 b0000000 0 10000000
186                           01000000 0 00000000 e3000000 0 01000000>;
187                 clock-frequency = <3f940aa>;
188                 #interrupt-cells = <1>;
189                 #size-cells = <2>;
190                 #address-cells = <3>;
191                 reg = <e0008600 100>;
192                 compatible = "fsl,mpc8349-pci";
193                 device_type = "pci";
194         };
195 };