blob: 4fe45c02184898f9dde59a8f94e5077cab5e8974 [file] [log] [blame]
Li Yang7a234d02006-10-02 20:10:10 -05001/*
2 * MPC8360E 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/*
14/memreserve/ 00000000 1000000;
15*/
16
17/ {
Kumar Galad71a1dc2007-02-16 09:57:22 -060018 model = "MPC8360MDS";
19 compatible = "MPC8360EMDS", "MPC836xMDS", "MPC83xxMDS";
Li Yang7a234d02006-10-02 20:10:10 -050020 #address-cells = <1>;
21 #size-cells = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050022
23 cpus {
24 #cpus = <1>;
25 #address-cells = <1>;
26 #size-cells = <0>;
Li Yang7a234d02006-10-02 20:10:10 -050027
28 PowerPC,8360@0 {
29 device_type = "cpu";
30 reg = <0>;
31 d-cache-line-size = <20>; // 32 bytes
32 i-cache-line-size = <20>; // 32 bytes
33 d-cache-size = <8000>; // L1, 32K
34 i-cache-size = <8000>; // L1, 32K
35 timebase-frequency = <3EF1480>;
36 bus-frequency = <FBC5200>;
37 clock-frequency = <1F78A400>;
38 32-bit;
Li Yang7a234d02006-10-02 20:10:10 -050039 };
40 };
41
42 memory {
43 device_type = "memory";
Li Yang7a234d02006-10-02 20:10:10 -050044 reg = <00000000 10000000>;
45 };
46
47 bcsr@f8000000 {
48 device_type = "board-control";
49 reg = <f8000000 8000>;
50 };
51
52 soc8360@e0000000 {
53 #address-cells = <1>;
54 #size-cells = <1>;
55 #interrupt-cells = <2>;
56 device_type = "soc";
57 ranges = <0 e0000000 00100000>;
58 reg = <e0000000 00000200>;
59 bus-frequency = <FBC5200>;
60
61 wdt@200 {
62 device_type = "watchdog";
63 compatible = "mpc83xx_wdt";
64 reg = <200 100>;
65 };
66
67 i2c@3000 {
68 device_type = "i2c";
69 compatible = "fsl-i2c";
70 reg = <3000 100>;
71 interrupts = <e 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060072 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -050073 dfsrr;
74 };
75
76 i2c@3100 {
77 device_type = "i2c";
78 compatible = "fsl-i2c";
79 reg = <3100 100>;
80 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060081 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -050082 dfsrr;
83 };
84
85 serial@4500 {
86 device_type = "serial";
87 compatible = "ns16550";
88 reg = <4500 100>;
89 clock-frequency = <FBC5200>;
90 interrupts = <9 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060091 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -050092 };
93
94 serial@4600 {
95 device_type = "serial";
96 compatible = "ns16550";
97 reg = <4600 100>;
98 clock-frequency = <FBC5200>;
99 interrupts = <a 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600100 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500101 };
102
103 crypto@30000 {
104 device_type = "crypto";
105 model = "SEC2";
106 compatible = "talitos";
107 reg = <30000 10000>;
108 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600109 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500110 num-channels = <4>;
111 channel-fifo-len = <18>;
112 exec-units-mask = <0000007e>;
113 /* desc mask is for rev1.x, we need runtime fixup for >=2.x */
114 descriptor-types-mask = <01010ebf>;
115 };
116
117 pci@8500 {
Li Yang7a234d02006-10-02 20:10:10 -0500118 interrupt-map-mask = <f800 0 0 7>;
119 interrupt-map = <
120
121 /* IDSEL 0x11 AD17 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600122 8800 0 0 1 &ipic 14 8
123 8800 0 0 2 &ipic 15 8
124 8800 0 0 3 &ipic 16 8
125 8800 0 0 4 &ipic 17 8
Li Yang7a234d02006-10-02 20:10:10 -0500126
127 /* IDSEL 0x12 AD18 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600128 9000 0 0 1 &ipic 16 8
129 9000 0 0 2 &ipic 17 8
130 9000 0 0 3 &ipic 14 8
131 9000 0 0 4 &ipic 15 8
Li Yang7a234d02006-10-02 20:10:10 -0500132
133 /* IDSEL 0x13 AD19 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600134 9800 0 0 1 &ipic 17 8
135 9800 0 0 2 &ipic 14 8
136 9800 0 0 3 &ipic 15 8
137 9800 0 0 4 &ipic 16 8
Li Yang7a234d02006-10-02 20:10:10 -0500138
139 /* IDSEL 0x15 AD21*/
Kumar Galad71a1dc2007-02-16 09:57:22 -0600140 a800 0 0 1 &ipic 14 8
141 a800 0 0 2 &ipic 15 8
142 a800 0 0 3 &ipic 16 8
143 a800 0 0 4 &ipic 17 8
Li Yang7a234d02006-10-02 20:10:10 -0500144
145 /* IDSEL 0x16 AD22*/
Kumar Galad71a1dc2007-02-16 09:57:22 -0600146 b000 0 0 1 &ipic 17 8
147 b000 0 0 2 &ipic 14 8
148 b000 0 0 3 &ipic 15 8
149 b000 0 0 4 &ipic 16 8
Li Yang7a234d02006-10-02 20:10:10 -0500150
151 /* IDSEL 0x17 AD23*/
Kumar Galad71a1dc2007-02-16 09:57:22 -0600152 b800 0 0 1 &ipic 16 8
153 b800 0 0 2 &ipic 17 8
154 b800 0 0 3 &ipic 14 8
155 b800 0 0 4 &ipic 15 8
Li Yang7a234d02006-10-02 20:10:10 -0500156
157 /* IDSEL 0x18 AD24*/
Kumar Galad71a1dc2007-02-16 09:57:22 -0600158 c000 0 0 1 &ipic 15 8
159 c000 0 0 2 &ipic 16 8
160 c000 0 0 3 &ipic 17 8
161 c000 0 0 4 &ipic 14 8>;
162 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500163 interrupts = <42 8>;
164 bus-range = <0 0>;
165 ranges = <02000000 0 a0000000 a0000000 0 10000000
166 42000000 0 80000000 80000000 0 10000000
167 01000000 0 00000000 e2000000 0 00100000>;
168 clock-frequency = <3f940aa>;
169 #interrupt-cells = <1>;
170 #size-cells = <2>;
171 #address-cells = <3>;
172 reg = <8500 100>;
173 compatible = "83xx";
174 device_type = "pci";
175 };
176
Kumar Galad71a1dc2007-02-16 09:57:22 -0600177 ipic: pic@700 {
Li Yang7a234d02006-10-02 20:10:10 -0500178 interrupt-controller;
179 #address-cells = <0>;
180 #interrupt-cells = <2>;
181 reg = <700 100>;
182 built-in;
183 device_type = "ipic";
184 };
185
186 par_io@1400 {
187 reg = <1400 100>;
188 device_type = "par_io";
189 num-ports = <7>;
190
Kumar Galad71a1dc2007-02-16 09:57:22 -0600191 pio1: ucc_pin@01 {
Li Yang7a234d02006-10-02 20:10:10 -0500192 pio-map = <
193 /* port pin dir open_drain assignment has_irq */
194 0 3 1 0 1 0 /* TxD0 */
195 0 4 1 0 1 0 /* TxD1 */
196 0 5 1 0 1 0 /* TxD2 */
197 0 6 1 0 1 0 /* TxD3 */
198 1 6 1 0 3 0 /* TxD4 */
199 1 7 1 0 1 0 /* TxD5 */
200 1 9 1 0 2 0 /* TxD6 */
201 1 a 1 0 2 0 /* TxD7 */
202 0 9 2 0 1 0 /* RxD0 */
203 0 a 2 0 1 0 /* RxD1 */
204 0 b 2 0 1 0 /* RxD2 */
205 0 c 2 0 1 0 /* RxD3 */
206 0 d 2 0 1 0 /* RxD4 */
207 1 1 2 0 2 0 /* RxD5 */
208 1 0 2 0 2 0 /* RxD6 */
209 1 4 2 0 2 0 /* RxD7 */
210 0 7 1 0 1 0 /* TX_EN */
211 0 8 1 0 1 0 /* TX_ER */
212 0 f 2 0 1 0 /* RX_DV */
213 0 10 2 0 1 0 /* RX_ER */
214 0 0 2 0 1 0 /* RX_CLK */
215 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
216 2 8 2 0 1 0>; /* GTX125 - CLK9 */
217 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600218 pio2: ucc_pin@02 {
Li Yang7a234d02006-10-02 20:10:10 -0500219 pio-map = <
220 /* port pin dir open_drain assignment has_irq */
221 0 11 1 0 1 0 /* TxD0 */
222 0 12 1 0 1 0 /* TxD1 */
223 0 13 1 0 1 0 /* TxD2 */
224 0 14 1 0 1 0 /* TxD3 */
225 1 2 1 0 1 0 /* TxD4 */
226 1 3 1 0 2 0 /* TxD5 */
227 1 5 1 0 3 0 /* TxD6 */
228 1 8 1 0 3 0 /* TxD7 */
229 0 17 2 0 1 0 /* RxD0 */
230 0 18 2 0 1 0 /* RxD1 */
231 0 19 2 0 1 0 /* RxD2 */
232 0 1a 2 0 1 0 /* RxD3 */
233 0 1b 2 0 1 0 /* RxD4 */
234 1 c 2 0 2 0 /* RxD5 */
235 1 d 2 0 3 0 /* RxD6 */
236 1 b 2 0 2 0 /* RxD7 */
237 0 15 1 0 1 0 /* TX_EN */
238 0 16 1 0 1 0 /* TX_ER */
239 0 1d 2 0 1 0 /* RX_DV */
240 0 1e 2 0 1 0 /* RX_ER */
241 0 1f 2 0 1 0 /* RX_CLK */
242 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
243 2 3 2 0 1 0 /* GTX125 - CLK4 */
244 0 1 3 0 2 0 /* MDIO */
245 0 2 1 0 1 0>; /* MDC */
246 };
247
248 };
249 };
250
251 qe@e0100000 {
252 #address-cells = <1>;
253 #size-cells = <1>;
254 device_type = "qe";
255 model = "QE";
256 ranges = <0 e0100000 00100000>;
257 reg = <e0100000 480>;
258 brg-frequency = <0>;
259 bus-frequency = <179A7B00>;
260
261 muram@10000 {
262 device_type = "muram";
263 ranges = <0 00010000 0000c000>;
264
265 data-only@0{
266 reg = <0 c000>;
267 };
268 };
269
270 spi@4c0 {
271 device_type = "spi";
272 compatible = "fsl_spi";
273 reg = <4c0 40>;
274 interrupts = <2>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600275 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500276 mode = "cpu";
277 };
278
279 spi@500 {
280 device_type = "spi";
281 compatible = "fsl_spi";
282 reg = <500 40>;
283 interrupts = <1>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600284 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500285 mode = "cpu";
286 };
287
288 usb@6c0 {
289 device_type = "usb";
290 compatible = "qe_udc";
291 reg = <6c0 40 8B00 100>;
292 interrupts = <b>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600293 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500294 mode = "slave";
295 };
296
297 ucc@2000 {
298 device_type = "network";
299 compatible = "ucc_geth";
300 model = "UCC";
301 device-id = <1>;
302 reg = <2000 200>;
303 interrupts = <20>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600304 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500305 mac-address = [ 00 04 9f 00 23 23 ];
306 rx-clock = <0>;
307 tx-clock = <19>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600308 phy-handle = < &phy0 >;
309 pio-handle = < &pio1 >;
Li Yang7a234d02006-10-02 20:10:10 -0500310 };
311
312 ucc@3000 {
313 device_type = "network";
314 compatible = "ucc_geth";
315 model = "UCC";
316 device-id = <2>;
317 reg = <3000 200>;
318 interrupts = <21>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600319 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500320 mac-address = [ 00 11 22 33 44 55 ];
321 rx-clock = <0>;
322 tx-clock = <14>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600323 phy-handle = < &phy1 >;
324 pio-handle = < &pio2 >;
Li Yang7a234d02006-10-02 20:10:10 -0500325 };
326
327 mdio@2120 {
328 #address-cells = <1>;
329 #size-cells = <0>;
330 reg = <2120 18>;
331 device_type = "mdio";
332 compatible = "ucc_geth_phy";
333
Kumar Galad71a1dc2007-02-16 09:57:22 -0600334 phy0: ethernet-phy@00 {
335 interrupt-parent = < &ipic >;
336 interrupts = <11 8>;
Li Yang7a234d02006-10-02 20:10:10 -0500337 reg = <0>;
338 device_type = "ethernet-phy";
339 interface = <6>; //ENET_1000_GMII
340 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600341 phy1: ethernet-phy@01 {
342 interrupt-parent = < &ipic >;
343 interrupts = <12 8>;
Li Yang7a234d02006-10-02 20:10:10 -0500344 reg = <1>;
345 device_type = "ethernet-phy";
346 interface = <6>;
347 };
348 };
349
Kumar Galad71a1dc2007-02-16 09:57:22 -0600350 qeic: qeic@80 {
Li Yang7a234d02006-10-02 20:10:10 -0500351 interrupt-controller;
352 device_type = "qeic";
353 #address-cells = <0>;
354 #interrupt-cells = <1>;
355 reg = <80 80>;
356 built-in;
357 big-endian;
358 interrupts = <20 8 21 8>; //high:32 low:33
Kumar Galad71a1dc2007-02-16 09:57:22 -0600359 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500360 };
361
362 };
363};