blob: 8160ff24e87ed811f425a068cec1b4f757a081d2 [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
Paul Gortmakercda13dd2008-01-28 16:09:36 -050017/dts-v1/;
18
Li Yang7a234d02006-10-02 20:10:10 -050019/ {
Kumar Galad71a1dc2007-02-16 09:57:22 -060020 model = "MPC8360MDS";
21 compatible = "MPC8360EMDS", "MPC836xMDS", "MPC83xxMDS";
Li Yang7a234d02006-10-02 20:10:10 -050022 #address-cells = <1>;
23 #size-cells = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050024
Kumar Galaea082fa2007-12-12 01:46:12 -060025 aliases {
26 ethernet0 = &enet0;
27 ethernet1 = &enet1;
28 serial0 = &serial0;
29 serial1 = &serial1;
30 pci0 = &pci0;
31 };
32
Li Yang7a234d02006-10-02 20:10:10 -050033 cpus {
Li Yang7a234d02006-10-02 20:10:10 -050034 #address-cells = <1>;
35 #size-cells = <0>;
Li Yang7a234d02006-10-02 20:10:10 -050036
37 PowerPC,8360@0 {
38 device_type = "cpu";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050039 reg = <0x0>;
40 d-cache-line-size = <32>; // 32 bytes
41 i-cache-line-size = <32>; // 32 bytes
42 d-cache-size = <32768>; // L1, 32K
43 i-cache-size = <32768>; // L1, 32K
44 timebase-frequency = <66000000>;
45 bus-frequency = <264000000>;
46 clock-frequency = <528000000>;
Li Yang7a234d02006-10-02 20:10:10 -050047 };
48 };
49
50 memory {
51 device_type = "memory";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050052 reg = <0x00000000 0x10000000>;
Li Yang7a234d02006-10-02 20:10:10 -050053 };
54
55 bcsr@f8000000 {
56 device_type = "board-control";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050057 reg = <0xf8000000 0x8000>;
Li Yang7a234d02006-10-02 20:10:10 -050058 };
59
60 soc8360@e0000000 {
61 #address-cells = <1>;
62 #size-cells = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050063 device_type = "soc";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050064 ranges = <0x0 0xe0000000 0x00100000>;
65 reg = <0xe0000000 0x00000200>;
66 bus-frequency = <264000000>;
Li Yang7a234d02006-10-02 20:10:10 -050067
68 wdt@200 {
69 device_type = "watchdog";
70 compatible = "mpc83xx_wdt";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050071 reg = <0x200 0x100>;
Li Yang7a234d02006-10-02 20:10:10 -050072 };
73
74 i2c@3000 {
Kim Phillips27f49802007-11-08 13:37:06 -060075 #address-cells = <1>;
76 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -060077 cell-index = <0>;
Li Yang7a234d02006-10-02 20:10:10 -050078 compatible = "fsl-i2c";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050079 reg = <0x3000 0x100>;
80 interrupts = <14 0x8>;
81 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -050082 dfsrr;
Kim Phillips27f49802007-11-08 13:37:06 -060083
84 rtc@68 {
85 compatible = "dallas,ds1374";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050086 reg = <0x68>;
Kim Phillips27f49802007-11-08 13:37:06 -060087 };
Li Yang7a234d02006-10-02 20:10:10 -050088 };
89
90 i2c@3100 {
Kim Phillips27f49802007-11-08 13:37:06 -060091 #address-cells = <1>;
92 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -060093 cell-index = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050094 compatible = "fsl-i2c";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050095 reg = <0x3100 0x100>;
96 interrupts = <15 0x8>;
97 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -050098 dfsrr;
99 };
100
Kumar Galaea082fa2007-12-12 01:46:12 -0600101 serial0: serial@4500 {
102 cell-index = <0>;
Li Yang7a234d02006-10-02 20:10:10 -0500103 device_type = "serial";
104 compatible = "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500105 reg = <0x4500 0x100>;
106 clock-frequency = <264000000>;
107 interrupts = <9 0x8>;
108 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -0500109 };
110
Kumar Galaea082fa2007-12-12 01:46:12 -0600111 serial1: serial@4600 {
112 cell-index = <1>;
Li Yang7a234d02006-10-02 20:10:10 -0500113 device_type = "serial";
114 compatible = "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500115 reg = <0x4600 0x100>;
116 clock-frequency = <264000000>;
117 interrupts = <10 0x8>;
118 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -0500119 };
120
121 crypto@30000 {
122 device_type = "crypto";
123 model = "SEC2";
124 compatible = "talitos";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500125 reg = <0x30000 0x10000>;
126 interrupts = <11 0x8>;
127 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -0500128 num-channels = <4>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500129 channel-fifo-len = <24>;
130 exec-units-mask = <0x0000007e>;
Li Yang7a234d02006-10-02 20:10:10 -0500131 /* desc mask is for rev1.x, we need runtime fixup for >=2.x */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500132 descriptor-types-mask = <0x01010ebf>;
Li Yang7a234d02006-10-02 20:10:10 -0500133 };
134
Kumar Galad71a1dc2007-02-16 09:57:22 -0600135 ipic: pic@700 {
Li Yang7a234d02006-10-02 20:10:10 -0500136 interrupt-controller;
137 #address-cells = <0>;
138 #interrupt-cells = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500139 reg = <0x700 0x100>;
Li Yang7a234d02006-10-02 20:10:10 -0500140 device_type = "ipic";
141 };
142
143 par_io@1400 {
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500144 reg = <0x1400 0x100>;
Li Yang7a234d02006-10-02 20:10:10 -0500145 device_type = "par_io";
146 num-ports = <7>;
147
Kumar Galad71a1dc2007-02-16 09:57:22 -0600148 pio1: ucc_pin@01 {
Li Yang7a234d02006-10-02 20:10:10 -0500149 pio-map = <
150 /* port pin dir open_drain assignment has_irq */
151 0 3 1 0 1 0 /* TxD0 */
152 0 4 1 0 1 0 /* TxD1 */
153 0 5 1 0 1 0 /* TxD2 */
154 0 6 1 0 1 0 /* TxD3 */
155 1 6 1 0 3 0 /* TxD4 */
156 1 7 1 0 1 0 /* TxD5 */
157 1 9 1 0 2 0 /* TxD6 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500158 1 10 1 0 2 0 /* TxD7 */
Li Yang7a234d02006-10-02 20:10:10 -0500159 0 9 2 0 1 0 /* RxD0 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500160 0 10 2 0 1 0 /* RxD1 */
161 0 11 2 0 1 0 /* RxD2 */
162 0 12 2 0 1 0 /* RxD3 */
163 0 13 2 0 1 0 /* RxD4 */
Li Yang7a234d02006-10-02 20:10:10 -0500164 1 1 2 0 2 0 /* RxD5 */
165 1 0 2 0 2 0 /* RxD6 */
166 1 4 2 0 2 0 /* RxD7 */
167 0 7 1 0 1 0 /* TX_EN */
168 0 8 1 0 1 0 /* TX_ER */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500169 0 15 2 0 1 0 /* RX_DV */
170 0 16 2 0 1 0 /* RX_ER */
Li Yang7a234d02006-10-02 20:10:10 -0500171 0 0 2 0 1 0 /* RX_CLK */
172 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
173 2 8 2 0 1 0>; /* GTX125 - CLK9 */
174 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600175 pio2: ucc_pin@02 {
Li Yang7a234d02006-10-02 20:10:10 -0500176 pio-map = <
177 /* port pin dir open_drain assignment has_irq */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500178 0 17 1 0 1 0 /* TxD0 */
179 0 18 1 0 1 0 /* TxD1 */
180 0 19 1 0 1 0 /* TxD2 */
181 0 20 1 0 1 0 /* TxD3 */
Li Yang7a234d02006-10-02 20:10:10 -0500182 1 2 1 0 1 0 /* TxD4 */
183 1 3 1 0 2 0 /* TxD5 */
184 1 5 1 0 3 0 /* TxD6 */
185 1 8 1 0 3 0 /* TxD7 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500186 0 23 2 0 1 0 /* RxD0 */
187 0 24 2 0 1 0 /* RxD1 */
188 0 25 2 0 1 0 /* RxD2 */
189 0 26 2 0 1 0 /* RxD3 */
190 0 27 2 0 1 0 /* RxD4 */
191 1 12 2 0 2 0 /* RxD5 */
192 1 13 2 0 3 0 /* RxD6 */
193 1 11 2 0 2 0 /* RxD7 */
194 0 21 1 0 1 0 /* TX_EN */
195 0 22 1 0 1 0 /* TX_ER */
196 0 29 2 0 1 0 /* RX_DV */
197 0 30 2 0 1 0 /* RX_ER */
198 0 31 2 0 1 0 /* RX_CLK */
Li Yang7a234d02006-10-02 20:10:10 -0500199 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
200 2 3 2 0 1 0 /* GTX125 - CLK4 */
201 0 1 3 0 2 0 /* MDIO */
202 0 2 1 0 1 0>; /* MDC */
203 };
204
205 };
206 };
207
208 qe@e0100000 {
209 #address-cells = <1>;
210 #size-cells = <1>;
211 device_type = "qe";
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300212 compatible = "fsl,qe";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500213 ranges = <0x0 0xe0100000 0x00100000>;
214 reg = <0xe0100000 0x480>;
Li Yang7a234d02006-10-02 20:10:10 -0500215 brg-frequency = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500216 bus-frequency = <396000000>;
Li Yang7a234d02006-10-02 20:10:10 -0500217
218 muram@10000 {
Paul Gortmaker390167e2008-01-28 02:27:51 -0500219 #address-cells = <1>;
220 #size-cells = <1>;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300221 compatible = "fsl,qe-muram", "fsl,cpm-muram";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500222 ranges = <0x0 0x00010000 0x0000c000>;
Li Yang7a234d02006-10-02 20:10:10 -0500223
Paul Gortmaker390167e2008-01-28 02:27:51 -0500224 data-only@0 {
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300225 compatible = "fsl,qe-muram-data",
226 "fsl,cpm-muram-data";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500227 reg = <0x0 0xc000>;
Li Yang7a234d02006-10-02 20:10:10 -0500228 };
229 };
230
231 spi@4c0 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300232 cell-index = <0>;
233 compatible = "fsl,spi";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500234 reg = <0x4c0 0x40>;
Li Yang7a234d02006-10-02 20:10:10 -0500235 interrupts = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500236 interrupt-parent = <&qeic>;
Li Yang7a234d02006-10-02 20:10:10 -0500237 mode = "cpu";
238 };
239
240 spi@500 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300241 cell-index = <1>;
242 compatible = "fsl,spi";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500243 reg = <0x500 0x40>;
Li Yang7a234d02006-10-02 20:10:10 -0500244 interrupts = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500245 interrupt-parent = <&qeic>;
Li Yang7a234d02006-10-02 20:10:10 -0500246 mode = "cpu";
247 };
248
249 usb@6c0 {
Li Yang7a234d02006-10-02 20:10:10 -0500250 compatible = "qe_udc";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500251 reg = <0x6c0 0x40 0x8b00 0x100>;
252 interrupts = <11>;
253 interrupt-parent = <&qeic>;
Li Yang7a234d02006-10-02 20:10:10 -0500254 mode = "slave";
255 };
256
Kumar Galae77b28e2007-12-12 00:28:35 -0600257 enet0: ucc@2000 {
Li Yang7a234d02006-10-02 20:10:10 -0500258 device_type = "network";
259 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600260 cell-index = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500261 reg = <0x2000 0x200>;
262 interrupts = <32>;
263 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";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500267 phy-handle = <&phy0>;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000268 phy-connection-type = "rgmii-id";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500269 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";
Kumar Galae77b28e2007-12-12 00:28:35 -0600275 cell-index = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500276 reg = <0x3000 0x200>;
277 interrupts = <33>;
278 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500279 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600280 rx-clock-name = "none";
281 tx-clock-name = "clk4";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500282 phy-handle = <&phy1>;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000283 phy-connection-type = "rgmii-id";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500284 pio-handle = <&pio2>;
Li Yang7a234d02006-10-02 20:10:10 -0500285 };
286
287 mdio@2120 {
288 #address-cells = <1>;
289 #size-cells = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500290 reg = <0x2120 0x18>;
Anton Vorontsovd0a2f822008-01-24 18:40:01 +0300291 compatible = "fsl,ucc-mdio";
Li Yang7a234d02006-10-02 20:10:10 -0500292
Kumar Galad71a1dc2007-02-16 09:57:22 -0600293 phy0: ethernet-phy@00 {
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500294 interrupt-parent = <&ipic>;
295 interrupts = <17 0x8>;
296 reg = <0x0>;
Li Yang7a234d02006-10-02 20:10:10 -0500297 device_type = "ethernet-phy";
Li Yang7a234d02006-10-02 20:10:10 -0500298 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600299 phy1: ethernet-phy@01 {
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500300 interrupt-parent = <&ipic>;
301 interrupts = <18 0x8>;
302 reg = <0x1>;
Li Yang7a234d02006-10-02 20:10:10 -0500303 device_type = "ethernet-phy";
Li Yang7a234d02006-10-02 20:10:10 -0500304 };
305 };
306
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300307 qeic: interrupt-controller@80 {
Li Yang7a234d02006-10-02 20:10:10 -0500308 interrupt-controller;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300309 compatible = "fsl,qe-ic";
Li Yang7a234d02006-10-02 20:10:10 -0500310 #address-cells = <0>;
311 #interrupt-cells = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500312 reg = <0x80 0x80>;
Li Yang7a234d02006-10-02 20:10:10 -0500313 big-endian;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500314 interrupts = <32 0x8 33 0x8>; // high:32 low:33
315 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -0500316 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500317 };
Li Yang7a234d02006-10-02 20:10:10 -0500318
Kumar Galaea082fa2007-12-12 01:46:12 -0600319 pci0: pci@e0008500 {
320 cell-index = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500321 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500322 interrupt-map = <
323
324 /* IDSEL 0x11 AD17 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500325 0x8800 0x0 0x0 0x1 &ipic 20 0x8
326 0x8800 0x0 0x0 0x2 &ipic 21 0x8
327 0x8800 0x0 0x0 0x3 &ipic 22 0x8
328 0x8800 0x0 0x0 0x4 &ipic 23 0x8
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500329
330 /* IDSEL 0x12 AD18 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500331 0x9000 0x0 0x0 0x1 &ipic 22 0x8
332 0x9000 0x0 0x0 0x2 &ipic 23 0x8
333 0x9000 0x0 0x0 0x3 &ipic 20 0x8
334 0x9000 0x0 0x0 0x4 &ipic 21 0x8
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500335
336 /* IDSEL 0x13 AD19 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500337 0x9800 0x0 0x0 0x1 &ipic 23 0x8
338 0x9800 0x0 0x0 0x2 &ipic 20 0x8
339 0x9800 0x0 0x0 0x3 &ipic 21 0x8
340 0x9800 0x0 0x0 0x4 &ipic 22 0x8
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500341
342 /* IDSEL 0x15 AD21*/
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500343 0xa800 0x0 0x0 0x1 &ipic 20 0x8
344 0xa800 0x0 0x0 0x2 &ipic 21 0x8
345 0xa800 0x0 0x0 0x3 &ipic 22 0x8
346 0xa800 0x0 0x0 0x4 &ipic 23 0x8
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500347
348 /* IDSEL 0x16 AD22*/
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500349 0xb000 0x0 0x0 0x1 &ipic 23 0x8
350 0xb000 0x0 0x0 0x2 &ipic 20 0x8
351 0xb000 0x0 0x0 0x3 &ipic 21 0x8
352 0xb000 0x0 0x0 0x4 &ipic 22 0x8
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500353
354 /* IDSEL 0x17 AD23*/
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500355 0xb800 0x0 0x0 0x1 &ipic 22 0x8
356 0xb800 0x0 0x0 0x2 &ipic 23 0x8
357 0xb800 0x0 0x0 0x3 &ipic 20 0x8
358 0xb800 0x0 0x0 0x4 &ipic 21 0x8
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500359
360 /* IDSEL 0x18 AD24*/
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500361 0xc000 0x0 0x0 0x1 &ipic 21 0x8
362 0xc000 0x0 0x0 0x2 &ipic 22 0x8
363 0xc000 0x0 0x0 0x3 &ipic 23 0x8
364 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
365 interrupt-parent = <&ipic>;
366 interrupts = <66 0x8>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500367 bus-range = <0 0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500368 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
369 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
370 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
371 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500372 #interrupt-cells = <1>;
373 #size-cells = <2>;
374 #address-cells = <3>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500375 reg = <0xe0008500 0x100>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500376 compatible = "fsl,mpc8349-pci";
377 device_type = "pci";
Li Yang7a234d02006-10-02 20:10:10 -0500378 };
379};