blob: 2d41d549c21307a3f4a05105b6d18417c89f0d38 [file] [log] [blame]
Vitaly Bordug902f3922006-09-21 22:31:26 +04001/*
2 * MPC8560 ADS 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 model = "MPC8560ADS";
Kumar Gala52094872007-02-17 16:04:23 -060015 compatible = "MPC8560ADS", "MPC85xxADS";
Vitaly Bordug902f3922006-09-21 22:31:26 +040016 #address-cells = <1>;
17 #size-cells = <1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040018
19 cpus {
Vitaly Bordug902f3922006-09-21 22:31:26 +040020 #address-cells = <1>;
21 #size-cells = <0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040022
23 PowerPC,8560@0 {
24 device_type = "cpu";
25 reg = <0>;
26 d-cache-line-size = <20>; // 32 bytes
27 i-cache-line-size = <20>; // 32 bytes
28 d-cache-size = <8000>; // L1, 32K
29 i-cache-size = <8000>; // L1, 32K
30 timebase-frequency = <04ead9a0>;
31 bus-frequency = <13ab6680>;
32 clock-frequency = <312c8040>;
33 32-bit;
Vitaly Bordug902f3922006-09-21 22:31:26 +040034 };
35 };
36
37 memory {
38 device_type = "memory";
Vitaly Bordug902f3922006-09-21 22:31:26 +040039 reg = <00000000 10000000>;
40 };
41
42 soc8560@e0000000 {
43 #address-cells = <1>;
44 #size-cells = <1>;
45 #interrupt-cells = <2>;
46 device_type = "soc";
47 ranges = <0 e0000000 00100000>;
48 reg = <e0000000 00000200>;
49 bus-frequency = <13ab6680>;
50
Dave Jiang50cf6702007-05-10 10:03:05 -070051 memory-controller@2000 {
52 compatible = "fsl,8540-memory-controller";
53 reg = <2000 1000>;
54 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050055 interrupts = <12 2>;
Dave Jiang50cf6702007-05-10 10:03:05 -070056 };
57
58 l2-cache-controller@20000 {
59 compatible = "fsl,8540-l2-cache-controller";
60 reg = <20000 1000>;
61 cache-line-size = <20>; // 32 bytes
62 cache-size = <40000>; // L2, 256K
63 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050064 interrupts = <10 2>;
Dave Jiang50cf6702007-05-10 10:03:05 -070065 };
66
Vitaly Bordug902f3922006-09-21 22:31:26 +040067 mdio@24520 {
68 device_type = "mdio";
69 compatible = "gianfar";
70 reg = <24520 20>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040071 #address-cells = <1>;
72 #size-cells = <0>;
Kumar Gala52094872007-02-17 16:04:23 -060073 phy0: ethernet-phy@0 {
74 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050075 interrupts = <5 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040076 reg = <0>;
77 device_type = "ethernet-phy";
78 };
Kumar Gala52094872007-02-17 16:04:23 -060079 phy1: ethernet-phy@1 {
80 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050081 interrupts = <5 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040082 reg = <1>;
83 device_type = "ethernet-phy";
84 };
Kumar Gala52094872007-02-17 16:04:23 -060085 phy2: ethernet-phy@2 {
86 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050087 interrupts = <7 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040088 reg = <2>;
89 device_type = "ethernet-phy";
90 };
Kumar Gala52094872007-02-17 16:04:23 -060091 phy3: ethernet-phy@3 {
92 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050093 interrupts = <7 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040094 reg = <3>;
95 device_type = "ethernet-phy";
96 };
97 };
98
99 ethernet@24000 {
100 device_type = "network";
101 model = "TSEC";
102 compatible = "gianfar";
103 reg = <24000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500104 /*
105 * address is deprecated and will be removed
106 * in 2.6.25. Only recent versions of
107 * U-Boot support local-mac-address, however.
108 */
109 address = [ 00 00 00 00 00 00 ];
110 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500111 interrupts = <1d 2 1e 2 22 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600112 interrupt-parent = <&mpic>;
113 phy-handle = <&phy0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400114 };
115
116 ethernet@25000 {
117 #address-cells = <1>;
118 #size-cells = <0>;
119 device_type = "network";
120 model = "TSEC";
121 compatible = "gianfar";
122 reg = <25000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500123 /*
124 * address is deprecated and will be removed
125 * in 2.6.25. Only recent versions of
126 * U-Boot support local-mac-address, however.
127 */
128 address = [ 00 00 00 00 00 00 ];
129 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500130 interrupts = <23 2 24 2 28 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600131 interrupt-parent = <&mpic>;
132 phy-handle = <&phy1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400133 };
134
135 pci@8000 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400136 #interrupt-cells = <1>;
137 #size-cells = <2>;
138 #address-cells = <3>;
139 compatible = "85xx";
140 device_type = "pci";
Dave Jiang50cf6702007-05-10 10:03:05 -0700141 reg = <8000 1000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400142 clock-frequency = <3f940aa>;
143 interrupt-map-mask = <f800 0 0 7>;
144 interrupt-map = <
145
146 /* IDSEL 0x2 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500147 1000 0 0 1 &mpic 1 1
148 1000 0 0 2 &mpic 2 1
149 1000 0 0 3 &mpic 3 1
150 1000 0 0 4 &mpic 4 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400151
152 /* IDSEL 0x3 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500153 1800 0 0 1 &mpic 4 1
154 1800 0 0 2 &mpic 1 1
155 1800 0 0 3 &mpic 2 1
156 1800 0 0 4 &mpic 3 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400157
158 /* IDSEL 0x4 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500159 2000 0 0 1 &mpic 3 1
160 2000 0 0 2 &mpic 4 1
161 2000 0 0 3 &mpic 1 1
162 2000 0 0 4 &mpic 2 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400163
164 /* IDSEL 0x5 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500165 2800 0 0 1 &mpic 2 1
166 2800 0 0 2 &mpic 3 1
167 2800 0 0 3 &mpic 4 1
168 2800 0 0 4 &mpic 1 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400169
170 /* IDSEL 12 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500171 6000 0 0 1 &mpic 1 1
172 6000 0 0 2 &mpic 2 1
173 6000 0 0 3 &mpic 3 1
174 6000 0 0 4 &mpic 4 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400175
176 /* IDSEL 13 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500177 6800 0 0 1 &mpic 4 1
178 6800 0 0 2 &mpic 1 1
179 6800 0 0 3 &mpic 2 1
180 6800 0 0 4 &mpic 3 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400181
182 /* IDSEL 14*/
Kumar Galab533f8a2007-07-03 02:35:35 -0500183 7000 0 0 1 &mpic 3 1
184 7000 0 0 2 &mpic 4 1
185 7000 0 0 3 &mpic 1 1
186 7000 0 0 4 &mpic 2 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400187
188 /* IDSEL 15 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500189 7800 0 0 1 &mpic 2 1
190 7800 0 0 2 &mpic 3 1
191 7800 0 0 3 &mpic 4 1
192 7800 0 0 4 &mpic 1 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400193
194 /* IDSEL 18 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500195 9000 0 0 1 &mpic 1 1
196 9000 0 0 2 &mpic 2 1
197 9000 0 0 3 &mpic 3 1
198 9000 0 0 4 &mpic 4 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400199
200 /* IDSEL 19 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500201 9800 0 0 1 &mpic 4 1
202 9800 0 0 2 &mpic 1 1
203 9800 0 0 3 &mpic 2 1
204 9800 0 0 4 &mpic 3 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400205
206 /* IDSEL 20 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500207 a000 0 0 1 &mpic 3 1
208 a000 0 0 2 &mpic 4 1
209 a000 0 0 3 &mpic 1 1
210 a000 0 0 4 &mpic 2 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400211
212 /* IDSEL 21 */
Kumar Galab533f8a2007-07-03 02:35:35 -0500213 a800 0 0 1 &mpic 2 1
214 a800 0 0 2 &mpic 3 1
215 a800 0 0 3 &mpic 4 1
216 a800 0 0 4 &mpic 1 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400217
Kumar Gala52094872007-02-17 16:04:23 -0600218 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500219 interrupts = <18 0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400220 bus-range = <0 0>;
221 ranges = <02000000 0 80000000 80000000 0 20000000
222 01000000 0 00000000 e2000000 0 01000000>;
223 };
224
Kumar Gala52094872007-02-17 16:04:23 -0600225 mpic: pic@40000 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400226 interrupt-controller;
227 #address-cells = <0>;
228 #interrupt-cells = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600229 reg = <40000 40000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400230 built-in;
231 device_type = "open-pic";
232 };
233
234 cpm@e0000000 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400235 #address-cells = <1>;
236 #size-cells = <1>;
237 #interrupt-cells = <2>;
238 device_type = "cpm";
239 model = "CPM2";
240 ranges = <0 0 c0000>;
241 reg = <80000 40000>;
242 command-proc = <919c0>;
243 brg-frequency = <9d5b340>;
244
Kumar Gala52094872007-02-17 16:04:23 -0600245 cpmpic: pic@90c00 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400246 interrupt-controller;
247 #address-cells = <0>;
248 #interrupt-cells = <2>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500249 interrupts = <2e 0>;
Kumar Gala52094872007-02-17 16:04:23 -0600250 interrupt-parent = <&mpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400251 reg = <90c00 80>;
252 built-in;
253 device_type = "cpm-pic";
254 };
255
256 scc@91a00 {
257 device_type = "serial";
258 compatible = "cpm_uart";
259 model = "SCC";
Vitaly Bordug611a15a2006-09-21 22:38:05 +0400260 device-id = <1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400261 reg = <91a00 20 88000 100>;
262 clock-setup = <00ffffff 0>;
263 rx-clock = <1>;
264 tx-clock = <1>;
265 current-speed = <1c200>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300266 interrupts = <28 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600267 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400268 };
269
270 scc@91a20 {
271 device_type = "serial";
272 compatible = "cpm_uart";
273 model = "SCC";
Vitaly Bordug611a15a2006-09-21 22:38:05 +0400274 device-id = <2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400275 reg = <91a20 20 88100 100>;
276 clock-setup = <ff00ffff 90000>;
277 rx-clock = <2>;
278 tx-clock = <2>;
279 current-speed = <1c200>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300280 interrupts = <29 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600281 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400282 };
283
284 fcc@91320 {
285 device_type = "network";
286 compatible = "fs_enet";
287 model = "FCC";
Vitaly Bordug611a15a2006-09-21 22:38:05 +0400288 device-id = <2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400289 reg = <91320 20 88500 100 913a0 30>;
Timur Tabieae98262007-06-22 14:33:15 -0500290 /*
291 * mac-address is deprecated and will be removed
292 * in 2.6.25. Only recent versions of
293 * U-Boot support local-mac-address, however.
294 */
295 mac-address = [ 00 00 00 00 00 00 ];
296 local-mac-address = [ 00 00 00 00 00 00 ];
Vitaly Bordug902f3922006-09-21 22:31:26 +0400297 clock-setup = <ff00ffff 250000>;
298 rx-clock = <15>;
299 tx-clock = <16>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300300 interrupts = <21 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600301 interrupt-parent = <&cpmpic>;
302 phy-handle = <&phy2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400303 };
304
305 fcc@91340 {
306 device_type = "network";
307 compatible = "fs_enet";
308 model = "FCC";
Vitaly Bordug611a15a2006-09-21 22:38:05 +0400309 device-id = <3>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400310 reg = <91340 20 88600 100 913d0 30>;
Timur Tabieae98262007-06-22 14:33:15 -0500311 /*
312 * mac-address is deprecated and will be removed
313 * in 2.6.25. Only recent versions of
314 * U-Boot support local-mac-address, however.
315 */
316 mac-address = [ 00 00 00 00 00 00 ];
317 local-mac-address = [ 00 00 00 00 00 00 ];
Vitaly Bordug902f3922006-09-21 22:31:26 +0400318 clock-setup = <ffff00ff 3700>;
319 rx-clock = <17>;
320 tx-clock = <18>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300321 interrupts = <22 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600322 interrupt-parent = <&cpmpic>;
323 phy-handle = <&phy3>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400324 };
325 };
326 };
327};