blob: 936a4d509990cba7dd380865ab797b864f63a644 [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 {
Vitaly Bordug902f3922006-09-21 22:31:26 +040066 #address-cells = <1>;
67 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -060068 compatible = "fsl,gianfar-mdio";
69 reg = <24520 20>;
70
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
Kumar Galae77b28e2007-12-12 00:28:35 -060097 enet0: ethernet@24000 {
98 cell-index = <0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040099 device_type = "network";
100 model = "TSEC";
101 compatible = "gianfar";
102 reg = <24000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500103 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500104 interrupts = <1d 2 1e 2 22 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600105 interrupt-parent = <&mpic>;
106 phy-handle = <&phy0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400107 };
108
Kumar Galae77b28e2007-12-12 00:28:35 -0600109 enet1: ethernet@25000 {
110 cell-index = <1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400111 device_type = "network";
112 model = "TSEC";
113 compatible = "gianfar";
114 reg = <25000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500115 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500116 interrupts = <23 2 24 2 28 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600117 interrupt-parent = <&mpic>;
118 phy-handle = <&phy1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400119 };
120
Kumar Gala52094872007-02-17 16:04:23 -0600121 mpic: pic@40000 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400122 interrupt-controller;
123 #address-cells = <0>;
124 #interrupt-cells = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600125 reg = <40000 40000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400126 device_type = "open-pic";
127 };
128
Scott Wood8abc8f52007-10-08 16:08:51 -0500129 cpm@919c0 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400130 #address-cells = <1>;
131 #size-cells = <1>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500132 compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
133 reg = <919c0 30>;
134 ranges;
135
136 muram@80000 {
137 #address-cells = <1>;
138 #size-cells = <1>;
139 ranges = <0 80000 10000>;
140
141 data@0 {
142 compatible = "fsl,cpm-muram-data";
143 reg = <0 4000 9000 2000>;
144 };
145 };
146
147 brg@919f0 {
148 compatible = "fsl,mpc8560-brg",
149 "fsl,cpm2-brg",
150 "fsl,cpm-brg";
151 reg = <919f0 10 915f0 10>;
152 clock-frequency = <d#165000000>;
153 };
Vitaly Bordug902f3922006-09-21 22:31:26 +0400154
Kumar Gala52094872007-02-17 16:04:23 -0600155 cpmpic: pic@90c00 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400156 interrupt-controller;
157 #address-cells = <0>;
158 #interrupt-cells = <2>;
Kumar Gala58fe2552007-07-03 03:05:58 -0500159 interrupts = <2e 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600160 interrupt-parent = <&mpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400161 reg = <90c00 80>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500162 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
Vitaly Bordug902f3922006-09-21 22:31:26 +0400163 };
164
Scott Wood8abc8f52007-10-08 16:08:51 -0500165 serial@91a00 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400166 device_type = "serial";
Scott Wood8abc8f52007-10-08 16:08:51 -0500167 compatible = "fsl,mpc8560-scc-uart",
168 "fsl,cpm2-scc-uart";
Vitaly Bordug902f3922006-09-21 22:31:26 +0400169 reg = <91a00 20 88000 100>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500170 fsl,cpm-brg = <1>;
171 fsl,cpm-command = <00800000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400172 current-speed = <1c200>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300173 interrupts = <28 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600174 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400175 };
176
Scott Wood8abc8f52007-10-08 16:08:51 -0500177 serial@91a20 {
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 = <91a20 20 88100 100>;
Scott Wood8abc8f52007-10-08 16:08:51 -0500182 fsl,cpm-brg = <2>;
183 fsl,cpm-command = <04a00000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400184 current-speed = <1c200>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300185 interrupts = <29 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600186 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400187 };
188
Kumar Galae77b28e2007-12-12 00:28:35 -0600189 enet2: ethernet@91320 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400190 device_type = "network";
Scott Wood8abc8f52007-10-08 16:08:51 -0500191 compatible = "fsl,mpc8560-fcc-enet",
192 "fsl,cpm2-fcc-enet";
193 reg = <91320 20 88500 100 913b0 1>;
Timur Tabieae98262007-06-22 14:33:15 -0500194 local-mac-address = [ 00 00 00 00 00 00 ];
Scott Wood8abc8f52007-10-08 16:08:51 -0500195 fsl,cpm-command = <16200300>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300196 interrupts = <21 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600197 interrupt-parent = <&cpmpic>;
198 phy-handle = <&phy2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400199 };
200
Kumar Galae77b28e2007-12-12 00:28:35 -0600201 enet3: ethernet@91340 {
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 = <91340 20 88600 100 913d0 1>;
Timur Tabieae98262007-06-22 14:33:15 -0500206 local-mac-address = [ 00 00 00 00 00 00 ];
Scott Wood8abc8f52007-10-08 16:08:51 -0500207 fsl,cpm-command = <1a400300>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300208 interrupts = <22 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600209 interrupt-parent = <&cpmpic>;
210 phy-handle = <&phy3>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400211 };
212 };
213 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500214
215 pci@e0008000 {
216 #interrupt-cells = <1>;
217 #size-cells = <2>;
218 #address-cells = <3>;
219 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
220 device_type = "pci";
221 reg = <e0008000 1000>;
222 clock-frequency = <3f940aa>;
223 interrupt-map-mask = <f800 0 0 7>;
224 interrupt-map = <
225
226 /* IDSEL 0x2 */
227 1000 0 0 1 &mpic 1 1
228 1000 0 0 2 &mpic 2 1
229 1000 0 0 3 &mpic 3 1
230 1000 0 0 4 &mpic 4 1
231
232 /* IDSEL 0x3 */
233 1800 0 0 1 &mpic 4 1
234 1800 0 0 2 &mpic 1 1
235 1800 0 0 3 &mpic 2 1
236 1800 0 0 4 &mpic 3 1
237
238 /* IDSEL 0x4 */
239 2000 0 0 1 &mpic 3 1
240 2000 0 0 2 &mpic 4 1
241 2000 0 0 3 &mpic 1 1
242 2000 0 0 4 &mpic 2 1
243
244 /* IDSEL 0x5 */
245 2800 0 0 1 &mpic 2 1
246 2800 0 0 2 &mpic 3 1
247 2800 0 0 3 &mpic 4 1
248 2800 0 0 4 &mpic 1 1
249
250 /* IDSEL 12 */
251 6000 0 0 1 &mpic 1 1
252 6000 0 0 2 &mpic 2 1
253 6000 0 0 3 &mpic 3 1
254 6000 0 0 4 &mpic 4 1
255
256 /* IDSEL 13 */
257 6800 0 0 1 &mpic 4 1
258 6800 0 0 2 &mpic 1 1
259 6800 0 0 3 &mpic 2 1
260 6800 0 0 4 &mpic 3 1
261
262 /* IDSEL 14*/
263 7000 0 0 1 &mpic 3 1
264 7000 0 0 2 &mpic 4 1
265 7000 0 0 3 &mpic 1 1
266 7000 0 0 4 &mpic 2 1
267
268 /* IDSEL 15 */
269 7800 0 0 1 &mpic 2 1
270 7800 0 0 2 &mpic 3 1
271 7800 0 0 3 &mpic 4 1
272 7800 0 0 4 &mpic 1 1
273
274 /* IDSEL 18 */
275 9000 0 0 1 &mpic 1 1
276 9000 0 0 2 &mpic 2 1
277 9000 0 0 3 &mpic 3 1
278 9000 0 0 4 &mpic 4 1
279
280 /* IDSEL 19 */
281 9800 0 0 1 &mpic 4 1
282 9800 0 0 2 &mpic 1 1
283 9800 0 0 3 &mpic 2 1
284 9800 0 0 4 &mpic 3 1
285
286 /* IDSEL 20 */
287 a000 0 0 1 &mpic 3 1
288 a000 0 0 2 &mpic 4 1
289 a000 0 0 3 &mpic 1 1
290 a000 0 0 4 &mpic 2 1
291
292 /* IDSEL 21 */
293 a800 0 0 1 &mpic 2 1
294 a800 0 0 2 &mpic 3 1
295 a800 0 0 3 &mpic 4 1
296 a800 0 0 4 &mpic 1 1>;
297
298 interrupt-parent = <&mpic>;
299 interrupts = <18 2>;
300 bus-range = <0 0>;
301 ranges = <02000000 0 80000000 80000000 0 20000000
302 01000000 0 00000000 e2000000 0 01000000>;
303 };
Vitaly Bordug902f3922006-09-21 22:31:26 +0400304};