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