blob: 6fc8059b5a0180bcfb9616c5629ed2315892fc69 [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";
Kumar Gala32f960e2008-04-17 01:28:15 -050056 ranges = <0x0 0xe0000000 0x100000>;
57 reg = <0xe0000000 0x1000>; // CCSRBAR 1M
Andy Fleming2654d632006-08-18 18:04:34 -050058 bus-frequency = <0>;
59
Kumar Gala4da421d2007-05-15 13:20:05 -050060 memory-controller@2000 {
61 compatible = "fsl,8555-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050062 reg = <0x2000 0x1000>;
Kumar Gala4da421d2007-05-15 13:20:05 -050063 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050064 interrupts = <18 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050065 };
66
Kumar Galac0540652008-05-30 13:43:43 -050067 L2: l2-cache-controller@20000 {
Kumar Gala4da421d2007-05-15 13:20:05 -050068 compatible = "fsl,8555-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050069 reg = <0x20000 0x1000>;
70 cache-line-size = <32>; // 32 bytes
71 cache-size = <0x40000>; // L2, 256K
Kumar Gala4da421d2007-05-15 13:20:05 -050072 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050073 interrupts = <16 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050074 };
75
Andy Fleming2654d632006-08-18 18:04:34 -050076 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060077 #address-cells = <1>;
78 #size-cells = <0>;
79 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -050080 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -050081 reg = <0x3000 0x100>;
82 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -060083 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -050084 dfsrr;
85 };
86
Kumar Galadee80552008-06-27 13:45:19 -050087 dma@21300 {
88 #address-cells = <1>;
89 #size-cells = <1>;
90 compatible = "fsl,mpc8555-dma", "fsl,eloplus-dma";
91 reg = <0x21300 0x4>;
92 ranges = <0x0 0x21100 0x200>;
93 cell-index = <0>;
94 dma-channel@0 {
95 compatible = "fsl,mpc8555-dma-channel",
96 "fsl,eloplus-dma-channel";
97 reg = <0x0 0x80>;
98 cell-index = <0>;
99 interrupt-parent = <&mpic>;
100 interrupts = <20 2>;
101 };
102 dma-channel@80 {
103 compatible = "fsl,mpc8555-dma-channel",
104 "fsl,eloplus-dma-channel";
105 reg = <0x80 0x80>;
106 cell-index = <1>;
107 interrupt-parent = <&mpic>;
108 interrupts = <21 2>;
109 };
110 dma-channel@100 {
111 compatible = "fsl,mpc8555-dma-channel",
112 "fsl,eloplus-dma-channel";
113 reg = <0x100 0x80>;
114 cell-index = <2>;
115 interrupt-parent = <&mpic>;
116 interrupts = <22 2>;
117 };
118 dma-channel@180 {
119 compatible = "fsl,mpc8555-dma-channel",
120 "fsl,eloplus-dma-channel";
121 reg = <0x180 0x80>;
122 cell-index = <3>;
123 interrupt-parent = <&mpic>;
124 interrupts = <23 2>;
125 };
126 };
127
Andy Fleming2654d632006-08-18 18:04:34 -0500128 mdio@24520 {
129 #address-cells = <1>;
130 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600131 compatible = "fsl,gianfar-mdio";
Kumar Gala32f960e2008-04-17 01:28:15 -0500132 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600133
Kumar Gala52094872007-02-17 16:04:23 -0600134 phy0: ethernet-phy@0 {
135 interrupt-parent = <&mpic>;
Kumar Gala58fe2552007-07-03 03:05:58 -0500136 interrupts = <5 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500137 reg = <0x0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500138 device_type = "ethernet-phy";
139 };
Kumar Gala52094872007-02-17 16:04:23 -0600140 phy1: ethernet-phy@1 {
141 interrupt-parent = <&mpic>;
Kumar Gala58fe2552007-07-03 03:05:58 -0500142 interrupts = <5 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500143 reg = <0x1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500144 device_type = "ethernet-phy";
145 };
146 };
147
Kumar Galae77b28e2007-12-12 00:28:35 -0600148 enet0: ethernet@24000 {
149 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500150 device_type = "network";
151 model = "TSEC";
152 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500153 reg = <0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500154 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500155 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600156 interrupt-parent = <&mpic>;
157 phy-handle = <&phy0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500158 };
159
Kumar Galae77b28e2007-12-12 00:28:35 -0600160 enet1: ethernet@25000 {
161 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500162 device_type = "network";
163 model = "TSEC";
164 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500165 reg = <0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500166 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500167 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600168 interrupt-parent = <&mpic>;
169 phy-handle = <&phy1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500170 };
171
Kumar Galaea082fa2007-12-12 01:46:12 -0600172 serial0: serial@4500 {
173 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500174 device_type = "serial";
175 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500176 reg = <0x4500 0x100>; // reg base, size
Andy Fleming2654d632006-08-18 18:04:34 -0500177 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500178 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600179 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500180 };
181
Kumar Galaea082fa2007-12-12 01:46:12 -0600182 serial1: serial@4600 {
183 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500184 device_type = "serial";
185 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500186 reg = <0x4600 0x100>; // reg base, size
Andy Fleming2654d632006-08-18 18:04:34 -0500187 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500188 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600189 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500190 };
191
Kumar Gala52094872007-02-17 16:04:23 -0600192 mpic: pic@40000 {
Andy Fleming2654d632006-08-18 18:04:34 -0500193 interrupt-controller;
194 #address-cells = <0>;
195 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500196 reg = <0x40000 0x40000>;
Andy Fleming2654d632006-08-18 18:04:34 -0500197 compatible = "chrp,open-pic";
198 device_type = "open-pic";
Andy Fleming2654d632006-08-18 18:04:34 -0500199 };
Scott Woodab9683c2007-10-08 16:08:52 -0500200
201 cpm@919c0 {
202 #address-cells = <1>;
203 #size-cells = <1>;
204 compatible = "fsl,mpc8555-cpm", "fsl,cpm2";
Kumar Gala32f960e2008-04-17 01:28:15 -0500205 reg = <0x919c0 0x30>;
Scott Woodab9683c2007-10-08 16:08:52 -0500206 ranges;
207
208 muram@80000 {
209 #address-cells = <1>;
210 #size-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500211 ranges = <0x0 0x80000 0x10000>;
Scott Woodab9683c2007-10-08 16:08:52 -0500212
213 data@0 {
214 compatible = "fsl,cpm-muram-data";
Kumar Gala32f960e2008-04-17 01:28:15 -0500215 reg = <0x0 0x2000 0x9000 0x1000>;
Scott Woodab9683c2007-10-08 16:08:52 -0500216 };
217 };
218
219 brg@919f0 {
220 compatible = "fsl,mpc8555-brg",
221 "fsl,cpm2-brg",
222 "fsl,cpm-brg";
Kumar Gala32f960e2008-04-17 01:28:15 -0500223 reg = <0x919f0 0x10 0x915f0 0x10>;
Scott Woodab9683c2007-10-08 16:08:52 -0500224 };
225
226 cpmpic: pic@90c00 {
227 interrupt-controller;
228 #address-cells = <0>;
229 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500230 interrupts = <46 2>;
Scott Woodab9683c2007-10-08 16:08:52 -0500231 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500232 reg = <0x90c00 0x80>;
Scott Woodab9683c2007-10-08 16:08:52 -0500233 compatible = "fsl,mpc8555-cpm-pic", "fsl,cpm2-pic";
234 };
235 };
Andy Fleming2654d632006-08-18 18:04:34 -0500236 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500237
Kumar Galaea082fa2007-12-12 01:46:12 -0600238 pci0: pci@e0008000 {
239 cell-index = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500240 interrupt-map-mask = <0x1f800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500241 interrupt-map = <
242
243 /* IDSEL 0x10 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500244 0x8000 0x0 0x0 0x1 &mpic 0x0 0x1
245 0x8000 0x0 0x0 0x2 &mpic 0x1 0x1
246 0x8000 0x0 0x0 0x3 &mpic 0x2 0x1
247 0x8000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500248
249 /* IDSEL 0x11 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500250 0x8800 0x0 0x0 0x1 &mpic 0x0 0x1
251 0x8800 0x0 0x0 0x2 &mpic 0x1 0x1
252 0x8800 0x0 0x0 0x3 &mpic 0x2 0x1
253 0x8800 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500254
255 /* IDSEL 0x12 (Slot 1) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500256 0x9000 0x0 0x0 0x1 &mpic 0x0 0x1
257 0x9000 0x0 0x0 0x2 &mpic 0x1 0x1
258 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
259 0x9000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500260
261 /* IDSEL 0x13 (Slot 2) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500262 0x9800 0x0 0x0 0x1 &mpic 0x1 0x1
263 0x9800 0x0 0x0 0x2 &mpic 0x2 0x1
264 0x9800 0x0 0x0 0x3 &mpic 0x3 0x1
265 0x9800 0x0 0x0 0x4 &mpic 0x0 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500266
267 /* IDSEL 0x14 (Slot 3) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500268 0xa000 0x0 0x0 0x1 &mpic 0x2 0x1
269 0xa000 0x0 0x0 0x2 &mpic 0x3 0x1
270 0xa000 0x0 0x0 0x3 &mpic 0x0 0x1
271 0xa000 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500272
273 /* IDSEL 0x15 (Slot 4) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500274 0xa800 0x0 0x0 0x1 &mpic 0x3 0x1
275 0xa800 0x0 0x0 0x2 &mpic 0x0 0x1
276 0xa800 0x0 0x0 0x3 &mpic 0x1 0x1
277 0xa800 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500278
279 /* Bus 1 (Tundra Bridge) */
280 /* IDSEL 0x12 (ISA bridge) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500281 0x19000 0x0 0x0 0x1 &mpic 0x0 0x1
282 0x19000 0x0 0x0 0x2 &mpic 0x1 0x1
283 0x19000 0x0 0x0 0x3 &mpic 0x2 0x1
284 0x19000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500285 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500286 interrupts = <24 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500287 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500288 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
289 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;
290 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500291 #interrupt-cells = <1>;
292 #size-cells = <2>;
293 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500294 reg = <0xe0008000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500295 compatible = "fsl,mpc8540-pci";
296 device_type = "pci";
297
298 i8259@19000 {
299 interrupt-controller;
300 device_type = "interrupt-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500301 reg = <0x19000 0x0 0x0 0x0 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500302 #address-cells = <0>;
303 #interrupt-cells = <2>;
304 compatible = "chrp,iic";
305 interrupts = <1>;
Kumar Galaea082fa2007-12-12 01:46:12 -0600306 interrupt-parent = <&pci0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500307 };
308 };
309
Kumar Galaea082fa2007-12-12 01:46:12 -0600310 pci1: pci@e0009000 {
311 cell-index = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500312 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500313 interrupt-map = <
314
315 /* IDSEL 0x15 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500316 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1
317 0xa800 0x0 0x0 0x2 &mpic 0xb 0x1
318 0xa800 0x0 0x0 0x3 &mpic 0xb 0x1
319 0xa800 0x0 0x0 0x4 &mpic 0xb 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500320 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500321 interrupts = <25 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500322 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500323 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
324 0x1000000 0x0 0x0 0xe3000000 0x0 0x100000>;
325 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500326 #interrupt-cells = <1>;
327 #size-cells = <2>;
328 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500329 reg = <0xe0009000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500330 compatible = "fsl,mpc8540-pci";
331 device_type = "pci";
332 };
Andy Fleming2654d632006-08-18 18:04:34 -0500333};