blob: 3b0873a8c909c307e90e4f0c8739b19f0e93dfee [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 {
Li Yang7a234d02006-10-02 20:10:10 -050024 #address-cells = <1>;
25 #size-cells = <0>;
Li Yang7a234d02006-10-02 20:10:10 -050026
27 PowerPC,8360@0 {
28 device_type = "cpu";
29 reg = <0>;
30 d-cache-line-size = <20>; // 32 bytes
31 i-cache-line-size = <20>; // 32 bytes
32 d-cache-size = <8000>; // L1, 32K
33 i-cache-size = <8000>; // L1, 32K
34 timebase-frequency = <3EF1480>;
35 bus-frequency = <FBC5200>;
36 clock-frequency = <1F78A400>;
Li Yang7a234d02006-10-02 20:10:10 -050037 };
38 };
39
40 memory {
41 device_type = "memory";
Li Yang7a234d02006-10-02 20:10:10 -050042 reg = <00000000 10000000>;
43 };
44
45 bcsr@f8000000 {
46 device_type = "board-control";
47 reg = <f8000000 8000>;
48 };
49
50 soc8360@e0000000 {
51 #address-cells = <1>;
52 #size-cells = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050053 device_type = "soc";
54 ranges = <0 e0000000 00100000>;
55 reg = <e0000000 00000200>;
56 bus-frequency = <FBC5200>;
57
58 wdt@200 {
59 device_type = "watchdog";
60 compatible = "mpc83xx_wdt";
61 reg = <200 100>;
62 };
63
64 i2c@3000 {
Kim Phillips27f49802007-11-08 13:37:06 -060065 #address-cells = <1>;
66 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -060067 cell-index = <0>;
Li Yang7a234d02006-10-02 20:10:10 -050068 compatible = "fsl-i2c";
69 reg = <3000 100>;
70 interrupts = <e 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060071 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -050072 dfsrr;
Kim Phillips27f49802007-11-08 13:37:06 -060073
74 rtc@68 {
75 compatible = "dallas,ds1374";
76 reg = <68>;
77 };
Li Yang7a234d02006-10-02 20:10:10 -050078 };
79
80 i2c@3100 {
Kim Phillips27f49802007-11-08 13:37:06 -060081 #address-cells = <1>;
82 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -060083 cell-index = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050084 compatible = "fsl-i2c";
85 reg = <3100 100>;
86 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060087 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -050088 dfsrr;
89 };
90
91 serial@4500 {
92 device_type = "serial";
93 compatible = "ns16550";
94 reg = <4500 100>;
95 clock-frequency = <FBC5200>;
96 interrupts = <9 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060097 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -050098 };
99
100 serial@4600 {
101 device_type = "serial";
102 compatible = "ns16550";
103 reg = <4600 100>;
104 clock-frequency = <FBC5200>;
105 interrupts = <a 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600106 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500107 };
108
109 crypto@30000 {
110 device_type = "crypto";
111 model = "SEC2";
112 compatible = "talitos";
113 reg = <30000 10000>;
114 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600115 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500116 num-channels = <4>;
117 channel-fifo-len = <18>;
118 exec-units-mask = <0000007e>;
119 /* desc mask is for rev1.x, we need runtime fixup for >=2.x */
120 descriptor-types-mask = <01010ebf>;
121 };
122
Kumar Galad71a1dc2007-02-16 09:57:22 -0600123 ipic: pic@700 {
Li Yang7a234d02006-10-02 20:10:10 -0500124 interrupt-controller;
125 #address-cells = <0>;
126 #interrupt-cells = <2>;
127 reg = <700 100>;
Li Yang7a234d02006-10-02 20:10:10 -0500128 device_type = "ipic";
129 };
130
131 par_io@1400 {
132 reg = <1400 100>;
133 device_type = "par_io";
134 num-ports = <7>;
135
Kumar Galad71a1dc2007-02-16 09:57:22 -0600136 pio1: ucc_pin@01 {
Li Yang7a234d02006-10-02 20:10:10 -0500137 pio-map = <
138 /* port pin dir open_drain assignment has_irq */
139 0 3 1 0 1 0 /* TxD0 */
140 0 4 1 0 1 0 /* TxD1 */
141 0 5 1 0 1 0 /* TxD2 */
142 0 6 1 0 1 0 /* TxD3 */
143 1 6 1 0 3 0 /* TxD4 */
144 1 7 1 0 1 0 /* TxD5 */
145 1 9 1 0 2 0 /* TxD6 */
146 1 a 1 0 2 0 /* TxD7 */
147 0 9 2 0 1 0 /* RxD0 */
148 0 a 2 0 1 0 /* RxD1 */
149 0 b 2 0 1 0 /* RxD2 */
150 0 c 2 0 1 0 /* RxD3 */
151 0 d 2 0 1 0 /* RxD4 */
152 1 1 2 0 2 0 /* RxD5 */
153 1 0 2 0 2 0 /* RxD6 */
154 1 4 2 0 2 0 /* RxD7 */
155 0 7 1 0 1 0 /* TX_EN */
156 0 8 1 0 1 0 /* TX_ER */
157 0 f 2 0 1 0 /* RX_DV */
158 0 10 2 0 1 0 /* RX_ER */
159 0 0 2 0 1 0 /* RX_CLK */
160 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
161 2 8 2 0 1 0>; /* GTX125 - CLK9 */
162 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600163 pio2: ucc_pin@02 {
Li Yang7a234d02006-10-02 20:10:10 -0500164 pio-map = <
165 /* port pin dir open_drain assignment has_irq */
166 0 11 1 0 1 0 /* TxD0 */
167 0 12 1 0 1 0 /* TxD1 */
168 0 13 1 0 1 0 /* TxD2 */
169 0 14 1 0 1 0 /* TxD3 */
170 1 2 1 0 1 0 /* TxD4 */
171 1 3 1 0 2 0 /* TxD5 */
172 1 5 1 0 3 0 /* TxD6 */
173 1 8 1 0 3 0 /* TxD7 */
174 0 17 2 0 1 0 /* RxD0 */
175 0 18 2 0 1 0 /* RxD1 */
176 0 19 2 0 1 0 /* RxD2 */
177 0 1a 2 0 1 0 /* RxD3 */
178 0 1b 2 0 1 0 /* RxD4 */
179 1 c 2 0 2 0 /* RxD5 */
180 1 d 2 0 3 0 /* RxD6 */
181 1 b 2 0 2 0 /* RxD7 */
182 0 15 1 0 1 0 /* TX_EN */
183 0 16 1 0 1 0 /* TX_ER */
184 0 1d 2 0 1 0 /* RX_DV */
185 0 1e 2 0 1 0 /* RX_ER */
186 0 1f 2 0 1 0 /* RX_CLK */
187 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
188 2 3 2 0 1 0 /* GTX125 - CLK4 */
189 0 1 3 0 2 0 /* MDIO */
190 0 2 1 0 1 0>; /* MDC */
191 };
192
193 };
194 };
195
196 qe@e0100000 {
197 #address-cells = <1>;
198 #size-cells = <1>;
199 device_type = "qe";
200 model = "QE";
201 ranges = <0 e0100000 00100000>;
202 reg = <e0100000 480>;
203 brg-frequency = <0>;
204 bus-frequency = <179A7B00>;
205
206 muram@10000 {
207 device_type = "muram";
208 ranges = <0 00010000 0000c000>;
209
210 data-only@0{
211 reg = <0 c000>;
212 };
213 };
214
215 spi@4c0 {
216 device_type = "spi";
217 compatible = "fsl_spi";
218 reg = <4c0 40>;
219 interrupts = <2>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600220 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500221 mode = "cpu";
222 };
223
224 spi@500 {
225 device_type = "spi";
226 compatible = "fsl_spi";
227 reg = <500 40>;
228 interrupts = <1>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600229 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500230 mode = "cpu";
231 };
232
233 usb@6c0 {
234 device_type = "usb";
235 compatible = "qe_udc";
236 reg = <6c0 40 8B00 100>;
237 interrupts = <b>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600238 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500239 mode = "slave";
240 };
241
Kumar Galae77b28e2007-12-12 00:28:35 -0600242 enet0: ucc@2000 {
Li Yang7a234d02006-10-02 20:10:10 -0500243 device_type = "network";
244 compatible = "ucc_geth";
245 model = "UCC";
Kumar Galae77b28e2007-12-12 00:28:35 -0600246 cell-index = <1>;
Li Yang7a234d02006-10-02 20:10:10 -0500247 device-id = <1>;
248 reg = <2000 200>;
249 interrupts = <20>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600250 interrupt-parent = < &qeic >;
Timur Tabieae98262007-06-22 14:33:15 -0500251 local-mac-address = [ 00 00 00 00 00 00 ];
Li Yang7a234d02006-10-02 20:10:10 -0500252 rx-clock = <0>;
253 tx-clock = <19>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600254 phy-handle = < &phy0 >;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000255 phy-connection-type = "rgmii-id";
Kumar Galad71a1dc2007-02-16 09:57:22 -0600256 pio-handle = < &pio1 >;
Li Yang7a234d02006-10-02 20:10:10 -0500257 };
258
Kumar Galae77b28e2007-12-12 00:28:35 -0600259 enet1: ucc@3000 {
Li Yang7a234d02006-10-02 20:10:10 -0500260 device_type = "network";
261 compatible = "ucc_geth";
262 model = "UCC";
Kumar Galae77b28e2007-12-12 00:28:35 -0600263 cell-index = <2>;
Li Yang7a234d02006-10-02 20:10:10 -0500264 device-id = <2>;
265 reg = <3000 200>;
266 interrupts = <21>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600267 interrupt-parent = < &qeic >;
Timur Tabieae98262007-06-22 14:33:15 -0500268 local-mac-address = [ 00 00 00 00 00 00 ];
Li Yang7a234d02006-10-02 20:10:10 -0500269 rx-clock = <0>;
270 tx-clock = <14>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600271 phy-handle = < &phy1 >;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000272 phy-connection-type = "rgmii-id";
Kumar Galad71a1dc2007-02-16 09:57:22 -0600273 pio-handle = < &pio2 >;
Li Yang7a234d02006-10-02 20:10:10 -0500274 };
275
276 mdio@2120 {
277 #address-cells = <1>;
278 #size-cells = <0>;
279 reg = <2120 18>;
280 device_type = "mdio";
281 compatible = "ucc_geth_phy";
282
Kumar Galad71a1dc2007-02-16 09:57:22 -0600283 phy0: ethernet-phy@00 {
284 interrupt-parent = < &ipic >;
285 interrupts = <11 8>;
Li Yang7a234d02006-10-02 20:10:10 -0500286 reg = <0>;
287 device_type = "ethernet-phy";
Li Yang7a234d02006-10-02 20:10:10 -0500288 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600289 phy1: ethernet-phy@01 {
290 interrupt-parent = < &ipic >;
291 interrupts = <12 8>;
Li Yang7a234d02006-10-02 20:10:10 -0500292 reg = <1>;
293 device_type = "ethernet-phy";
Li Yang7a234d02006-10-02 20:10:10 -0500294 };
295 };
296
Kumar Galad71a1dc2007-02-16 09:57:22 -0600297 qeic: qeic@80 {
Li Yang7a234d02006-10-02 20:10:10 -0500298 interrupt-controller;
299 device_type = "qeic";
300 #address-cells = <0>;
301 #interrupt-cells = <1>;
302 reg = <80 80>;
Li Yang7a234d02006-10-02 20:10:10 -0500303 big-endian;
304 interrupts = <20 8 21 8>; //high:32 low:33
Kumar Galad71a1dc2007-02-16 09:57:22 -0600305 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500306 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500307 };
Li Yang7a234d02006-10-02 20:10:10 -0500308
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500309 pci@e0008500 {
310 interrupt-map-mask = <f800 0 0 7>;
311 interrupt-map = <
312
313 /* IDSEL 0x11 AD17 */
314 8800 0 0 1 &ipic 14 8
315 8800 0 0 2 &ipic 15 8
316 8800 0 0 3 &ipic 16 8
317 8800 0 0 4 &ipic 17 8
318
319 /* IDSEL 0x12 AD18 */
320 9000 0 0 1 &ipic 16 8
321 9000 0 0 2 &ipic 17 8
322 9000 0 0 3 &ipic 14 8
323 9000 0 0 4 &ipic 15 8
324
325 /* IDSEL 0x13 AD19 */
326 9800 0 0 1 &ipic 17 8
327 9800 0 0 2 &ipic 14 8
328 9800 0 0 3 &ipic 15 8
329 9800 0 0 4 &ipic 16 8
330
331 /* IDSEL 0x15 AD21*/
332 a800 0 0 1 &ipic 14 8
333 a800 0 0 2 &ipic 15 8
334 a800 0 0 3 &ipic 16 8
335 a800 0 0 4 &ipic 17 8
336
337 /* IDSEL 0x16 AD22*/
338 b000 0 0 1 &ipic 17 8
339 b000 0 0 2 &ipic 14 8
340 b000 0 0 3 &ipic 15 8
341 b000 0 0 4 &ipic 16 8
342
343 /* IDSEL 0x17 AD23*/
344 b800 0 0 1 &ipic 16 8
345 b800 0 0 2 &ipic 17 8
346 b800 0 0 3 &ipic 14 8
347 b800 0 0 4 &ipic 15 8
348
349 /* IDSEL 0x18 AD24*/
350 c000 0 0 1 &ipic 15 8
351 c000 0 0 2 &ipic 16 8
352 c000 0 0 3 &ipic 17 8
353 c000 0 0 4 &ipic 14 8>;
354 interrupt-parent = < &ipic >;
355 interrupts = <42 8>;
356 bus-range = <0 0>;
357 ranges = <02000000 0 a0000000 a0000000 0 10000000
358 42000000 0 80000000 80000000 0 10000000
359 01000000 0 00000000 e2000000 0 00100000>;
360 clock-frequency = <3f940aa>;
361 #interrupt-cells = <1>;
362 #size-cells = <2>;
363 #address-cells = <3>;
364 reg = <e0008500 100>;
365 compatible = "fsl,mpc8349-pci";
366 device_type = "pci";
Li Yang7a234d02006-10-02 20:10:10 -0500367 };
368};