blob: dc6caf0b4c2d223b8661dc89334a81246efcdcc7 [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
Kumar Galaea082fa2007-12-12 01:46:12 -060023 aliases {
24 ethernet0 = &enet0;
25 ethernet1 = &enet1;
26 serial0 = &serial0;
27 serial1 = &serial1;
28 pci0 = &pci0;
29 };
30
Li Yang7a234d02006-10-02 20:10:10 -050031 cpus {
Li Yang7a234d02006-10-02 20:10:10 -050032 #address-cells = <1>;
33 #size-cells = <0>;
Li Yang7a234d02006-10-02 20:10:10 -050034
35 PowerPC,8360@0 {
36 device_type = "cpu";
37 reg = <0>;
38 d-cache-line-size = <20>; // 32 bytes
39 i-cache-line-size = <20>; // 32 bytes
40 d-cache-size = <8000>; // L1, 32K
41 i-cache-size = <8000>; // L1, 32K
42 timebase-frequency = <3EF1480>;
43 bus-frequency = <FBC5200>;
44 clock-frequency = <1F78A400>;
Li Yang7a234d02006-10-02 20:10:10 -050045 };
46 };
47
48 memory {
49 device_type = "memory";
Li Yang7a234d02006-10-02 20:10:10 -050050 reg = <00000000 10000000>;
51 };
52
53 bcsr@f8000000 {
54 device_type = "board-control";
55 reg = <f8000000 8000>;
56 };
57
58 soc8360@e0000000 {
59 #address-cells = <1>;
60 #size-cells = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050061 device_type = "soc";
62 ranges = <0 e0000000 00100000>;
63 reg = <e0000000 00000200>;
64 bus-frequency = <FBC5200>;
65
66 wdt@200 {
67 device_type = "watchdog";
68 compatible = "mpc83xx_wdt";
69 reg = <200 100>;
70 };
71
72 i2c@3000 {
Kim Phillips27f49802007-11-08 13:37:06 -060073 #address-cells = <1>;
74 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -060075 cell-index = <0>;
Li Yang7a234d02006-10-02 20:10:10 -050076 compatible = "fsl-i2c";
77 reg = <3000 100>;
78 interrupts = <e 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060079 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -050080 dfsrr;
Kim Phillips27f49802007-11-08 13:37:06 -060081
82 rtc@68 {
83 compatible = "dallas,ds1374";
84 reg = <68>;
85 };
Li Yang7a234d02006-10-02 20:10:10 -050086 };
87
88 i2c@3100 {
Kim Phillips27f49802007-11-08 13:37:06 -060089 #address-cells = <1>;
90 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -060091 cell-index = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050092 compatible = "fsl-i2c";
93 reg = <3100 100>;
94 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060095 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -050096 dfsrr;
97 };
98
Kumar Galaea082fa2007-12-12 01:46:12 -060099 serial0: serial@4500 {
100 cell-index = <0>;
Li Yang7a234d02006-10-02 20:10:10 -0500101 device_type = "serial";
102 compatible = "ns16550";
103 reg = <4500 100>;
104 clock-frequency = <FBC5200>;
105 interrupts = <9 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600106 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500107 };
108
Kumar Galaea082fa2007-12-12 01:46:12 -0600109 serial1: serial@4600 {
110 cell-index = <1>;
Li Yang7a234d02006-10-02 20:10:10 -0500111 device_type = "serial";
112 compatible = "ns16550";
113 reg = <4600 100>;
114 clock-frequency = <FBC5200>;
115 interrupts = <a 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600116 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500117 };
118
119 crypto@30000 {
120 device_type = "crypto";
121 model = "SEC2";
122 compatible = "talitos";
123 reg = <30000 10000>;
124 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600125 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500126 num-channels = <4>;
127 channel-fifo-len = <18>;
128 exec-units-mask = <0000007e>;
129 /* desc mask is for rev1.x, we need runtime fixup for >=2.x */
130 descriptor-types-mask = <01010ebf>;
131 };
132
Kumar Galad71a1dc2007-02-16 09:57:22 -0600133 ipic: pic@700 {
Li Yang7a234d02006-10-02 20:10:10 -0500134 interrupt-controller;
135 #address-cells = <0>;
136 #interrupt-cells = <2>;
137 reg = <700 100>;
Li Yang7a234d02006-10-02 20:10:10 -0500138 device_type = "ipic";
139 };
140
141 par_io@1400 {
142 reg = <1400 100>;
143 device_type = "par_io";
144 num-ports = <7>;
145
Kumar Galad71a1dc2007-02-16 09:57:22 -0600146 pio1: ucc_pin@01 {
Li Yang7a234d02006-10-02 20:10:10 -0500147 pio-map = <
148 /* port pin dir open_drain assignment has_irq */
149 0 3 1 0 1 0 /* TxD0 */
150 0 4 1 0 1 0 /* TxD1 */
151 0 5 1 0 1 0 /* TxD2 */
152 0 6 1 0 1 0 /* TxD3 */
153 1 6 1 0 3 0 /* TxD4 */
154 1 7 1 0 1 0 /* TxD5 */
155 1 9 1 0 2 0 /* TxD6 */
156 1 a 1 0 2 0 /* TxD7 */
157 0 9 2 0 1 0 /* RxD0 */
158 0 a 2 0 1 0 /* RxD1 */
159 0 b 2 0 1 0 /* RxD2 */
160 0 c 2 0 1 0 /* RxD3 */
161 0 d 2 0 1 0 /* RxD4 */
162 1 1 2 0 2 0 /* RxD5 */
163 1 0 2 0 2 0 /* RxD6 */
164 1 4 2 0 2 0 /* RxD7 */
165 0 7 1 0 1 0 /* TX_EN */
166 0 8 1 0 1 0 /* TX_ER */
167 0 f 2 0 1 0 /* RX_DV */
168 0 10 2 0 1 0 /* RX_ER */
169 0 0 2 0 1 0 /* RX_CLK */
170 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
171 2 8 2 0 1 0>; /* GTX125 - CLK9 */
172 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600173 pio2: ucc_pin@02 {
Li Yang7a234d02006-10-02 20:10:10 -0500174 pio-map = <
175 /* port pin dir open_drain assignment has_irq */
176 0 11 1 0 1 0 /* TxD0 */
177 0 12 1 0 1 0 /* TxD1 */
178 0 13 1 0 1 0 /* TxD2 */
179 0 14 1 0 1 0 /* TxD3 */
180 1 2 1 0 1 0 /* TxD4 */
181 1 3 1 0 2 0 /* TxD5 */
182 1 5 1 0 3 0 /* TxD6 */
183 1 8 1 0 3 0 /* TxD7 */
184 0 17 2 0 1 0 /* RxD0 */
185 0 18 2 0 1 0 /* RxD1 */
186 0 19 2 0 1 0 /* RxD2 */
187 0 1a 2 0 1 0 /* RxD3 */
188 0 1b 2 0 1 0 /* RxD4 */
189 1 c 2 0 2 0 /* RxD5 */
190 1 d 2 0 3 0 /* RxD6 */
191 1 b 2 0 2 0 /* RxD7 */
192 0 15 1 0 1 0 /* TX_EN */
193 0 16 1 0 1 0 /* TX_ER */
194 0 1d 2 0 1 0 /* RX_DV */
195 0 1e 2 0 1 0 /* RX_ER */
196 0 1f 2 0 1 0 /* RX_CLK */
197 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
198 2 3 2 0 1 0 /* GTX125 - CLK4 */
199 0 1 3 0 2 0 /* MDIO */
200 0 2 1 0 1 0>; /* MDC */
201 };
202
203 };
204 };
205
206 qe@e0100000 {
207 #address-cells = <1>;
208 #size-cells = <1>;
209 device_type = "qe";
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300210 compatible = "fsl,qe";
Li Yang7a234d02006-10-02 20:10:10 -0500211 ranges = <0 e0100000 00100000>;
212 reg = <e0100000 480>;
213 brg-frequency = <0>;
214 bus-frequency = <179A7B00>;
215
216 muram@10000 {
Paul Gortmaker390167e2008-01-28 02:27:51 -0500217 #address-cells = <1>;
218 #size-cells = <1>;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300219 compatible = "fsl,qe-muram", "fsl,cpm-muram";
Li Yang7a234d02006-10-02 20:10:10 -0500220 ranges = <0 00010000 0000c000>;
221
Paul Gortmaker390167e2008-01-28 02:27:51 -0500222 data-only@0 {
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300223 compatible = "fsl,qe-muram-data",
224 "fsl,cpm-muram-data";
Li Yang7a234d02006-10-02 20:10:10 -0500225 reg = <0 c000>;
226 };
227 };
228
229 spi@4c0 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300230 cell-index = <0>;
231 compatible = "fsl,spi";
Li Yang7a234d02006-10-02 20:10:10 -0500232 reg = <4c0 40>;
233 interrupts = <2>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600234 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500235 mode = "cpu";
236 };
237
238 spi@500 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300239 cell-index = <1>;
240 compatible = "fsl,spi";
Li Yang7a234d02006-10-02 20:10:10 -0500241 reg = <500 40>;
242 interrupts = <1>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600243 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500244 mode = "cpu";
245 };
246
247 usb@6c0 {
Li Yang7a234d02006-10-02 20:10:10 -0500248 compatible = "qe_udc";
249 reg = <6c0 40 8B00 100>;
250 interrupts = <b>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600251 interrupt-parent = < &qeic >;
Li Yang7a234d02006-10-02 20:10:10 -0500252 mode = "slave";
253 };
254
Kumar Galae77b28e2007-12-12 00:28:35 -0600255 enet0: ucc@2000 {
Li Yang7a234d02006-10-02 20:10:10 -0500256 device_type = "network";
257 compatible = "ucc_geth";
258 model = "UCC";
Kumar Galae77b28e2007-12-12 00:28:35 -0600259 cell-index = <1>;
Li Yang7a234d02006-10-02 20:10:10 -0500260 device-id = <1>;
261 reg = <2000 200>;
262 interrupts = <20>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600263 interrupt-parent = < &qeic >;
Timur Tabieae98262007-06-22 14:33:15 -0500264 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600265 rx-clock-name = "none";
266 tx-clock-name = "clk9";
Kumar Galad71a1dc2007-02-16 09:57:22 -0600267 phy-handle = < &phy0 >;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000268 phy-connection-type = "rgmii-id";
Kumar Galad71a1dc2007-02-16 09:57:22 -0600269 pio-handle = < &pio1 >;
Li Yang7a234d02006-10-02 20:10:10 -0500270 };
271
Kumar Galae77b28e2007-12-12 00:28:35 -0600272 enet1: ucc@3000 {
Li Yang7a234d02006-10-02 20:10:10 -0500273 device_type = "network";
274 compatible = "ucc_geth";
275 model = "UCC";
Kumar Galae77b28e2007-12-12 00:28:35 -0600276 cell-index = <2>;
Li Yang7a234d02006-10-02 20:10:10 -0500277 device-id = <2>;
278 reg = <3000 200>;
279 interrupts = <21>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600280 interrupt-parent = < &qeic >;
Timur Tabieae98262007-06-22 14:33:15 -0500281 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600282 rx-clock-name = "none";
283 tx-clock-name = "clk4";
Kumar Galad71a1dc2007-02-16 09:57:22 -0600284 phy-handle = < &phy1 >;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000285 phy-connection-type = "rgmii-id";
Kumar Galad71a1dc2007-02-16 09:57:22 -0600286 pio-handle = < &pio2 >;
Li Yang7a234d02006-10-02 20:10:10 -0500287 };
288
289 mdio@2120 {
290 #address-cells = <1>;
291 #size-cells = <0>;
292 reg = <2120 18>;
Anton Vorontsovd0a2f822008-01-24 18:40:01 +0300293 compatible = "fsl,ucc-mdio";
Li Yang7a234d02006-10-02 20:10:10 -0500294
Kumar Galad71a1dc2007-02-16 09:57:22 -0600295 phy0: ethernet-phy@00 {
296 interrupt-parent = < &ipic >;
297 interrupts = <11 8>;
Li Yang7a234d02006-10-02 20:10:10 -0500298 reg = <0>;
299 device_type = "ethernet-phy";
Li Yang7a234d02006-10-02 20:10:10 -0500300 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600301 phy1: ethernet-phy@01 {
302 interrupt-parent = < &ipic >;
303 interrupts = <12 8>;
Li Yang7a234d02006-10-02 20:10:10 -0500304 reg = <1>;
305 device_type = "ethernet-phy";
Li Yang7a234d02006-10-02 20:10:10 -0500306 };
307 };
308
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300309 qeic: interrupt-controller@80 {
Li Yang7a234d02006-10-02 20:10:10 -0500310 interrupt-controller;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300311 compatible = "fsl,qe-ic";
Li Yang7a234d02006-10-02 20:10:10 -0500312 #address-cells = <0>;
313 #interrupt-cells = <1>;
314 reg = <80 80>;
Li Yang7a234d02006-10-02 20:10:10 -0500315 big-endian;
316 interrupts = <20 8 21 8>; //high:32 low:33
Kumar Galad71a1dc2007-02-16 09:57:22 -0600317 interrupt-parent = < &ipic >;
Li Yang7a234d02006-10-02 20:10:10 -0500318 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500319 };
Li Yang7a234d02006-10-02 20:10:10 -0500320
Kumar Galaea082fa2007-12-12 01:46:12 -0600321 pci0: pci@e0008500 {
322 cell-index = <1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500323 interrupt-map-mask = <f800 0 0 7>;
324 interrupt-map = <
325
326 /* IDSEL 0x11 AD17 */
327 8800 0 0 1 &ipic 14 8
328 8800 0 0 2 &ipic 15 8
329 8800 0 0 3 &ipic 16 8
330 8800 0 0 4 &ipic 17 8
331
332 /* IDSEL 0x12 AD18 */
333 9000 0 0 1 &ipic 16 8
334 9000 0 0 2 &ipic 17 8
335 9000 0 0 3 &ipic 14 8
336 9000 0 0 4 &ipic 15 8
337
338 /* IDSEL 0x13 AD19 */
339 9800 0 0 1 &ipic 17 8
340 9800 0 0 2 &ipic 14 8
341 9800 0 0 3 &ipic 15 8
342 9800 0 0 4 &ipic 16 8
343
344 /* IDSEL 0x15 AD21*/
345 a800 0 0 1 &ipic 14 8
346 a800 0 0 2 &ipic 15 8
347 a800 0 0 3 &ipic 16 8
348 a800 0 0 4 &ipic 17 8
349
350 /* IDSEL 0x16 AD22*/
351 b000 0 0 1 &ipic 17 8
352 b000 0 0 2 &ipic 14 8
353 b000 0 0 3 &ipic 15 8
354 b000 0 0 4 &ipic 16 8
355
356 /* IDSEL 0x17 AD23*/
357 b800 0 0 1 &ipic 16 8
358 b800 0 0 2 &ipic 17 8
359 b800 0 0 3 &ipic 14 8
360 b800 0 0 4 &ipic 15 8
361
362 /* IDSEL 0x18 AD24*/
363 c000 0 0 1 &ipic 15 8
364 c000 0 0 2 &ipic 16 8
365 c000 0 0 3 &ipic 17 8
366 c000 0 0 4 &ipic 14 8>;
367 interrupt-parent = < &ipic >;
368 interrupts = <42 8>;
369 bus-range = <0 0>;
370 ranges = <02000000 0 a0000000 a0000000 0 10000000
371 42000000 0 80000000 80000000 0 10000000
372 01000000 0 00000000 e2000000 0 00100000>;
373 clock-frequency = <3f940aa>;
374 #interrupt-cells = <1>;
375 #size-cells = <2>;
376 #address-cells = <3>;
377 reg = <e0008500 100>;
378 compatible = "fsl,mpc8349-pci";
379 device_type = "pci";
Li Yang7a234d02006-10-02 20:10:10 -0500380 };
381};