blob: 6291497721bae56aad16455d1c97ca8423d61b46 [file] [log] [blame]
Andy Fleming2654d632006-08-18 18:04:34 -05001/*
2 * MPC8555 CDS Device Tree Source
3 *
Kumar Gala32f960e2008-04-17 01:28:15 -05004 * Copyright 2006, 2008 Freescale Semiconductor Inc.
Andy Fleming2654d632006-08-18 18:04:34 -05005 *
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
Kumar Gala32f960e2008-04-17 01:28:15 -050012/dts-v1/;
Andy Fleming2654d632006-08-18 18:04:34 -050013
14/ {
15 model = "MPC8555CDS";
Kumar Gala52094872007-02-17 16:04:23 -060016 compatible = "MPC8555CDS", "MPC85xxCDS";
Andy Fleming2654d632006-08-18 18:04:34 -050017 #address-cells = <1>;
18 #size-cells = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -050019
Kumar Galaea082fa2007-12-12 01:46:12 -060020 aliases {
21 ethernet0 = &enet0;
22 ethernet1 = &enet1;
23 serial0 = &serial0;
24 serial1 = &serial1;
25 pci0 = &pci0;
26 pci1 = &pci1;
27 };
28
Andy Fleming2654d632006-08-18 18:04:34 -050029 cpus {
Andy Fleming2654d632006-08-18 18:04:34 -050030 #address-cells = <1>;
31 #size-cells = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -050032
33 PowerPC,8555@0 {
34 device_type = "cpu";
Kumar Gala32f960e2008-04-17 01:28:15 -050035 reg = <0x0>;
36 d-cache-line-size = <32>; // 32 bytes
37 i-cache-line-size = <32>; // 32 bytes
38 d-cache-size = <0x8000>; // L1, 32K
39 i-cache-size = <0x8000>; // L1, 32K
Andy Fleming2654d632006-08-18 18:04:34 -050040 timebase-frequency = <0>; // 33 MHz, from uboot
41 bus-frequency = <0>; // 166 MHz
42 clock-frequency = <0>; // 825 MHz, from uboot
Kumar Galac0540652008-05-30 13:43:43 -050043 next-level-cache = <&L2>;
Andy Fleming2654d632006-08-18 18:04:34 -050044 };
45 };
46
47 memory {
48 device_type = "memory";
Kumar Gala32f960e2008-04-17 01:28:15 -050049 reg = <0x0 0x8000000>; // 128M at 0x0
Andy Fleming2654d632006-08-18 18:04:34 -050050 };
51
52 soc8555@e0000000 {
53 #address-cells = <1>;
54 #size-cells = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -050055 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -050056 compatible = "simple-bus";
Kumar Gala32f960e2008-04-17 01:28:15 -050057 ranges = <0x0 0xe0000000 0x100000>;
58 reg = <0xe0000000 0x1000>; // CCSRBAR 1M
Andy Fleming2654d632006-08-18 18:04:34 -050059 bus-frequency = <0>;
60
Kumar Galae1a22892009-04-22 13:17:42 -050061 ecm-law@0 {
62 compatible = "fsl,ecm-law";
63 reg = <0x0 0x1000>;
64 fsl,num-laws = <8>;
65 };
66
67 ecm@1000 {
68 compatible = "fsl,mpc8555-ecm", "fsl,ecm";
69 reg = <0x1000 0x1000>;
70 interrupts = <17 2>;
71 interrupt-parent = <&mpic>;
72 };
73
Kumar Gala4da421d2007-05-15 13:20:05 -050074 memory-controller@2000 {
75 compatible = "fsl,8555-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050076 reg = <0x2000 0x1000>;
Kumar Gala4da421d2007-05-15 13:20:05 -050077 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050078 interrupts = <18 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050079 };
80
Kumar Galac0540652008-05-30 13:43:43 -050081 L2: l2-cache-controller@20000 {
Kumar Gala4da421d2007-05-15 13:20:05 -050082 compatible = "fsl,8555-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050083 reg = <0x20000 0x1000>;
84 cache-line-size = <32>; // 32 bytes
85 cache-size = <0x40000>; // L2, 256K
Kumar Gala4da421d2007-05-15 13:20:05 -050086 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050087 interrupts = <16 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050088 };
89
Andy Fleming2654d632006-08-18 18:04:34 -050090 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060091 #address-cells = <1>;
92 #size-cells = <0>;
93 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -050094 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -050095 reg = <0x3000 0x100>;
96 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -060097 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -050098 dfsrr;
99 };
100
Kumar Galadee80552008-06-27 13:45:19 -0500101 dma@21300 {
102 #address-cells = <1>;
103 #size-cells = <1>;
104 compatible = "fsl,mpc8555-dma", "fsl,eloplus-dma";
105 reg = <0x21300 0x4>;
106 ranges = <0x0 0x21100 0x200>;
107 cell-index = <0>;
108 dma-channel@0 {
109 compatible = "fsl,mpc8555-dma-channel",
110 "fsl,eloplus-dma-channel";
111 reg = <0x0 0x80>;
112 cell-index = <0>;
113 interrupt-parent = <&mpic>;
114 interrupts = <20 2>;
115 };
116 dma-channel@80 {
117 compatible = "fsl,mpc8555-dma-channel",
118 "fsl,eloplus-dma-channel";
119 reg = <0x80 0x80>;
120 cell-index = <1>;
121 interrupt-parent = <&mpic>;
122 interrupts = <21 2>;
123 };
124 dma-channel@100 {
125 compatible = "fsl,mpc8555-dma-channel",
126 "fsl,eloplus-dma-channel";
127 reg = <0x100 0x80>;
128 cell-index = <2>;
129 interrupt-parent = <&mpic>;
130 interrupts = <22 2>;
131 };
132 dma-channel@180 {
133 compatible = "fsl,mpc8555-dma-channel",
134 "fsl,eloplus-dma-channel";
135 reg = <0x180 0x80>;
136 cell-index = <3>;
137 interrupt-parent = <&mpic>;
138 interrupts = <23 2>;
139 };
140 };
141
Kumar Galae77b28e2007-12-12 00:28:35 -0600142 enet0: ethernet@24000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300143 #address-cells = <1>;
144 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600145 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500146 device_type = "network";
147 model = "TSEC";
148 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500149 reg = <0x24000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300150 ranges = <0x0 0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500151 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500152 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600153 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800154 tbi-handle = <&tbi0>;
Kumar Gala52094872007-02-17 16:04:23 -0600155 phy-handle = <&phy0>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300156
157 mdio@520 {
158 #address-cells = <1>;
159 #size-cells = <0>;
160 compatible = "fsl,gianfar-mdio";
161 reg = <0x520 0x20>;
162
163 phy0: ethernet-phy@0 {
164 interrupt-parent = <&mpic>;
165 interrupts = <5 1>;
166 reg = <0x0>;
167 device_type = "ethernet-phy";
168 };
169 phy1: ethernet-phy@1 {
170 interrupt-parent = <&mpic>;
171 interrupts = <5 1>;
172 reg = <0x1>;
173 device_type = "ethernet-phy";
174 };
175 tbi0: tbi-phy@11 {
176 reg = <0x11>;
177 device_type = "tbi-phy";
178 };
179 };
Andy Fleming2654d632006-08-18 18:04:34 -0500180 };
181
Kumar Galae77b28e2007-12-12 00:28:35 -0600182 enet1: ethernet@25000 {
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300183 #address-cells = <1>;
184 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600185 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500186 device_type = "network";
187 model = "TSEC";
188 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500189 reg = <0x25000 0x1000>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300190 ranges = <0x0 0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500191 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500192 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600193 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800194 tbi-handle = <&tbi1>;
Kumar Gala52094872007-02-17 16:04:23 -0600195 phy-handle = <&phy1>;
Anton Vorontsov84ba4a52009-03-19 21:01:48 +0300196
197 mdio@520 {
198 #address-cells = <1>;
199 #size-cells = <0>;
200 compatible = "fsl,gianfar-tbi";
201 reg = <0x520 0x20>;
202
203 tbi1: tbi-phy@11 {
204 reg = <0x11>;
205 device_type = "tbi-phy";
206 };
207 };
Andy Fleming2654d632006-08-18 18:04:34 -0500208 };
209
Kumar Galaea082fa2007-12-12 01:46:12 -0600210 serial0: serial@4500 {
211 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500212 device_type = "serial";
213 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500214 reg = <0x4500 0x100>; // reg base, size
Andy Fleming2654d632006-08-18 18:04:34 -0500215 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500216 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600217 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500218 };
219
Kumar Galaea082fa2007-12-12 01:46:12 -0600220 serial1: serial@4600 {
221 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500222 device_type = "serial";
223 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500224 reg = <0x4600 0x100>; // reg base, size
Andy Fleming2654d632006-08-18 18:04:34 -0500225 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500226 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600227 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500228 };
229
Kim Phillips3fd44732008-07-08 19:13:33 -0500230 crypto@30000 {
231 compatible = "fsl,sec2.0";
232 reg = <0x30000 0x10000>;
233 interrupts = <45 2>;
234 interrupt-parent = <&mpic>;
235 fsl,num-channels = <4>;
236 fsl,channel-fifo-len = <24>;
237 fsl,exec-units-mask = <0x7e>;
238 fsl,descriptor-types-mask = <0x01010ebf>;
239 };
240
Kumar Gala52094872007-02-17 16:04:23 -0600241 mpic: pic@40000 {
Andy Fleming2654d632006-08-18 18:04:34 -0500242 interrupt-controller;
243 #address-cells = <0>;
244 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500245 reg = <0x40000 0x40000>;
Andy Fleming2654d632006-08-18 18:04:34 -0500246 compatible = "chrp,open-pic";
247 device_type = "open-pic";
Andy Fleming2654d632006-08-18 18:04:34 -0500248 };
Scott Woodab9683c2007-10-08 16:08:52 -0500249
250 cpm@919c0 {
251 #address-cells = <1>;
252 #size-cells = <1>;
253 compatible = "fsl,mpc8555-cpm", "fsl,cpm2";
Kumar Gala32f960e2008-04-17 01:28:15 -0500254 reg = <0x919c0 0x30>;
Scott Woodab9683c2007-10-08 16:08:52 -0500255 ranges;
256
257 muram@80000 {
258 #address-cells = <1>;
259 #size-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500260 ranges = <0x0 0x80000 0x10000>;
Scott Woodab9683c2007-10-08 16:08:52 -0500261
262 data@0 {
263 compatible = "fsl,cpm-muram-data";
Kumar Gala32f960e2008-04-17 01:28:15 -0500264 reg = <0x0 0x2000 0x9000 0x1000>;
Scott Woodab9683c2007-10-08 16:08:52 -0500265 };
266 };
267
268 brg@919f0 {
269 compatible = "fsl,mpc8555-brg",
270 "fsl,cpm2-brg",
271 "fsl,cpm-brg";
Kumar Gala32f960e2008-04-17 01:28:15 -0500272 reg = <0x919f0 0x10 0x915f0 0x10>;
Scott Woodab9683c2007-10-08 16:08:52 -0500273 };
274
275 cpmpic: pic@90c00 {
276 interrupt-controller;
277 #address-cells = <0>;
278 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500279 interrupts = <46 2>;
Scott Woodab9683c2007-10-08 16:08:52 -0500280 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500281 reg = <0x90c00 0x80>;
Scott Woodab9683c2007-10-08 16:08:52 -0500282 compatible = "fsl,mpc8555-cpm-pic", "fsl,cpm2-pic";
283 };
284 };
Andy Fleming2654d632006-08-18 18:04:34 -0500285 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500286
Kumar Galaea082fa2007-12-12 01:46:12 -0600287 pci0: pci@e0008000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500288 interrupt-map-mask = <0x1f800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500289 interrupt-map = <
290
291 /* IDSEL 0x10 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500292 0x8000 0x0 0x0 0x1 &mpic 0x0 0x1
293 0x8000 0x0 0x0 0x2 &mpic 0x1 0x1
294 0x8000 0x0 0x0 0x3 &mpic 0x2 0x1
295 0x8000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500296
297 /* IDSEL 0x11 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500298 0x8800 0x0 0x0 0x1 &mpic 0x0 0x1
299 0x8800 0x0 0x0 0x2 &mpic 0x1 0x1
300 0x8800 0x0 0x0 0x3 &mpic 0x2 0x1
301 0x8800 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500302
303 /* IDSEL 0x12 (Slot 1) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500304 0x9000 0x0 0x0 0x1 &mpic 0x0 0x1
305 0x9000 0x0 0x0 0x2 &mpic 0x1 0x1
306 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
307 0x9000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500308
309 /* IDSEL 0x13 (Slot 2) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500310 0x9800 0x0 0x0 0x1 &mpic 0x1 0x1
311 0x9800 0x0 0x0 0x2 &mpic 0x2 0x1
312 0x9800 0x0 0x0 0x3 &mpic 0x3 0x1
313 0x9800 0x0 0x0 0x4 &mpic 0x0 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500314
315 /* IDSEL 0x14 (Slot 3) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500316 0xa000 0x0 0x0 0x1 &mpic 0x2 0x1
317 0xa000 0x0 0x0 0x2 &mpic 0x3 0x1
318 0xa000 0x0 0x0 0x3 &mpic 0x0 0x1
319 0xa000 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500320
321 /* IDSEL 0x15 (Slot 4) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500322 0xa800 0x0 0x0 0x1 &mpic 0x3 0x1
323 0xa800 0x0 0x0 0x2 &mpic 0x0 0x1
324 0xa800 0x0 0x0 0x3 &mpic 0x1 0x1
325 0xa800 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500326
327 /* Bus 1 (Tundra Bridge) */
328 /* IDSEL 0x12 (ISA bridge) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500329 0x19000 0x0 0x0 0x1 &mpic 0x0 0x1
330 0x19000 0x0 0x0 0x2 &mpic 0x1 0x1
331 0x19000 0x0 0x0 0x3 &mpic 0x2 0x1
332 0x19000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500333 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500334 interrupts = <24 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500335 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500336 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
337 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;
338 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500339 #interrupt-cells = <1>;
340 #size-cells = <2>;
341 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500342 reg = <0xe0008000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500343 compatible = "fsl,mpc8540-pci";
344 device_type = "pci";
345
346 i8259@19000 {
347 interrupt-controller;
348 device_type = "interrupt-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500349 reg = <0x19000 0x0 0x0 0x0 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500350 #address-cells = <0>;
351 #interrupt-cells = <2>;
352 compatible = "chrp,iic";
353 interrupts = <1>;
Kumar Galaea082fa2007-12-12 01:46:12 -0600354 interrupt-parent = <&pci0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500355 };
356 };
357
Kumar Galaea082fa2007-12-12 01:46:12 -0600358 pci1: pci@e0009000 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500359 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500360 interrupt-map = <
361
362 /* IDSEL 0x15 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500363 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1
364 0xa800 0x0 0x0 0x2 &mpic 0xb 0x1
365 0xa800 0x0 0x0 0x3 &mpic 0xb 0x1
366 0xa800 0x0 0x0 0x4 &mpic 0xb 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500367 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500368 interrupts = <25 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500369 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500370 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
371 0x1000000 0x0 0x0 0xe3000000 0x0 0x100000>;
372 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500373 #interrupt-cells = <1>;
374 #size-cells = <2>;
375 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500376 reg = <0xe0009000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500377 compatible = "fsl,mpc8540-pci";
378 device_type = "pci";
379 };
Andy Fleming2654d632006-08-18 18:04:34 -0500380};