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.
14 /include/ "fsl/e500v2_power_isa.dtsi"
18 compatible = "MPC8540ADS", "MPC85xxADS";
38 d-cache-line-size = <32>; // 32 bytes
39 i-cache-line-size = <32>; // 32 bytes
40 d-cache-size = <0x8000>; // L1, 32K
41 i-cache-size = <0x8000>; // L1, 32K
42 timebase-frequency = <0>; // 33 MHz, from uboot
43 bus-frequency = <0>; // 166 MHz
44 clock-frequency = <0>; // 825 MHz, from uboot
45 next-level-cache = <&L2>;
50 device_type = "memory";
51 reg = <0x0 0x8000000>; // 128M at 0x0
58 compatible = "simple-bus";
59 ranges = <0x0 0xe0000000 0x100000>;
63 compatible = "fsl,ecm-law";
69 compatible = "fsl,mpc8540-ecm", "fsl,ecm";
70 reg = <0x1000 0x1000>;
72 interrupt-parent = <&mpic>;
75 memory-controller@2000 {
76 compatible = "fsl,mpc8540-memory-controller";
77 reg = <0x2000 0x1000>;
78 interrupt-parent = <&mpic>;
82 L2: l2-cache-controller@20000 {
83 compatible = "fsl,mpc8540-l2-cache-controller";
84 reg = <0x20000 0x1000>;
85 cache-line-size = <32>; // 32 bytes
86 cache-size = <0x40000>; // L2, 256K
87 interrupt-parent = <&mpic>;
95 compatible = "fsl-i2c";
98 interrupt-parent = <&mpic>;
103 #address-cells = <1>;
105 compatible = "fsl,mpc8540-dma", "fsl,eloplus-dma";
107 ranges = <0x0 0x21100 0x200>;
110 compatible = "fsl,mpc8540-dma-channel",
111 "fsl,eloplus-dma-channel";
114 interrupt-parent = <&mpic>;
118 compatible = "fsl,mpc8540-dma-channel",
119 "fsl,eloplus-dma-channel";
122 interrupt-parent = <&mpic>;
126 compatible = "fsl,mpc8540-dma-channel",
127 "fsl,eloplus-dma-channel";
130 interrupt-parent = <&mpic>;
134 compatible = "fsl,mpc8540-dma-channel",
135 "fsl,eloplus-dma-channel";
138 interrupt-parent = <&mpic>;
143 enet0: ethernet@24000 {
144 #address-cells = <1>;
147 device_type = "network";
149 compatible = "gianfar";
150 reg = <0x24000 0x1000>;
151 ranges = <0x0 0x24000 0x1000>;
152 local-mac-address = [ 00 00 00 00 00 00 ];
153 interrupts = <29 2 30 2 34 2>;
154 interrupt-parent = <&mpic>;
155 tbi-handle = <&tbi0>;
156 phy-handle = <&phy0>;
159 #address-cells = <1>;
161 compatible = "fsl,gianfar-mdio";
164 phy0: ethernet-phy@0 {
165 interrupt-parent = <&mpic>;
168 device_type = "ethernet-phy";
170 phy1: ethernet-phy@1 {
171 interrupt-parent = <&mpic>;
174 device_type = "ethernet-phy";
176 phy3: ethernet-phy@3 {
177 interrupt-parent = <&mpic>;
180 device_type = "ethernet-phy";
184 device_type = "tbi-phy";
189 enet1: ethernet@25000 {
190 #address-cells = <1>;
193 device_type = "network";
195 compatible = "gianfar";
196 reg = <0x25000 0x1000>;
197 ranges = <0x0 0x25000 0x1000>;
198 local-mac-address = [ 00 00 00 00 00 00 ];
199 interrupts = <35 2 36 2 40 2>;
200 interrupt-parent = <&mpic>;
201 tbi-handle = <&tbi1>;
202 phy-handle = <&phy1>;
205 #address-cells = <1>;
207 compatible = "fsl,gianfar-tbi";
212 device_type = "tbi-phy";
217 enet2: ethernet@26000 {
218 #address-cells = <1>;
221 device_type = "network";
223 compatible = "gianfar";
224 reg = <0x26000 0x1000>;
225 ranges = <0x0 0x26000 0x1000>;
226 local-mac-address = [ 00 00 00 00 00 00 ];
228 interrupt-parent = <&mpic>;
229 tbi-handle = <&tbi2>;
230 phy-handle = <&phy3>;
233 #address-cells = <1>;
235 compatible = "fsl,gianfar-tbi";
240 device_type = "tbi-phy";
245 serial0: serial@4500 {
247 device_type = "serial";
248 compatible = "fsl,ns16550", "ns16550";
249 reg = <0x4500 0x100>; // reg base, size
250 clock-frequency = <0>; // should we fill in in uboot?
252 interrupt-parent = <&mpic>;
255 serial1: serial@4600 {
257 device_type = "serial";
258 compatible = "fsl,ns16550", "ns16550";
259 reg = <0x4600 0x100>; // reg base, size
260 clock-frequency = <0>; // should we fill in in uboot?
262 interrupt-parent = <&mpic>;
265 interrupt-controller;
266 #address-cells = <0>;
267 #interrupt-cells = <2>;
268 reg = <0x40000 0x40000>;
269 compatible = "chrp,open-pic";
270 device_type = "open-pic";
275 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
279 0x1000 0x0 0x0 0x1 &mpic 0x1 0x1
280 0x1000 0x0 0x0 0x2 &mpic 0x2 0x1
281 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1
282 0x1000 0x0 0x0 0x4 &mpic 0x4 0x1
285 0x1800 0x0 0x0 0x1 &mpic 0x4 0x1
286 0x1800 0x0 0x0 0x2 &mpic 0x1 0x1
287 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1
288 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1
291 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1
292 0x2000 0x0 0x0 0x2 &mpic 0x4 0x1
293 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1
294 0x2000 0x0 0x0 0x4 &mpic 0x2 0x1
297 0x2800 0x0 0x0 0x1 &mpic 0x2 0x1
298 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1
299 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1
300 0x2800 0x0 0x0 0x4 &mpic 0x1 0x1
303 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1
304 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1
305 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
306 0x6000 0x0 0x0 0x4 &mpic 0x4 0x1
309 0x6800 0x0 0x0 0x1 &mpic 0x4 0x1
310 0x6800 0x0 0x0 0x2 &mpic 0x1 0x1
311 0x6800 0x0 0x0 0x3 &mpic 0x2 0x1
312 0x6800 0x0 0x0 0x4 &mpic 0x3 0x1
315 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1
316 0x7000 0x0 0x0 0x2 &mpic 0x4 0x1
317 0x7000 0x0 0x0 0x3 &mpic 0x1 0x1
318 0x7000 0x0 0x0 0x4 &mpic 0x2 0x1
321 0x7800 0x0 0x0 0x1 &mpic 0x2 0x1
322 0x7800 0x0 0x0 0x2 &mpic 0x3 0x1
323 0x7800 0x0 0x0 0x3 &mpic 0x4 0x1
324 0x7800 0x0 0x0 0x4 &mpic 0x1 0x1
327 0x9000 0x0 0x0 0x1 &mpic 0x1 0x1
328 0x9000 0x0 0x0 0x2 &mpic 0x2 0x1
329 0x9000 0x0 0x0 0x3 &mpic 0x3 0x1
330 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
333 0x9800 0x0 0x0 0x1 &mpic 0x4 0x1
334 0x9800 0x0 0x0 0x2 &mpic 0x1 0x1
335 0x9800 0x0 0x0 0x3 &mpic 0x2 0x1
336 0x9800 0x0 0x0 0x4 &mpic 0x3 0x1
339 0xa000 0x0 0x0 0x1 &mpic 0x3 0x1
340 0xa000 0x0 0x0 0x2 &mpic 0x4 0x1
341 0xa000 0x0 0x0 0x3 &mpic 0x1 0x1
342 0xa000 0x0 0x0 0x4 &mpic 0x2 0x1
345 0xa800 0x0 0x0 0x1 &mpic 0x2 0x1
346 0xa800 0x0 0x0 0x2 &mpic 0x3 0x1
347 0xa800 0x0 0x0 0x3 &mpic 0x4 0x1
348 0xa800 0x0 0x0 0x4 &mpic 0x1 0x1>;
349 interrupt-parent = <&mpic>;
352 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
353 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;
354 clock-frequency = <66666666>;
355 #interrupt-cells = <1>;
357 #address-cells = <3>;
358 reg = <0xe0008000 0x1000>;
359 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";