blob: 053b01e1c93bf4d5603098a1d61098b1c225322c [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 Gala4da421d2007-05-15 13:20:05 -050061 memory-controller@2000 {
62 compatible = "fsl,8555-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050063 reg = <0x2000 0x1000>;
Kumar Gala4da421d2007-05-15 13:20:05 -050064 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050065 interrupts = <18 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050066 };
67
Kumar Galac0540652008-05-30 13:43:43 -050068 L2: l2-cache-controller@20000 {
Kumar Gala4da421d2007-05-15 13:20:05 -050069 compatible = "fsl,8555-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050070 reg = <0x20000 0x1000>;
71 cache-line-size = <32>; // 32 bytes
72 cache-size = <0x40000>; // L2, 256K
Kumar Gala4da421d2007-05-15 13:20:05 -050073 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050074 interrupts = <16 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050075 };
76
Andy Fleming2654d632006-08-18 18:04:34 -050077 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060078 #address-cells = <1>;
79 #size-cells = <0>;
80 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -050081 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -050082 reg = <0x3000 0x100>;
83 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -060084 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -050085 dfsrr;
86 };
87
Kumar Galadee80552008-06-27 13:45:19 -050088 dma@21300 {
89 #address-cells = <1>;
90 #size-cells = <1>;
91 compatible = "fsl,mpc8555-dma", "fsl,eloplus-dma";
92 reg = <0x21300 0x4>;
93 ranges = <0x0 0x21100 0x200>;
94 cell-index = <0>;
95 dma-channel@0 {
96 compatible = "fsl,mpc8555-dma-channel",
97 "fsl,eloplus-dma-channel";
98 reg = <0x0 0x80>;
99 cell-index = <0>;
100 interrupt-parent = <&mpic>;
101 interrupts = <20 2>;
102 };
103 dma-channel@80 {
104 compatible = "fsl,mpc8555-dma-channel",
105 "fsl,eloplus-dma-channel";
106 reg = <0x80 0x80>;
107 cell-index = <1>;
108 interrupt-parent = <&mpic>;
109 interrupts = <21 2>;
110 };
111 dma-channel@100 {
112 compatible = "fsl,mpc8555-dma-channel",
113 "fsl,eloplus-dma-channel";
114 reg = <0x100 0x80>;
115 cell-index = <2>;
116 interrupt-parent = <&mpic>;
117 interrupts = <22 2>;
118 };
119 dma-channel@180 {
120 compatible = "fsl,mpc8555-dma-channel",
121 "fsl,eloplus-dma-channel";
122 reg = <0x180 0x80>;
123 cell-index = <3>;
124 interrupt-parent = <&mpic>;
125 interrupts = <23 2>;
126 };
127 };
128
Andy Fleming2654d632006-08-18 18:04:34 -0500129 mdio@24520 {
130 #address-cells = <1>;
131 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600132 compatible = "fsl,gianfar-mdio";
Kumar Gala32f960e2008-04-17 01:28:15 -0500133 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600134
Kumar Gala52094872007-02-17 16:04:23 -0600135 phy0: ethernet-phy@0 {
136 interrupt-parent = <&mpic>;
Kumar Gala58fe2552007-07-03 03:05:58 -0500137 interrupts = <5 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500138 reg = <0x0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500139 device_type = "ethernet-phy";
140 };
Kumar Gala52094872007-02-17 16:04:23 -0600141 phy1: ethernet-phy@1 {
142 interrupt-parent = <&mpic>;
Kumar Gala58fe2552007-07-03 03:05:58 -0500143 interrupts = <5 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500144 reg = <0x1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500145 device_type = "ethernet-phy";
146 };
Andy Flemingb31a1d82008-12-16 15:29:15 -0800147 tbi0: tbi-phy@11 {
148 reg = <0x11>;
149 device_type = "tbi-phy";
150 };
151 };
152
153 mdio@25520 {
154 #address-cells = <1>;
155 #size-cells = <0>;
156 compatible = "fsl,gianfar-tbi";
157 reg = <0x25520 0x20>;
158
159 tbi1: tbi-phy@11 {
160 reg = <0x11>;
161 device_type = "tbi-phy";
162 };
Andy Fleming2654d632006-08-18 18:04:34 -0500163 };
164
Kumar Galae77b28e2007-12-12 00:28:35 -0600165 enet0: ethernet@24000 {
166 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500167 device_type = "network";
168 model = "TSEC";
169 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500170 reg = <0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500171 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500172 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600173 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800174 tbi-handle = <&tbi0>;
Kumar Gala52094872007-02-17 16:04:23 -0600175 phy-handle = <&phy0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500176 };
177
Kumar Galae77b28e2007-12-12 00:28:35 -0600178 enet1: ethernet@25000 {
179 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500180 device_type = "network";
181 model = "TSEC";
182 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500183 reg = <0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500184 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500185 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600186 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800187 tbi-handle = <&tbi1>;
Kumar Gala52094872007-02-17 16:04:23 -0600188 phy-handle = <&phy1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500189 };
190
Kumar Galaea082fa2007-12-12 01:46:12 -0600191 serial0: serial@4500 {
192 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500193 device_type = "serial";
194 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500195 reg = <0x4500 0x100>; // reg base, size
Andy Fleming2654d632006-08-18 18:04:34 -0500196 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500197 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600198 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500199 };
200
Kumar Galaea082fa2007-12-12 01:46:12 -0600201 serial1: serial@4600 {
202 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500203 device_type = "serial";
204 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500205 reg = <0x4600 0x100>; // reg base, size
Andy Fleming2654d632006-08-18 18:04:34 -0500206 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500207 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600208 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500209 };
210
Kim Phillips3fd44732008-07-08 19:13:33 -0500211 crypto@30000 {
212 compatible = "fsl,sec2.0";
213 reg = <0x30000 0x10000>;
214 interrupts = <45 2>;
215 interrupt-parent = <&mpic>;
216 fsl,num-channels = <4>;
217 fsl,channel-fifo-len = <24>;
218 fsl,exec-units-mask = <0x7e>;
219 fsl,descriptor-types-mask = <0x01010ebf>;
220 };
221
Kumar Gala52094872007-02-17 16:04:23 -0600222 mpic: pic@40000 {
Andy Fleming2654d632006-08-18 18:04:34 -0500223 interrupt-controller;
224 #address-cells = <0>;
225 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500226 reg = <0x40000 0x40000>;
Andy Fleming2654d632006-08-18 18:04:34 -0500227 compatible = "chrp,open-pic";
228 device_type = "open-pic";
Andy Fleming2654d632006-08-18 18:04:34 -0500229 };
Scott Woodab9683c2007-10-08 16:08:52 -0500230
231 cpm@919c0 {
232 #address-cells = <1>;
233 #size-cells = <1>;
234 compatible = "fsl,mpc8555-cpm", "fsl,cpm2";
Kumar Gala32f960e2008-04-17 01:28:15 -0500235 reg = <0x919c0 0x30>;
Scott Woodab9683c2007-10-08 16:08:52 -0500236 ranges;
237
238 muram@80000 {
239 #address-cells = <1>;
240 #size-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500241 ranges = <0x0 0x80000 0x10000>;
Scott Woodab9683c2007-10-08 16:08:52 -0500242
243 data@0 {
244 compatible = "fsl,cpm-muram-data";
Kumar Gala32f960e2008-04-17 01:28:15 -0500245 reg = <0x0 0x2000 0x9000 0x1000>;
Scott Woodab9683c2007-10-08 16:08:52 -0500246 };
247 };
248
249 brg@919f0 {
250 compatible = "fsl,mpc8555-brg",
251 "fsl,cpm2-brg",
252 "fsl,cpm-brg";
Kumar Gala32f960e2008-04-17 01:28:15 -0500253 reg = <0x919f0 0x10 0x915f0 0x10>;
Scott Woodab9683c2007-10-08 16:08:52 -0500254 };
255
256 cpmpic: pic@90c00 {
257 interrupt-controller;
258 #address-cells = <0>;
259 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500260 interrupts = <46 2>;
Scott Woodab9683c2007-10-08 16:08:52 -0500261 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500262 reg = <0x90c00 0x80>;
Scott Woodab9683c2007-10-08 16:08:52 -0500263 compatible = "fsl,mpc8555-cpm-pic", "fsl,cpm2-pic";
264 };
265 };
Andy Fleming2654d632006-08-18 18:04:34 -0500266 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500267
Kumar Galaea082fa2007-12-12 01:46:12 -0600268 pci0: pci@e0008000 {
269 cell-index = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500270 interrupt-map-mask = <0x1f800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500271 interrupt-map = <
272
273 /* IDSEL 0x10 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500274 0x8000 0x0 0x0 0x1 &mpic 0x0 0x1
275 0x8000 0x0 0x0 0x2 &mpic 0x1 0x1
276 0x8000 0x0 0x0 0x3 &mpic 0x2 0x1
277 0x8000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500278
279 /* IDSEL 0x11 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500280 0x8800 0x0 0x0 0x1 &mpic 0x0 0x1
281 0x8800 0x0 0x0 0x2 &mpic 0x1 0x1
282 0x8800 0x0 0x0 0x3 &mpic 0x2 0x1
283 0x8800 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500284
285 /* IDSEL 0x12 (Slot 1) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500286 0x9000 0x0 0x0 0x1 &mpic 0x0 0x1
287 0x9000 0x0 0x0 0x2 &mpic 0x1 0x1
288 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
289 0x9000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500290
291 /* IDSEL 0x13 (Slot 2) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500292 0x9800 0x0 0x0 0x1 &mpic 0x1 0x1
293 0x9800 0x0 0x0 0x2 &mpic 0x2 0x1
294 0x9800 0x0 0x0 0x3 &mpic 0x3 0x1
295 0x9800 0x0 0x0 0x4 &mpic 0x0 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500296
297 /* IDSEL 0x14 (Slot 3) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500298 0xa000 0x0 0x0 0x1 &mpic 0x2 0x1
299 0xa000 0x0 0x0 0x2 &mpic 0x3 0x1
300 0xa000 0x0 0x0 0x3 &mpic 0x0 0x1
301 0xa000 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500302
303 /* IDSEL 0x15 (Slot 4) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500304 0xa800 0x0 0x0 0x1 &mpic 0x3 0x1
305 0xa800 0x0 0x0 0x2 &mpic 0x0 0x1
306 0xa800 0x0 0x0 0x3 &mpic 0x1 0x1
307 0xa800 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500308
309 /* Bus 1 (Tundra Bridge) */
310 /* IDSEL 0x12 (ISA bridge) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500311 0x19000 0x0 0x0 0x1 &mpic 0x0 0x1
312 0x19000 0x0 0x0 0x2 &mpic 0x1 0x1
313 0x19000 0x0 0x0 0x3 &mpic 0x2 0x1
314 0x19000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500315 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500316 interrupts = <24 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500317 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500318 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
319 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;
320 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500321 #interrupt-cells = <1>;
322 #size-cells = <2>;
323 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500324 reg = <0xe0008000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500325 compatible = "fsl,mpc8540-pci";
326 device_type = "pci";
327
328 i8259@19000 {
329 interrupt-controller;
330 device_type = "interrupt-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500331 reg = <0x19000 0x0 0x0 0x0 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500332 #address-cells = <0>;
333 #interrupt-cells = <2>;
334 compatible = "chrp,iic";
335 interrupts = <1>;
Kumar Galaea082fa2007-12-12 01:46:12 -0600336 interrupt-parent = <&pci0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500337 };
338 };
339
Kumar Galaea082fa2007-12-12 01:46:12 -0600340 pci1: pci@e0009000 {
341 cell-index = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500342 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500343 interrupt-map = <
344
345 /* IDSEL 0x15 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500346 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1
347 0xa800 0x0 0x0 0x2 &mpic 0xb 0x1
348 0xa800 0x0 0x0 0x3 &mpic 0xb 0x1
349 0xa800 0x0 0x0 0x4 &mpic 0xb 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500350 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500351 interrupts = <25 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500352 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500353 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
354 0x1000000 0x0 0x0 0xe3000000 0x0 0x100000>;
355 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500356 #interrupt-cells = <1>;
357 #size-cells = <2>;
358 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500359 reg = <0xe0009000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500360 compatible = "fsl,mpc8540-pci";
361 device_type = "pci";
362 };
Andy Fleming2654d632006-08-18 18:04:34 -0500363};