2 * MPC8540 ADS Device Tree Source
4 * Copyright 2006, 2008 Freescale Semiconductor Inc.
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.
16 compatible = "MPC8540ADS", "MPC85xxADS";
36 d-cache-line-size = <32>; // 32 bytes
37 i-cache-line-size = <32>; // 32 bytes
38 d-cache-size = <0x8000>; // L1, 32K
39 i-cache-size = <0x8000>; // L1, 32K
40 timebase-frequency = <0>; // 33 MHz, from uboot
41 bus-frequency = <0>; // 166 MHz
42 clock-frequency = <0>; // 825 MHz, from uboot
43 next-level-cache = <&L2>;
48 device_type = "memory";
49 reg = <0x0 0x8000000>; // 128M at 0x0
56 compatible = "simple-bus";
57 ranges = <0x0 0xe0000000 0x100000>;
61 compatible = "fsl,ecm-law";
67 compatible = "fsl,mpc8540-ecm", "fsl,ecm";
68 reg = <0x1000 0x1000>;
70 interrupt-parent = <&mpic>;
73 memory-controller@2000 {
74 compatible = "fsl,mpc8540-memory-controller";
75 reg = <0x2000 0x1000>;
76 interrupt-parent = <&mpic>;
80 L2: l2-cache-controller@20000 {
81 compatible = "fsl,mpc8540-l2-cache-controller";
82 reg = <0x20000 0x1000>;
83 cache-line-size = <32>; // 32 bytes
84 cache-size = <0x40000>; // L2, 256K
85 interrupt-parent = <&mpic>;
93 compatible = "fsl-i2c";
96 interrupt-parent = <&mpic>;
101 #address-cells = <1>;
103 compatible = "fsl,mpc8540-dma", "fsl,eloplus-dma";
105 ranges = <0x0 0x21100 0x200>;
108 compatible = "fsl,mpc8540-dma-channel",
109 "fsl,eloplus-dma-channel";
112 interrupt-parent = <&mpic>;
116 compatible = "fsl,mpc8540-dma-channel",
117 "fsl,eloplus-dma-channel";
120 interrupt-parent = <&mpic>;
124 compatible = "fsl,mpc8540-dma-channel",
125 "fsl,eloplus-dma-channel";
128 interrupt-parent = <&mpic>;
132 compatible = "fsl,mpc8540-dma-channel",
133 "fsl,eloplus-dma-channel";
136 interrupt-parent = <&mpic>;
141 enet0: ethernet@24000 {
142 #address-cells = <1>;
145 device_type = "network";
147 compatible = "gianfar";
148 reg = <0x24000 0x1000>;
149 ranges = <0x0 0x24000 0x1000>;
150 local-mac-address = [ 00 00 00 00 00 00 ];
151 interrupts = <29 2 30 2 34 2>;
152 interrupt-parent = <&mpic>;
153 tbi-handle = <&tbi0>;
154 phy-handle = <&phy0>;
157 #address-cells = <1>;
159 compatible = "fsl,gianfar-mdio";
162 phy0: ethernet-phy@0 {
163 interrupt-parent = <&mpic>;
166 device_type = "ethernet-phy";
168 phy1: ethernet-phy@1 {
169 interrupt-parent = <&mpic>;
172 device_type = "ethernet-phy";
174 phy3: ethernet-phy@3 {
175 interrupt-parent = <&mpic>;
178 device_type = "ethernet-phy";
182 device_type = "tbi-phy";
187 enet1: ethernet@25000 {
188 #address-cells = <1>;
191 device_type = "network";
193 compatible = "gianfar";
194 reg = <0x25000 0x1000>;
195 ranges = <0x0 0x25000 0x1000>;
196 local-mac-address = [ 00 00 00 00 00 00 ];
197 interrupts = <35 2 36 2 40 2>;
198 interrupt-parent = <&mpic>;
199 tbi-handle = <&tbi1>;
200 phy-handle = <&phy1>;
203 #address-cells = <1>;
205 compatible = "fsl,gianfar-tbi";
210 device_type = "tbi-phy";
215 enet2: ethernet@26000 {
216 #address-cells = <1>;
219 device_type = "network";
221 compatible = "gianfar";
222 reg = <0x26000 0x1000>;
223 ranges = <0x0 0x26000 0x1000>;
224 local-mac-address = [ 00 00 00 00 00 00 ];
226 interrupt-parent = <&mpic>;
227 tbi-handle = <&tbi2>;
228 phy-handle = <&phy3>;
231 #address-cells = <1>;
233 compatible = "fsl,gianfar-tbi";
238 device_type = "tbi-phy";
243 serial0: serial@4500 {
245 device_type = "serial";
246 compatible = "ns16550";
247 reg = <0x4500 0x100>; // reg base, size
248 clock-frequency = <0>; // should we fill in in uboot?
250 interrupt-parent = <&mpic>;
253 serial1: serial@4600 {
255 device_type = "serial";
256 compatible = "ns16550";
257 reg = <0x4600 0x100>; // reg base, size
258 clock-frequency = <0>; // should we fill in in uboot?
260 interrupt-parent = <&mpic>;
263 interrupt-controller;
264 #address-cells = <0>;
265 #interrupt-cells = <2>;
266 reg = <0x40000 0x40000>;
267 compatible = "chrp,open-pic";
268 device_type = "open-pic";
273 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
277 0x1000 0x0 0x0 0x1 &mpic 0x1 0x1
278 0x1000 0x0 0x0 0x2 &mpic 0x2 0x1
279 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1
280 0x1000 0x0 0x0 0x4 &mpic 0x4 0x1
283 0x1800 0x0 0x0 0x1 &mpic 0x4 0x1
284 0x1800 0x0 0x0 0x2 &mpic 0x1 0x1
285 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1
286 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1
289 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1
290 0x2000 0x0 0x0 0x2 &mpic 0x4 0x1
291 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1
292 0x2000 0x0 0x0 0x4 &mpic 0x2 0x1
295 0x2800 0x0 0x0 0x1 &mpic 0x2 0x1
296 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1
297 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1
298 0x2800 0x0 0x0 0x4 &mpic 0x1 0x1
301 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1
302 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1
303 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
304 0x6000 0x0 0x0 0x4 &mpic 0x4 0x1
307 0x6800 0x0 0x0 0x1 &mpic 0x4 0x1
308 0x6800 0x0 0x0 0x2 &mpic 0x1 0x1
309 0x6800 0x0 0x0 0x3 &mpic 0x2 0x1
310 0x6800 0x0 0x0 0x4 &mpic 0x3 0x1
313 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1
314 0x7000 0x0 0x0 0x2 &mpic 0x4 0x1
315 0x7000 0x0 0x0 0x3 &mpic 0x1 0x1
316 0x7000 0x0 0x0 0x4 &mpic 0x2 0x1
319 0x7800 0x0 0x0 0x1 &mpic 0x2 0x1
320 0x7800 0x0 0x0 0x2 &mpic 0x3 0x1
321 0x7800 0x0 0x0 0x3 &mpic 0x4 0x1
322 0x7800 0x0 0x0 0x4 &mpic 0x1 0x1
325 0x9000 0x0 0x0 0x1 &mpic 0x1 0x1
326 0x9000 0x0 0x0 0x2 &mpic 0x2 0x1
327 0x9000 0x0 0x0 0x3 &mpic 0x3 0x1
328 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
331 0x9800 0x0 0x0 0x1 &mpic 0x4 0x1
332 0x9800 0x0 0x0 0x2 &mpic 0x1 0x1
333 0x9800 0x0 0x0 0x3 &mpic 0x2 0x1
334 0x9800 0x0 0x0 0x4 &mpic 0x3 0x1
337 0xa000 0x0 0x0 0x1 &mpic 0x3 0x1
338 0xa000 0x0 0x0 0x2 &mpic 0x4 0x1
339 0xa000 0x0 0x0 0x3 &mpic 0x1 0x1
340 0xa000 0x0 0x0 0x4 &mpic 0x2 0x1
343 0xa800 0x0 0x0 0x1 &mpic 0x2 0x1
344 0xa800 0x0 0x0 0x2 &mpic 0x3 0x1
345 0xa800 0x0 0x0 0x3 &mpic 0x4 0x1
346 0xa800 0x0 0x0 0x4 &mpic 0x1 0x1>;
347 interrupt-parent = <&mpic>;
350 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
351 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;
352 clock-frequency = <66666666>;
353 #interrupt-cells = <1>;
355 #address-cells = <3>;
356 reg = <0xe0008000 0x1000>;
357 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";