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>;
58 reg = <0xe0000000 0x100000>; // CCSRBAR 1M
61 memory-controller@2000 {
62 compatible = "fsl,8540-memory-controller";
63 reg = <0x2000 0x1000>;
64 interrupt-parent = <&mpic>;
68 L2: l2-cache-controller@20000 {
69 compatible = "fsl,8540-l2-cache-controller";
70 reg = <0x20000 0x1000>;
71 cache-line-size = <32>; // 32 bytes
72 cache-size = <0x40000>; // L2, 256K
73 interrupt-parent = <&mpic>;
81 compatible = "fsl-i2c";
84 interrupt-parent = <&mpic>;
91 compatible = "fsl,mpc8540-dma", "fsl,eloplus-dma";
93 ranges = <0x0 0x21100 0x200>;
96 compatible = "fsl,mpc8540-dma-channel",
97 "fsl,eloplus-dma-channel";
100 interrupt-parent = <&mpic>;
104 compatible = "fsl,mpc8540-dma-channel",
105 "fsl,eloplus-dma-channel";
108 interrupt-parent = <&mpic>;
112 compatible = "fsl,mpc8540-dma-channel",
113 "fsl,eloplus-dma-channel";
116 interrupt-parent = <&mpic>;
120 compatible = "fsl,mpc8540-dma-channel",
121 "fsl,eloplus-dma-channel";
124 interrupt-parent = <&mpic>;
129 enet0: ethernet@24000 {
130 #address-cells = <1>;
133 device_type = "network";
135 compatible = "gianfar";
136 reg = <0x24000 0x1000>;
137 ranges = <0x0 0x24000 0x1000>;
138 local-mac-address = [ 00 00 00 00 00 00 ];
139 interrupts = <29 2 30 2 34 2>;
140 interrupt-parent = <&mpic>;
141 tbi-handle = <&tbi0>;
142 phy-handle = <&phy0>;
145 #address-cells = <1>;
147 compatible = "fsl,gianfar-mdio";
150 phy0: ethernet-phy@0 {
151 interrupt-parent = <&mpic>;
154 device_type = "ethernet-phy";
156 phy1: ethernet-phy@1 {
157 interrupt-parent = <&mpic>;
160 device_type = "ethernet-phy";
162 phy3: ethernet-phy@3 {
163 interrupt-parent = <&mpic>;
166 device_type = "ethernet-phy";
170 device_type = "tbi-phy";
175 enet1: ethernet@25000 {
176 #address-cells = <1>;
179 device_type = "network";
181 compatible = "gianfar";
182 reg = <0x25000 0x1000>;
183 ranges = <0x0 0x25000 0x1000>;
184 local-mac-address = [ 00 00 00 00 00 00 ];
185 interrupts = <35 2 36 2 40 2>;
186 interrupt-parent = <&mpic>;
187 tbi-handle = <&tbi1>;
188 phy-handle = <&phy1>;
191 #address-cells = <1>;
193 compatible = "fsl,gianfar-tbi";
198 device_type = "tbi-phy";
203 enet2: ethernet@26000 {
204 #address-cells = <1>;
207 device_type = "network";
209 compatible = "gianfar";
210 reg = <0x26000 0x1000>;
211 ranges = <0x0 0x26000 0x1000>;
212 local-mac-address = [ 00 00 00 00 00 00 ];
214 interrupt-parent = <&mpic>;
215 tbi-handle = <&tbi2>;
216 phy-handle = <&phy3>;
219 #address-cells = <1>;
221 compatible = "fsl,gianfar-tbi";
226 device_type = "tbi-phy";
231 serial0: serial@4500 {
233 device_type = "serial";
234 compatible = "ns16550";
235 reg = <0x4500 0x100>; // reg base, size
236 clock-frequency = <0>; // should we fill in in uboot?
238 interrupt-parent = <&mpic>;
241 serial1: serial@4600 {
243 device_type = "serial";
244 compatible = "ns16550";
245 reg = <0x4600 0x100>; // reg base, size
246 clock-frequency = <0>; // should we fill in in uboot?
248 interrupt-parent = <&mpic>;
251 interrupt-controller;
252 #address-cells = <0>;
253 #interrupt-cells = <2>;
254 reg = <0x40000 0x40000>;
255 compatible = "chrp,open-pic";
256 device_type = "open-pic";
262 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
266 0x1000 0x0 0x0 0x1 &mpic 0x1 0x1
267 0x1000 0x0 0x0 0x2 &mpic 0x2 0x1
268 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1
269 0x1000 0x0 0x0 0x4 &mpic 0x4 0x1
272 0x1800 0x0 0x0 0x1 &mpic 0x4 0x1
273 0x1800 0x0 0x0 0x2 &mpic 0x1 0x1
274 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1
275 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1
278 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1
279 0x2000 0x0 0x0 0x2 &mpic 0x4 0x1
280 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1
281 0x2000 0x0 0x0 0x4 &mpic 0x2 0x1
284 0x2800 0x0 0x0 0x1 &mpic 0x2 0x1
285 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1
286 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1
287 0x2800 0x0 0x0 0x4 &mpic 0x1 0x1
290 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1
291 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1
292 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
293 0x6000 0x0 0x0 0x4 &mpic 0x4 0x1
296 0x6800 0x0 0x0 0x1 &mpic 0x4 0x1
297 0x6800 0x0 0x0 0x2 &mpic 0x1 0x1
298 0x6800 0x0 0x0 0x3 &mpic 0x2 0x1
299 0x6800 0x0 0x0 0x4 &mpic 0x3 0x1
302 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1
303 0x7000 0x0 0x0 0x2 &mpic 0x4 0x1
304 0x7000 0x0 0x0 0x3 &mpic 0x1 0x1
305 0x7000 0x0 0x0 0x4 &mpic 0x2 0x1
308 0x7800 0x0 0x0 0x1 &mpic 0x2 0x1
309 0x7800 0x0 0x0 0x2 &mpic 0x3 0x1
310 0x7800 0x0 0x0 0x3 &mpic 0x4 0x1
311 0x7800 0x0 0x0 0x4 &mpic 0x1 0x1
314 0x9000 0x0 0x0 0x1 &mpic 0x1 0x1
315 0x9000 0x0 0x0 0x2 &mpic 0x2 0x1
316 0x9000 0x0 0x0 0x3 &mpic 0x3 0x1
317 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
320 0x9800 0x0 0x0 0x1 &mpic 0x4 0x1
321 0x9800 0x0 0x0 0x2 &mpic 0x1 0x1
322 0x9800 0x0 0x0 0x3 &mpic 0x2 0x1
323 0x9800 0x0 0x0 0x4 &mpic 0x3 0x1
326 0xa000 0x0 0x0 0x1 &mpic 0x3 0x1
327 0xa000 0x0 0x0 0x2 &mpic 0x4 0x1
328 0xa000 0x0 0x0 0x3 &mpic 0x1 0x1
329 0xa000 0x0 0x0 0x4 &mpic 0x2 0x1
332 0xa800 0x0 0x0 0x1 &mpic 0x2 0x1
333 0xa800 0x0 0x0 0x2 &mpic 0x3 0x1
334 0xa800 0x0 0x0 0x3 &mpic 0x4 0x1
335 0xa800 0x0 0x0 0x4 &mpic 0x1 0x1>;
336 interrupt-parent = <&mpic>;
339 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
340 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;
341 clock-frequency = <66666666>;
342 #interrupt-cells = <1>;
344 #address-cells = <3>;
345 reg = <0xe0008000 0x1000>;
346 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";