blob: 6b362f8222c15173bca7b1f6af6a0cb637bba883 [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>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040033 };
34 };
35
36 memory {
37 device_type = "memory";
Vitaly Bordug902f3922006-09-21 22:31:26 +040038 reg = <00000000 10000000>;
39 };
40
41 soc8560@e0000000 {
42 #address-cells = <1>;
43 #size-cells = <1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040044 device_type = "soc";
45 ranges = <0 e0000000 00100000>;
46 reg = <e0000000 00000200>;
47 bus-frequency = <13ab6680>;
48
Dave Jiang50cf6702007-05-10 10:03:05 -070049 memory-controller@2000 {
50 compatible = "fsl,8540-memory-controller";
51 reg = <2000 1000>;
52 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050053 interrupts = <12 2>;
Dave Jiang50cf6702007-05-10 10:03:05 -070054 };
55
56 l2-cache-controller@20000 {
57 compatible = "fsl,8540-l2-cache-controller";
58 reg = <20000 1000>;
59 cache-line-size = <20>; // 32 bytes
60 cache-size = <40000>; // L2, 256K
61 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050062 interrupts = <10 2>;
Dave Jiang50cf6702007-05-10 10:03:05 -070063 };
64
Vitaly Bordug902f3922006-09-21 22:31:26 +040065 mdio@24520 {
66 device_type = "mdio";
67 compatible = "gianfar";
68 reg = <24520 20>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040069 #address-cells = <1>;
70 #size-cells = <0>;
Kumar Gala52094872007-02-17 16:04:23 -060071 phy0: ethernet-phy@0 {
72 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050073 interrupts = <5 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040074 reg = <0>;
75 device_type = "ethernet-phy";
76 };
Kumar Gala52094872007-02-17 16:04:23 -060077 phy1: ethernet-phy@1 {
78 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050079 interrupts = <5 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040080 reg = <1>;
81 device_type = "ethernet-phy";
82 };
Kumar Gala52094872007-02-17 16:04:23 -060083 phy2: ethernet-phy@2 {
84 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050085 interrupts = <7 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040086 reg = <2>;
87 device_type = "ethernet-phy";
88 };
Kumar Gala52094872007-02-17 16:04:23 -060089 phy3: ethernet-phy@3 {
90 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050091 interrupts = <7 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040092 reg = <3>;
93 device_type = "ethernet-phy";
94 };
95 };
96
97 ethernet@24000 {
98 device_type = "network";
99 model = "TSEC";
100 compatible = "gianfar";
101 reg = <24000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500102 /*
103 * address is deprecated and will be removed
104 * in 2.6.25. Only recent versions of
105 * U-Boot support local-mac-address, however.
106 */
107 address = [ 00 00 00 00 00 00 ];
108 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500109 interrupts = <1d 2 1e 2 22 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600110 interrupt-parent = <&mpic>;
111 phy-handle = <&phy0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400112 };
113
114 ethernet@25000 {
115 #address-cells = <1>;
116 #size-cells = <0>;
117 device_type = "network";
118 model = "TSEC";
119 compatible = "gianfar";
120 reg = <25000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500121 /*
122 * address is deprecated and will be removed
123 * in 2.6.25. Only recent versions of
124 * U-Boot support local-mac-address, however.
125 */
126 address = [ 00 00 00 00 00 00 ];
127 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500128 interrupts = <23 2 24 2 28 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600129 interrupt-parent = <&mpic>;
130 phy-handle = <&phy1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400131 };
132
Kumar Gala52094872007-02-17 16:04:23 -0600133 mpic: pic@40000 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400134 interrupt-controller;
135 #address-cells = <0>;
136 #interrupt-cells = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600137 reg = <40000 40000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400138 device_type = "open-pic";
139 };
140
Scott Wood8abc8f52007-10-08 16:08:51 -0500141 cpm@919c0 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400142 #address-cells = <1>;
143 #size-cells = <1>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500144 compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
145 reg = <919c0 30>;
146 ranges;
147
148 muram@80000 {
149 #address-cells = <1>;
150 #size-cells = <1>;
151 ranges = <0 80000 10000>;
152
153 data@0 {
154 compatible = "fsl,cpm-muram-data";
155 reg = <0 4000 9000 2000>;
156 };
157 };
158
159 brg@919f0 {
160 compatible = "fsl,mpc8560-brg",
161 "fsl,cpm2-brg",
162 "fsl,cpm-brg";
163 reg = <919f0 10 915f0 10>;
164 clock-frequency = <d#165000000>;
165 };
Vitaly Bordug902f3922006-09-21 22:31:26 +0400166
Kumar Gala52094872007-02-17 16:04:23 -0600167 cpmpic: pic@90c00 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400168 interrupt-controller;
169 #address-cells = <0>;
170 #interrupt-cells = <2>;
Kumar Gala58fe2552007-07-03 03:05:58 -0500171 interrupts = <2e 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600172 interrupt-parent = <&mpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400173 reg = <90c00 80>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500174 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
Vitaly Bordug902f3922006-09-21 22:31:26 +0400175 };
176
Scott Wood8abc8f52007-10-08 16:08:51 -0500177 serial@91a00 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400178 device_type = "serial";
Scott Wood8abc8f52007-10-08 16:08:51 -0500179 compatible = "fsl,mpc8560-scc-uart",
180 "fsl,cpm2-scc-uart";
Vitaly Bordug902f3922006-09-21 22:31:26 +0400181 reg = <91a00 20 88000 100>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500182 fsl,cpm-brg = <1>;
183 fsl,cpm-command = <00800000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400184 current-speed = <1c200>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300185 interrupts = <28 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600186 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400187 };
188
Scott Wood8abc8f52007-10-08 16:08:51 -0500189 serial@91a20 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400190 device_type = "serial";
Scott Wood8abc8f52007-10-08 16:08:51 -0500191 compatible = "fsl,mpc8560-scc-uart",
192 "fsl,cpm2-scc-uart";
Vitaly Bordug902f3922006-09-21 22:31:26 +0400193 reg = <91a20 20 88100 100>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500194 fsl,cpm-brg = <2>;
195 fsl,cpm-command = <04a00000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400196 current-speed = <1c200>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300197 interrupts = <29 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600198 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400199 };
200
Scott Wood8abc8f52007-10-08 16:08:51 -0500201 ethernet@91320 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400202 device_type = "network";
Scott Wood8abc8f52007-10-08 16:08:51 -0500203 compatible = "fsl,mpc8560-fcc-enet",
204 "fsl,cpm2-fcc-enet";
205 reg = <91320 20 88500 100 913b0 1>;
Timur Tabieae98262007-06-22 14:33:15 -0500206 /*
207 * mac-address is deprecated and will be removed
208 * in 2.6.25. Only recent versions of
209 * U-Boot support local-mac-address, however.
210 */
211 mac-address = [ 00 00 00 00 00 00 ];
212 local-mac-address = [ 00 00 00 00 00 00 ];
Scott Wood8abc8f52007-10-08 16:08:51 -0500213 fsl,cpm-command = <16200300>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300214 interrupts = <21 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600215 interrupt-parent = <&cpmpic>;
216 phy-handle = <&phy2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400217 };
218
Scott Wood8abc8f52007-10-08 16:08:51 -0500219 ethernet@91340 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400220 device_type = "network";
Scott Wood8abc8f52007-10-08 16:08:51 -0500221 compatible = "fsl,mpc8560-fcc-enet",
222 "fsl,cpm2-fcc-enet";
223 reg = <91340 20 88600 100 913d0 1>;
Timur Tabieae98262007-06-22 14:33:15 -0500224 /*
225 * mac-address is deprecated and will be removed
226 * in 2.6.25. Only recent versions of
227 * U-Boot support local-mac-address, however.
228 */
229 mac-address = [ 00 00 00 00 00 00 ];
230 local-mac-address = [ 00 00 00 00 00 00 ];
Scott Wood8abc8f52007-10-08 16:08:51 -0500231 fsl,cpm-command = <1a400300>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300232 interrupts = <22 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600233 interrupt-parent = <&cpmpic>;
234 phy-handle = <&phy3>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400235 };
236 };
237 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500238
239 pci@e0008000 {
240 #interrupt-cells = <1>;
241 #size-cells = <2>;
242 #address-cells = <3>;
243 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
244 device_type = "pci";
245 reg = <e0008000 1000>;
246 clock-frequency = <3f940aa>;
247 interrupt-map-mask = <f800 0 0 7>;
248 interrupt-map = <
249
250 /* IDSEL 0x2 */
251 1000 0 0 1 &mpic 1 1
252 1000 0 0 2 &mpic 2 1
253 1000 0 0 3 &mpic 3 1
254 1000 0 0 4 &mpic 4 1
255
256 /* IDSEL 0x3 */
257 1800 0 0 1 &mpic 4 1
258 1800 0 0 2 &mpic 1 1
259 1800 0 0 3 &mpic 2 1
260 1800 0 0 4 &mpic 3 1
261
262 /* IDSEL 0x4 */
263 2000 0 0 1 &mpic 3 1
264 2000 0 0 2 &mpic 4 1
265 2000 0 0 3 &mpic 1 1
266 2000 0 0 4 &mpic 2 1
267
268 /* IDSEL 0x5 */
269 2800 0 0 1 &mpic 2 1
270 2800 0 0 2 &mpic 3 1
271 2800 0 0 3 &mpic 4 1
272 2800 0 0 4 &mpic 1 1
273
274 /* IDSEL 12 */
275 6000 0 0 1 &mpic 1 1
276 6000 0 0 2 &mpic 2 1
277 6000 0 0 3 &mpic 3 1
278 6000 0 0 4 &mpic 4 1
279
280 /* IDSEL 13 */
281 6800 0 0 1 &mpic 4 1
282 6800 0 0 2 &mpic 1 1
283 6800 0 0 3 &mpic 2 1
284 6800 0 0 4 &mpic 3 1
285
286 /* IDSEL 14*/
287 7000 0 0 1 &mpic 3 1
288 7000 0 0 2 &mpic 4 1
289 7000 0 0 3 &mpic 1 1
290 7000 0 0 4 &mpic 2 1
291
292 /* IDSEL 15 */
293 7800 0 0 1 &mpic 2 1
294 7800 0 0 2 &mpic 3 1
295 7800 0 0 3 &mpic 4 1
296 7800 0 0 4 &mpic 1 1
297
298 /* IDSEL 18 */
299 9000 0 0 1 &mpic 1 1
300 9000 0 0 2 &mpic 2 1
301 9000 0 0 3 &mpic 3 1
302 9000 0 0 4 &mpic 4 1
303
304 /* IDSEL 19 */
305 9800 0 0 1 &mpic 4 1
306 9800 0 0 2 &mpic 1 1
307 9800 0 0 3 &mpic 2 1
308 9800 0 0 4 &mpic 3 1
309
310 /* IDSEL 20 */
311 a000 0 0 1 &mpic 3 1
312 a000 0 0 2 &mpic 4 1
313 a000 0 0 3 &mpic 1 1
314 a000 0 0 4 &mpic 2 1
315
316 /* IDSEL 21 */
317 a800 0 0 1 &mpic 2 1
318 a800 0 0 2 &mpic 3 1
319 a800 0 0 3 &mpic 4 1
320 a800 0 0 4 &mpic 1 1>;
321
322 interrupt-parent = <&mpic>;
323 interrupts = <18 2>;
324 bus-range = <0 0>;
325 ranges = <02000000 0 80000000 80000000 0 20000000
326 01000000 0 00000000 e2000000 0 01000000>;
327 };
Vitaly Bordug902f3922006-09-21 22:31:26 +0400328};