blob: b025c566c10d1cf725a3675d113f0efb6c73c940 [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
Andy Fleming2654d632006-08-18 18:04:34 -050043 };
44 };
45
46 memory {
47 device_type = "memory";
Kumar Gala32f960e2008-04-17 01:28:15 -050048 reg = <0x0 0x8000000>; // 128M at 0x0
Andy Fleming2654d632006-08-18 18:04:34 -050049 };
50
51 soc8555@e0000000 {
52 #address-cells = <1>;
53 #size-cells = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -050054 device_type = "soc";
Kumar Gala32f960e2008-04-17 01:28:15 -050055 ranges = <0x0 0xe0000000 0x100000>;
56 reg = <0xe0000000 0x1000>; // CCSRBAR 1M
Andy Fleming2654d632006-08-18 18:04:34 -050057 bus-frequency = <0>;
58
Kumar Gala4da421d2007-05-15 13:20:05 -050059 memory-controller@2000 {
60 compatible = "fsl,8555-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050061 reg = <0x2000 0x1000>;
Kumar Gala4da421d2007-05-15 13:20:05 -050062 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050063 interrupts = <18 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050064 };
65
66 l2-cache-controller@20000 {
67 compatible = "fsl,8555-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050068 reg = <0x20000 0x1000>;
69 cache-line-size = <32>; // 32 bytes
70 cache-size = <0x40000>; // L2, 256K
Kumar Gala4da421d2007-05-15 13:20:05 -050071 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050072 interrupts = <16 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050073 };
74
Andy Fleming2654d632006-08-18 18:04:34 -050075 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060076 #address-cells = <1>;
77 #size-cells = <0>;
78 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -050079 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -050080 reg = <0x3000 0x100>;
81 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -060082 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -050083 dfsrr;
84 };
85
86 mdio@24520 {
87 #address-cells = <1>;
88 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -060089 compatible = "fsl,gianfar-mdio";
Kumar Gala32f960e2008-04-17 01:28:15 -050090 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -060091
Kumar Gala52094872007-02-17 16:04:23 -060092 phy0: ethernet-phy@0 {
93 interrupt-parent = <&mpic>;
Kumar Gala58fe2552007-07-03 03:05:58 -050094 interrupts = <5 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -050095 reg = <0x0>;
Andy Fleming2654d632006-08-18 18:04:34 -050096 device_type = "ethernet-phy";
97 };
Kumar Gala52094872007-02-17 16:04:23 -060098 phy1: ethernet-phy@1 {
99 interrupt-parent = <&mpic>;
Kumar Gala58fe2552007-07-03 03:05:58 -0500100 interrupts = <5 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500101 reg = <0x1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500102 device_type = "ethernet-phy";
103 };
104 };
105
Kumar Galae77b28e2007-12-12 00:28:35 -0600106 enet0: ethernet@24000 {
107 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500108 device_type = "network";
109 model = "TSEC";
110 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500111 reg = <0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500112 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500113 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600114 interrupt-parent = <&mpic>;
115 phy-handle = <&phy0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500116 };
117
Kumar Galae77b28e2007-12-12 00:28:35 -0600118 enet1: ethernet@25000 {
119 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500120 device_type = "network";
121 model = "TSEC";
122 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500123 reg = <0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500124 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500125 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600126 interrupt-parent = <&mpic>;
127 phy-handle = <&phy1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500128 };
129
Kumar Galaea082fa2007-12-12 01:46:12 -0600130 serial0: serial@4500 {
131 cell-index = <0>;
Andy Fleming2654d632006-08-18 18:04:34 -0500132 device_type = "serial";
133 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500134 reg = <0x4500 0x100>; // reg base, size
Andy Fleming2654d632006-08-18 18:04:34 -0500135 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500136 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600137 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500138 };
139
Kumar Galaea082fa2007-12-12 01:46:12 -0600140 serial1: serial@4600 {
141 cell-index = <1>;
Andy Fleming2654d632006-08-18 18:04:34 -0500142 device_type = "serial";
143 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500144 reg = <0x4600 0x100>; // reg base, size
Andy Fleming2654d632006-08-18 18:04:34 -0500145 clock-frequency = <0>; // should we fill in in uboot?
Kumar Gala32f960e2008-04-17 01:28:15 -0500146 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600147 interrupt-parent = <&mpic>;
Andy Fleming2654d632006-08-18 18:04:34 -0500148 };
149
Kumar Gala52094872007-02-17 16:04:23 -0600150 mpic: pic@40000 {
Andy Fleming2654d632006-08-18 18:04:34 -0500151 clock-frequency = <0>;
152 interrupt-controller;
153 #address-cells = <0>;
154 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500155 reg = <0x40000 0x40000>;
Andy Fleming2654d632006-08-18 18:04:34 -0500156 compatible = "chrp,open-pic";
157 device_type = "open-pic";
158 big-endian;
159 };
Scott Woodab9683c2007-10-08 16:08:52 -0500160
161 cpm@919c0 {
162 #address-cells = <1>;
163 #size-cells = <1>;
164 compatible = "fsl,mpc8555-cpm", "fsl,cpm2";
Kumar Gala32f960e2008-04-17 01:28:15 -0500165 reg = <0x919c0 0x30>;
Scott Woodab9683c2007-10-08 16:08:52 -0500166 ranges;
167
168 muram@80000 {
169 #address-cells = <1>;
170 #size-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500171 ranges = <0x0 0x80000 0x10000>;
Scott Woodab9683c2007-10-08 16:08:52 -0500172
173 data@0 {
174 compatible = "fsl,cpm-muram-data";
Kumar Gala32f960e2008-04-17 01:28:15 -0500175 reg = <0x0 0x2000 0x9000 0x1000>;
Scott Woodab9683c2007-10-08 16:08:52 -0500176 };
177 };
178
179 brg@919f0 {
180 compatible = "fsl,mpc8555-brg",
181 "fsl,cpm2-brg",
182 "fsl,cpm-brg";
Kumar Gala32f960e2008-04-17 01:28:15 -0500183 reg = <0x919f0 0x10 0x915f0 0x10>;
Scott Woodab9683c2007-10-08 16:08:52 -0500184 };
185
186 cpmpic: pic@90c00 {
187 interrupt-controller;
188 #address-cells = <0>;
189 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500190 interrupts = <46 2>;
Scott Woodab9683c2007-10-08 16:08:52 -0500191 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500192 reg = <0x90c00 0x80>;
Scott Woodab9683c2007-10-08 16:08:52 -0500193 compatible = "fsl,mpc8555-cpm-pic", "fsl,cpm2-pic";
194 };
195 };
Andy Fleming2654d632006-08-18 18:04:34 -0500196 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500197
Kumar Galaea082fa2007-12-12 01:46:12 -0600198 pci0: pci@e0008000 {
199 cell-index = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500200 interrupt-map-mask = <0x1f800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500201 interrupt-map = <
202
203 /* IDSEL 0x10 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500204 0x8000 0x0 0x0 0x1 &mpic 0x0 0x1
205 0x8000 0x0 0x0 0x2 &mpic 0x1 0x1
206 0x8000 0x0 0x0 0x3 &mpic 0x2 0x1
207 0x8000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500208
209 /* IDSEL 0x11 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500210 0x8800 0x0 0x0 0x1 &mpic 0x0 0x1
211 0x8800 0x0 0x0 0x2 &mpic 0x1 0x1
212 0x8800 0x0 0x0 0x3 &mpic 0x2 0x1
213 0x8800 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500214
215 /* IDSEL 0x12 (Slot 1) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500216 0x9000 0x0 0x0 0x1 &mpic 0x0 0x1
217 0x9000 0x0 0x0 0x2 &mpic 0x1 0x1
218 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
219 0x9000 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500220
221 /* IDSEL 0x13 (Slot 2) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500222 0x9800 0x0 0x0 0x1 &mpic 0x1 0x1
223 0x9800 0x0 0x0 0x2 &mpic 0x2 0x1
224 0x9800 0x0 0x0 0x3 &mpic 0x3 0x1
225 0x9800 0x0 0x0 0x4 &mpic 0x0 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500226
227 /* IDSEL 0x14 (Slot 3) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500228 0xa000 0x0 0x0 0x1 &mpic 0x2 0x1
229 0xa000 0x0 0x0 0x2 &mpic 0x3 0x1
230 0xa000 0x0 0x0 0x3 &mpic 0x0 0x1
231 0xa000 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500232
233 /* IDSEL 0x15 (Slot 4) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500234 0xa800 0x0 0x0 0x1 &mpic 0x3 0x1
235 0xa800 0x0 0x0 0x2 &mpic 0x0 0x1
236 0xa800 0x0 0x0 0x3 &mpic 0x1 0x1
237 0xa800 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500238
239 /* Bus 1 (Tundra Bridge) */
240 /* IDSEL 0x12 (ISA bridge) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500241 0x19000 0x0 0x0 0x1 &mpic 0x0 0x1
242 0x19000 0x0 0x0 0x2 &mpic 0x1 0x1
243 0x19000 0x0 0x0 0x3 &mpic 0x2 0x1
244 0x19000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500245 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500246 interrupts = <24 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500247 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500248 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
249 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;
250 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500251 #interrupt-cells = <1>;
252 #size-cells = <2>;
253 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500254 reg = <0xe0008000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500255 compatible = "fsl,mpc8540-pci";
256 device_type = "pci";
257
258 i8259@19000 {
259 interrupt-controller;
260 device_type = "interrupt-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -0500261 reg = <0x19000 0x0 0x0 0x0 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500262 #address-cells = <0>;
263 #interrupt-cells = <2>;
264 compatible = "chrp,iic";
265 interrupts = <1>;
Kumar Galaea082fa2007-12-12 01:46:12 -0600266 interrupt-parent = <&pci0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500267 };
268 };
269
Kumar Galaea082fa2007-12-12 01:46:12 -0600270 pci1: pci@e0009000 {
271 cell-index = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500272 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500273 interrupt-map = <
274
275 /* IDSEL 0x15 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500276 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1
277 0xa800 0x0 0x0 0x2 &mpic 0xb 0x1
278 0xa800 0x0 0x0 0x3 &mpic 0xb 0x1
279 0xa800 0x0 0x0 0x4 &mpic 0xb 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500280 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500281 interrupts = <25 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500282 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500283 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
284 0x1000000 0x0 0x0 0xe3000000 0x0 0x100000>;
285 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500286 #interrupt-cells = <1>;
287 #size-cells = <2>;
288 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500289 reg = <0xe0009000 0x1000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500290 compatible = "fsl,mpc8540-pci";
291 device_type = "pci";
292 };
Andy Fleming2654d632006-08-18 18:04:34 -0500293};