blob: ba8159de040be8a406f7f48bd84f512b3e500376 [file] [log] [blame]
Vitaly Bordug902f3922006-09-21 22:31:26 +04001/*
2 * MPC8560 ADS Device Tree Source
3 *
Kumar Gala32f960e2008-04-17 01:28:15 -05004 * Copyright 2006, 2008 Freescale Semiconductor Inc.
Vitaly Bordug902f3922006-09-21 22:31:26 +04005 *
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/;
Vitaly Bordug902f3922006-09-21 22:31:26 +040013
14/ {
15 model = "MPC8560ADS";
Kumar Gala52094872007-02-17 16:04:23 -060016 compatible = "MPC8560ADS", "MPC85xxADS";
Vitaly Bordug902f3922006-09-21 22:31:26 +040017 #address-cells = <1>;
18 #size-cells = <1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040019
Kumar Galaea082fa2007-12-12 01:46:12 -060020 aliases {
21 ethernet0 = &enet0;
22 ethernet1 = &enet1;
23 ethernet2 = &enet2;
24 ethernet3 = &enet3;
25 serial0 = &serial0;
26 serial1 = &serial1;
27 pci0 = &pci0;
28 };
29
Vitaly Bordug902f3922006-09-21 22:31:26 +040030 cpus {
Vitaly Bordug902f3922006-09-21 22:31:26 +040031 #address-cells = <1>;
32 #size-cells = <0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040033
34 PowerPC,8560@0 {
35 device_type = "cpu";
Kumar Gala32f960e2008-04-17 01:28:15 -050036 reg = <0x0>;
37 d-cache-line-size = <32>; // 32 bytes
38 i-cache-line-size = <32>; // 32 bytes
39 d-cache-size = <0x8000>; // L1, 32K
40 i-cache-size = <0x8000>; // L1, 32K
41 timebase-frequency = <82500000>;
42 bus-frequency = <330000000>;
43 clock-frequency = <825000000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040044 };
45 };
46
47 memory {
48 device_type = "memory";
Kumar Gala32f960e2008-04-17 01:28:15 -050049 reg = <0x0 0x10000000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040050 };
51
52 soc8560@e0000000 {
53 #address-cells = <1>;
54 #size-cells = <1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040055 device_type = "soc";
Kumar Gala32f960e2008-04-17 01:28:15 -050056 ranges = <0x0 0xe0000000 0x100000>;
57 reg = <0xe0000000 0x200>;
58 bus-frequency = <330000000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040059
Dave Jiang50cf6702007-05-10 10:03:05 -070060 memory-controller@2000 {
61 compatible = "fsl,8540-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050062 reg = <0x2000 0x1000>;
Dave Jiang50cf6702007-05-10 10:03:05 -070063 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050064 interrupts = <18 2>;
Dave Jiang50cf6702007-05-10 10:03:05 -070065 };
66
Kumar Galac0540652008-05-30 13:43:43 -050067 L2: l2-cache-controller@20000 {
Dave Jiang50cf6702007-05-10 10:03:05 -070068 compatible = "fsl,8540-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
Dave Jiang50cf6702007-05-10 10:03:05 -070072 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050073 interrupts = <16 2>;
Dave Jiang50cf6702007-05-10 10:03:05 -070074 };
75
Kumar Galadee80552008-06-27 13:45:19 -050076 dma@21300 {
77 #address-cells = <1>;
78 #size-cells = <1>;
79 compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
80 reg = <0x21300 0x4>;
81 ranges = <0x0 0x21100 0x200>;
82 cell-index = <0>;
83 dma-channel@0 {
84 compatible = "fsl,mpc8560-dma-channel",
85 "fsl,eloplus-dma-channel";
86 reg = <0x0 0x80>;
87 cell-index = <0>;
88 interrupt-parent = <&mpic>;
89 interrupts = <20 2>;
90 };
91 dma-channel@80 {
92 compatible = "fsl,mpc8560-dma-channel",
93 "fsl,eloplus-dma-channel";
94 reg = <0x80 0x80>;
95 cell-index = <1>;
96 interrupt-parent = <&mpic>;
97 interrupts = <21 2>;
98 };
99 dma-channel@100 {
100 compatible = "fsl,mpc8560-dma-channel",
101 "fsl,eloplus-dma-channel";
102 reg = <0x100 0x80>;
103 cell-index = <2>;
104 interrupt-parent = <&mpic>;
105 interrupts = <22 2>;
106 };
107 dma-channel@180 {
108 compatible = "fsl,mpc8560-dma-channel",
109 "fsl,eloplus-dma-channel";
110 reg = <0x180 0x80>;
111 cell-index = <3>;
112 interrupt-parent = <&mpic>;
113 interrupts = <23 2>;
114 };
115 };
116
Vitaly Bordug902f3922006-09-21 22:31:26 +0400117 mdio@24520 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400118 #address-cells = <1>;
119 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600120 compatible = "fsl,gianfar-mdio";
Kumar Gala32f960e2008-04-17 01:28:15 -0500121 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600122
Kumar Gala52094872007-02-17 16:04:23 -0600123 phy0: ethernet-phy@0 {
124 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500125 interrupts = <5 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500126 reg = <0x0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400127 device_type = "ethernet-phy";
128 };
Kumar Gala52094872007-02-17 16:04:23 -0600129 phy1: ethernet-phy@1 {
130 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500131 interrupts = <5 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500132 reg = <0x1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400133 device_type = "ethernet-phy";
134 };
Kumar Gala52094872007-02-17 16:04:23 -0600135 phy2: ethernet-phy@2 {
136 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500137 interrupts = <7 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500138 reg = <0x2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400139 device_type = "ethernet-phy";
140 };
Kumar Gala52094872007-02-17 16:04:23 -0600141 phy3: ethernet-phy@3 {
142 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500143 interrupts = <7 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500144 reg = <0x3>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400145 device_type = "ethernet-phy";
146 };
147 };
148
Kumar Galae77b28e2007-12-12 00:28:35 -0600149 enet0: ethernet@24000 {
150 cell-index = <0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400151 device_type = "network";
152 model = "TSEC";
153 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500154 reg = <0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500155 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500156 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600157 interrupt-parent = <&mpic>;
158 phy-handle = <&phy0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400159 };
160
Kumar Galae77b28e2007-12-12 00:28:35 -0600161 enet1: ethernet@25000 {
162 cell-index = <1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400163 device_type = "network";
164 model = "TSEC";
165 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500166 reg = <0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500167 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500168 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600169 interrupt-parent = <&mpic>;
170 phy-handle = <&phy1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400171 };
172
Kumar Gala52094872007-02-17 16:04:23 -0600173 mpic: pic@40000 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400174 interrupt-controller;
175 #address-cells = <0>;
176 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500177 reg = <0x40000 0x40000>;
Kumar Galaacd4b712008-05-30 12:12:26 -0500178 compatible = "chrp,open-pic";
Vitaly Bordug902f3922006-09-21 22:31:26 +0400179 device_type = "open-pic";
180 };
181
Scott Wood8abc8f52007-10-08 16:08:51 -0500182 cpm@919c0 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400183 #address-cells = <1>;
184 #size-cells = <1>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500185 compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
Kumar Gala32f960e2008-04-17 01:28:15 -0500186 reg = <0x919c0 0x30>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500187 ranges;
188
189 muram@80000 {
190 #address-cells = <1>;
191 #size-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500192 ranges = <0x0 0x80000 0x10000>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500193
194 data@0 {
195 compatible = "fsl,cpm-muram-data";
Kumar Gala32f960e2008-04-17 01:28:15 -0500196 reg = <0x0 0x4000 0x9000 0x2000>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500197 };
198 };
199
200 brg@919f0 {
201 compatible = "fsl,mpc8560-brg",
202 "fsl,cpm2-brg",
203 "fsl,cpm-brg";
Kumar Gala32f960e2008-04-17 01:28:15 -0500204 reg = <0x919f0 0x10 0x915f0 0x10>;
205 clock-frequency = <165000000>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500206 };
Vitaly Bordug902f3922006-09-21 22:31:26 +0400207
Kumar Gala52094872007-02-17 16:04:23 -0600208 cpmpic: pic@90c00 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400209 interrupt-controller;
210 #address-cells = <0>;
211 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500212 interrupts = <46 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600213 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500214 reg = <0x90c00 0x80>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500215 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
Vitaly Bordug902f3922006-09-21 22:31:26 +0400216 };
217
Kumar Galaea082fa2007-12-12 01:46:12 -0600218 serial0: serial@91a00 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400219 device_type = "serial";
Scott Wood8abc8f52007-10-08 16:08:51 -0500220 compatible = "fsl,mpc8560-scc-uart",
221 "fsl,cpm2-scc-uart";
Kumar Gala32f960e2008-04-17 01:28:15 -0500222 reg = <0x91a00 0x20 0x88000 0x100>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500223 fsl,cpm-brg = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500224 fsl,cpm-command = <0x800000>;
225 current-speed = <115200>;
226 interrupts = <40 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600227 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400228 };
229
Kumar Galaea082fa2007-12-12 01:46:12 -0600230 serial1: serial@91a20 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400231 device_type = "serial";
Scott Wood8abc8f52007-10-08 16:08:51 -0500232 compatible = "fsl,mpc8560-scc-uart",
233 "fsl,cpm2-scc-uart";
Kumar Gala32f960e2008-04-17 01:28:15 -0500234 reg = <0x91a20 0x20 0x88100 0x100>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500235 fsl,cpm-brg = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500236 fsl,cpm-command = <0x4a00000>;
237 current-speed = <115200>;
238 interrupts = <41 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600239 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400240 };
241
Kumar Galae77b28e2007-12-12 00:28:35 -0600242 enet2: ethernet@91320 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400243 device_type = "network";
Scott Wood8abc8f52007-10-08 16:08:51 -0500244 compatible = "fsl,mpc8560-fcc-enet",
245 "fsl,cpm2-fcc-enet";
Kumar Gala32f960e2008-04-17 01:28:15 -0500246 reg = <0x91320 0x20 0x88500 0x100 0x913b0 0x1>;
Timur Tabieae98262007-06-22 14:33:15 -0500247 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500248 fsl,cpm-command = <0x16200300>;
249 interrupts = <33 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600250 interrupt-parent = <&cpmpic>;
251 phy-handle = <&phy2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400252 };
253
Kumar Galae77b28e2007-12-12 00:28:35 -0600254 enet3: ethernet@91340 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400255 device_type = "network";
Scott Wood8abc8f52007-10-08 16:08:51 -0500256 compatible = "fsl,mpc8560-fcc-enet",
257 "fsl,cpm2-fcc-enet";
Kumar Gala32f960e2008-04-17 01:28:15 -0500258 reg = <0x91340 0x20 0x88600 0x100 0x913d0 0x1>;
Timur Tabieae98262007-06-22 14:33:15 -0500259 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500260 fsl,cpm-command = <0x1a400300>;
261 interrupts = <34 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600262 interrupt-parent = <&cpmpic>;
263 phy-handle = <&phy3>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400264 };
265 };
266 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500267
Kumar Galaea082fa2007-12-12 01:46:12 -0600268 pci0: pci@e0008000 {
269 cell-index = <0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500270 #interrupt-cells = <1>;
271 #size-cells = <2>;
272 #address-cells = <3>;
273 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
274 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500275 reg = <0xe0008000 0x1000>;
276 clock-frequency = <66666666>;
277 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500278 interrupt-map = <
279
280 /* IDSEL 0x2 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500281 0x1000 0x0 0x0 0x1 &mpic 0x1 0x1
282 0x1000 0x0 0x0 0x2 &mpic 0x2 0x1
283 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1
284 0x1000 0x0 0x0 0x4 &mpic 0x4 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500285
286 /* IDSEL 0x3 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500287 0x1800 0x0 0x0 0x1 &mpic 0x4 0x1
288 0x1800 0x0 0x0 0x2 &mpic 0x1 0x1
289 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1
290 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500291
292 /* IDSEL 0x4 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500293 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1
294 0x2000 0x0 0x0 0x2 &mpic 0x4 0x1
295 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1
296 0x2000 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500297
298 /* IDSEL 0x5 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500299 0x2800 0x0 0x0 0x1 &mpic 0x2 0x1
300 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1
301 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1
302 0x2800 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500303
304 /* IDSEL 12 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500305 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1
306 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1
307 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
308 0x6000 0x0 0x0 0x4 &mpic 0x4 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500309
310 /* IDSEL 13 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500311 0x6800 0x0 0x0 0x1 &mpic 0x4 0x1
312 0x6800 0x0 0x0 0x2 &mpic 0x1 0x1
313 0x6800 0x0 0x0 0x3 &mpic 0x2 0x1
314 0x6800 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500315
316 /* IDSEL 14*/
Kumar Gala32f960e2008-04-17 01:28:15 -0500317 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1
318 0x7000 0x0 0x0 0x2 &mpic 0x4 0x1
319 0x7000 0x0 0x0 0x3 &mpic 0x1 0x1
320 0x7000 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500321
322 /* IDSEL 15 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500323 0x7800 0x0 0x0 0x1 &mpic 0x2 0x1
324 0x7800 0x0 0x0 0x2 &mpic 0x3 0x1
325 0x7800 0x0 0x0 0x3 &mpic 0x4 0x1
326 0x7800 0x0 0x0 0x4 &mpic 0x1 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500327
328 /* IDSEL 18 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500329 0x9000 0x0 0x0 0x1 &mpic 0x1 0x1
330 0x9000 0x0 0x0 0x2 &mpic 0x2 0x1
331 0x9000 0x0 0x0 0x3 &mpic 0x3 0x1
332 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500333
334 /* IDSEL 19 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500335 0x9800 0x0 0x0 0x1 &mpic 0x4 0x1
336 0x9800 0x0 0x0 0x2 &mpic 0x1 0x1
337 0x9800 0x0 0x0 0x3 &mpic 0x2 0x1
338 0x9800 0x0 0x0 0x4 &mpic 0x3 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500339
340 /* IDSEL 20 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500341 0xa000 0x0 0x0 0x1 &mpic 0x3 0x1
342 0xa000 0x0 0x0 0x2 &mpic 0x4 0x1
343 0xa000 0x0 0x0 0x3 &mpic 0x1 0x1
344 0xa000 0x0 0x0 0x4 &mpic 0x2 0x1
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500345
346 /* IDSEL 21 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500347 0xa800 0x0 0x0 0x1 &mpic 0x2 0x1
348 0xa800 0x0 0x0 0x2 &mpic 0x3 0x1
349 0xa800 0x0 0x0 0x3 &mpic 0x4 0x1
350 0xa800 0x0 0x0 0x4 &mpic 0x1 0x1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500351
352 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500353 interrupts = <24 2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500354 bus-range = <0 0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500355 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
356 0x1000000 0x0 0x0 0xe2000000 0x0 0x1000000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500357 };
Vitaly Bordug902f3922006-09-21 22:31:26 +0400358};