]>
Commit | Line | Data |
---|---|---|
902f392d VB |
1 | /* |
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"; | |
52094879 | 15 | compatible = "MPC8560ADS", "MPC85xxADS"; |
902f392d VB |
16 | #address-cells = <1>; |
17 | #size-cells = <1>; | |
902f392d VB |
18 | |
19 | cpus { | |
902f392d VB |
20 | #address-cells = <1>; |
21 | #size-cells = <0>; | |
902f392d VB |
22 | |
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>; | |
902f392d VB |
33 | }; |
34 | }; | |
35 | ||
36 | memory { | |
37 | device_type = "memory"; | |
902f392d VB |
38 | reg = <00000000 10000000>; |
39 | }; | |
40 | ||
41 | soc8560@e0000000 { | |
42 | #address-cells = <1>; | |
43 | #size-cells = <1>; | |
902f392d VB |
44 | device_type = "soc"; |
45 | ranges = <0 e0000000 00100000>; | |
46 | reg = <e0000000 00000200>; | |
47 | bus-frequency = <13ab6680>; | |
48 | ||
50cf6707 DJ |
49 | memory-controller@2000 { |
50 | compatible = "fsl,8540-memory-controller"; | |
51 | reg = <2000 1000>; | |
52 | interrupt-parent = <&mpic>; | |
b533f8ae | 53 | interrupts = <12 2>; |
50cf6707 DJ |
54 | }; |
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>; | |
b533f8ae | 62 | interrupts = <10 2>; |
50cf6707 DJ |
63 | }; |
64 | ||
902f392d VB |
65 | mdio@24520 { |
66 | device_type = "mdio"; | |
67 | compatible = "gianfar"; | |
68 | reg = <24520 20>; | |
902f392d VB |
69 | #address-cells = <1>; |
70 | #size-cells = <0>; | |
52094879 KG |
71 | phy0: ethernet-phy@0 { |
72 | interrupt-parent = <&mpic>; | |
b533f8ae | 73 | interrupts = <5 1>; |
902f392d VB |
74 | reg = <0>; |
75 | device_type = "ethernet-phy"; | |
76 | }; | |
52094879 KG |
77 | phy1: ethernet-phy@1 { |
78 | interrupt-parent = <&mpic>; | |
b533f8ae | 79 | interrupts = <5 1>; |
902f392d VB |
80 | reg = <1>; |
81 | device_type = "ethernet-phy"; | |
82 | }; | |
52094879 KG |
83 | phy2: ethernet-phy@2 { |
84 | interrupt-parent = <&mpic>; | |
b533f8ae | 85 | interrupts = <7 1>; |
902f392d VB |
86 | reg = <2>; |
87 | device_type = "ethernet-phy"; | |
88 | }; | |
52094879 KG |
89 | phy3: ethernet-phy@3 { |
90 | interrupt-parent = <&mpic>; | |
b533f8ae | 91 | interrupts = <7 1>; |
902f392d VB |
92 | 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>; | |
eae98266 TT |
102 | /* |
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 ]; | |
b533f8ae | 109 | interrupts = <1d 2 1e 2 22 2>; |
52094879 KG |
110 | interrupt-parent = <&mpic>; |
111 | phy-handle = <&phy0>; | |
902f392d VB |
112 | }; |
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>; | |
eae98266 TT |
121 | /* |
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 ]; | |
b533f8ae | 128 | interrupts = <23 2 24 2 28 2>; |
52094879 KG |
129 | interrupt-parent = <&mpic>; |
130 | phy-handle = <&phy1>; | |
902f392d VB |
131 | }; |
132 | ||
52094879 | 133 | mpic: pic@40000 { |
902f392d VB |
134 | interrupt-controller; |
135 | #address-cells = <0>; | |
136 | #interrupt-cells = <2>; | |
52094879 | 137 | reg = <40000 40000>; |
902f392d VB |
138 | device_type = "open-pic"; |
139 | }; | |
140 | ||
141 | cpm@e0000000 { | |
902f392d VB |
142 | #address-cells = <1>; |
143 | #size-cells = <1>; | |
902f392d VB |
144 | device_type = "cpm"; |
145 | model = "CPM2"; | |
146 | ranges = <0 0 c0000>; | |
147 | reg = <80000 40000>; | |
148 | command-proc = <919c0>; | |
149 | brg-frequency = <9d5b340>; | |
150 | ||
52094879 | 151 | cpmpic: pic@90c00 { |
902f392d VB |
152 | interrupt-controller; |
153 | #address-cells = <0>; | |
154 | #interrupt-cells = <2>; | |
58fe255f | 155 | interrupts = <2e 2>; |
52094879 | 156 | interrupt-parent = <&mpic>; |
902f392d | 157 | reg = <90c00 80>; |
902f392d VB |
158 | device_type = "cpm-pic"; |
159 | }; | |
160 | ||
161 | scc@91a00 { | |
162 | device_type = "serial"; | |
163 | compatible = "cpm_uart"; | |
164 | model = "SCC"; | |
611a15af | 165 | device-id = <1>; |
902f392d VB |
166 | reg = <91a00 20 88000 100>; |
167 | clock-setup = <00ffffff 0>; | |
168 | rx-clock = <1>; | |
169 | tx-clock = <1>; | |
170 | current-speed = <1c200>; | |
73844ecb | 171 | interrupts = <28 8>; |
52094879 | 172 | interrupt-parent = <&cpmpic>; |
902f392d VB |
173 | }; |
174 | ||
175 | scc@91a20 { | |
176 | device_type = "serial"; | |
177 | compatible = "cpm_uart"; | |
178 | model = "SCC"; | |
611a15af | 179 | device-id = <2>; |
902f392d VB |
180 | reg = <91a20 20 88100 100>; |
181 | clock-setup = <ff00ffff 90000>; | |
182 | rx-clock = <2>; | |
183 | tx-clock = <2>; | |
184 | current-speed = <1c200>; | |
73844ecb | 185 | interrupts = <29 8>; |
52094879 | 186 | interrupt-parent = <&cpmpic>; |
902f392d VB |
187 | }; |
188 | ||
189 | fcc@91320 { | |
190 | device_type = "network"; | |
191 | compatible = "fs_enet"; | |
192 | model = "FCC"; | |
611a15af | 193 | device-id = <2>; |
902f392d | 194 | reg = <91320 20 88500 100 913a0 30>; |
eae98266 TT |
195 | /* |
196 | * mac-address is deprecated and will be removed | |
197 | * in 2.6.25. Only recent versions of | |
198 | * U-Boot support local-mac-address, however. | |
199 | */ | |
200 | mac-address = [ 00 00 00 00 00 00 ]; | |
201 | local-mac-address = [ 00 00 00 00 00 00 ]; | |
902f392d VB |
202 | clock-setup = <ff00ffff 250000>; |
203 | rx-clock = <15>; | |
204 | tx-clock = <16>; | |
73844ecb | 205 | interrupts = <21 8>; |
52094879 KG |
206 | interrupt-parent = <&cpmpic>; |
207 | phy-handle = <&phy2>; | |
902f392d VB |
208 | }; |
209 | ||
210 | fcc@91340 { | |
211 | device_type = "network"; | |
212 | compatible = "fs_enet"; | |
213 | model = "FCC"; | |
611a15af | 214 | device-id = <3>; |
902f392d | 215 | reg = <91340 20 88600 100 913d0 30>; |
eae98266 TT |
216 | /* |
217 | * mac-address is deprecated and will be removed | |
218 | * in 2.6.25. Only recent versions of | |
219 | * U-Boot support local-mac-address, however. | |
220 | */ | |
221 | mac-address = [ 00 00 00 00 00 00 ]; | |
222 | local-mac-address = [ 00 00 00 00 00 00 ]; | |
902f392d VB |
223 | clock-setup = <ffff00ff 3700>; |
224 | rx-clock = <17>; | |
225 | tx-clock = <18>; | |
73844ecb | 226 | interrupts = <22 8>; |
52094879 KG |
227 | interrupt-parent = <&cpmpic>; |
228 | phy-handle = <&phy3>; | |
902f392d VB |
229 | }; |
230 | }; | |
231 | }; | |
1b3c5cda KG |
232 | |
233 | pci@e0008000 { | |
234 | #interrupt-cells = <1>; | |
235 | #size-cells = <2>; | |
236 | #address-cells = <3>; | |
237 | compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; | |
238 | device_type = "pci"; | |
239 | reg = <e0008000 1000>; | |
240 | clock-frequency = <3f940aa>; | |
241 | interrupt-map-mask = <f800 0 0 7>; | |
242 | interrupt-map = < | |
243 | ||
244 | /* IDSEL 0x2 */ | |
245 | 1000 0 0 1 &mpic 1 1 | |
246 | 1000 0 0 2 &mpic 2 1 | |
247 | 1000 0 0 3 &mpic 3 1 | |
248 | 1000 0 0 4 &mpic 4 1 | |
249 | ||
250 | /* IDSEL 0x3 */ | |
251 | 1800 0 0 1 &mpic 4 1 | |
252 | 1800 0 0 2 &mpic 1 1 | |
253 | 1800 0 0 3 &mpic 2 1 | |
254 | 1800 0 0 4 &mpic 3 1 | |
255 | ||
256 | /* IDSEL 0x4 */ | |
257 | 2000 0 0 1 &mpic 3 1 | |
258 | 2000 0 0 2 &mpic 4 1 | |
259 | 2000 0 0 3 &mpic 1 1 | |
260 | 2000 0 0 4 &mpic 2 1 | |
261 | ||
262 | /* IDSEL 0x5 */ | |
263 | 2800 0 0 1 &mpic 2 1 | |
264 | 2800 0 0 2 &mpic 3 1 | |
265 | 2800 0 0 3 &mpic 4 1 | |
266 | 2800 0 0 4 &mpic 1 1 | |
267 | ||
268 | /* IDSEL 12 */ | |
269 | 6000 0 0 1 &mpic 1 1 | |
270 | 6000 0 0 2 &mpic 2 1 | |
271 | 6000 0 0 3 &mpic 3 1 | |
272 | 6000 0 0 4 &mpic 4 1 | |
273 | ||
274 | /* IDSEL 13 */ | |
275 | 6800 0 0 1 &mpic 4 1 | |
276 | 6800 0 0 2 &mpic 1 1 | |
277 | 6800 0 0 3 &mpic 2 1 | |
278 | 6800 0 0 4 &mpic 3 1 | |
279 | ||
280 | /* IDSEL 14*/ | |
281 | 7000 0 0 1 &mpic 3 1 | |
282 | 7000 0 0 2 &mpic 4 1 | |
283 | 7000 0 0 3 &mpic 1 1 | |
284 | 7000 0 0 4 &mpic 2 1 | |
285 | ||
286 | /* IDSEL 15 */ | |
287 | 7800 0 0 1 &mpic 2 1 | |
288 | 7800 0 0 2 &mpic 3 1 | |
289 | 7800 0 0 3 &mpic 4 1 | |
290 | 7800 0 0 4 &mpic 1 1 | |
291 | ||
292 | /* IDSEL 18 */ | |
293 | 9000 0 0 1 &mpic 1 1 | |
294 | 9000 0 0 2 &mpic 2 1 | |
295 | 9000 0 0 3 &mpic 3 1 | |
296 | 9000 0 0 4 &mpic 4 1 | |
297 | ||
298 | /* IDSEL 19 */ | |
299 | 9800 0 0 1 &mpic 4 1 | |
300 | 9800 0 0 2 &mpic 1 1 | |
301 | 9800 0 0 3 &mpic 2 1 | |
302 | 9800 0 0 4 &mpic 3 1 | |
303 | ||
304 | /* IDSEL 20 */ | |
305 | a000 0 0 1 &mpic 3 1 | |
306 | a000 0 0 2 &mpic 4 1 | |
307 | a000 0 0 3 &mpic 1 1 | |
308 | a000 0 0 4 &mpic 2 1 | |
309 | ||
310 | /* IDSEL 21 */ | |
311 | a800 0 0 1 &mpic 2 1 | |
312 | a800 0 0 2 &mpic 3 1 | |
313 | a800 0 0 3 &mpic 4 1 | |
314 | a800 0 0 4 &mpic 1 1>; | |
315 | ||
316 | interrupt-parent = <&mpic>; | |
317 | interrupts = <18 2>; | |
318 | bus-range = <0 0>; | |
319 | ranges = <02000000 0 80000000 80000000 0 20000000 | |
320 | 01000000 0 00000000 e2000000 0 01000000>; | |
321 | }; | |
902f392d | 322 | }; |