2 * MPC5121E ADS Device Tree Source
4 * Copyright 2007,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 = "fsl,mpc5121ads";
31 d-cache-line-size = <0x20>; // 32 bytes
32 i-cache-line-size = <0x20>; // 32 bytes
33 d-cache-size = <0x8000>; // L1, 32K
34 i-cache-size = <0x8000>; // L1, 32K
35 timebase-frequency = <49500000>;// 49.5 MHz (csb/4)
36 bus-frequency = <198000000>; // 198 MHz csb bus
37 clock-frequency = <396000000>; // 396 MHz ppc core
42 device_type = "memory";
43 reg = <0x00000000 0x10000000>; // 256MB at 0
47 compatible = "fsl,mpc5121-mbx";
48 reg = <0x20000000 0x4000>;
49 interrupts = <66 0x8>;
50 interrupt-parent = < &ipic >;
54 compatible = "fsl,mpc5121-sram";
55 reg = <0x30000000 0x20000>; // 128K at 0x30000000
59 compatible = "fsl,mpc5121-nfc";
60 reg = <0x40000000 0x100000>; // 1M at 0x40000000
62 interrupt-parent = < &ipic >;
66 // ADS has two Hynix 512MB Nand flash chips in a single
71 reg = <0x00000000 0x02000000>; // first 32 MB of chip 0
75 reg = <0x20000000 0x02000000>; // first 32 MB of chip 1
80 compatible = "fsl,mpc5121-localbus";
83 reg = <0x80000020 0x40>;
85 ranges = <0x0 0x0 0xfc000000 0x04000000
86 0x2 0x0 0x82000000 0x00008000>;
89 compatible = "cfi-flash";
90 reg = <0 0x0 0x4000000>;
97 reg = <0x00000000 0x00040000>; // first sector is protected
101 label = "filesystem";
102 reg = <0x00040000 0x03c00000>; // 60M for filesystem
106 reg = <0x03c40000 0x00280000>; // 2.5M for kernel
108 device-tree@3ec0000 {
109 label = "device-tree";
110 reg = <0x03ec0000 0x00040000>; // one sector for device tree
114 reg = <0x03f00000 0x00100000>; // 1M for u-boot
120 compatible = "fsl,mpc5121ads-cpld";
121 reg = <0x2 0x0 0x8000>;
125 compatible = "fsl,mpc5121ads-cpld-pic";
126 interrupt-controller;
127 #interrupt-cells = <2>;
129 interrupt-parent = < &ipic >;
131 // all irqs but touch screen are routed to irq0 (ipic 48)
132 // touch screen is statically routed to irq1 (ipic 17)
133 // so don't use it here
134 interrupts = <48 0x8>;
139 compatible = "fsl,mpc5121-immr";
140 #address-cells = <1>;
142 #interrupt-cells = <2>;
143 ranges = <0x0 0x80000000 0x400000>;
144 reg = <0x80000000 0x400000>;
145 bus-frequency = <66000000>; // 66 MHz ips bus
149 // interrupts cell = <intr #, sense>
150 // sense values match linux IORESOURCE_IRQ_* defines:
151 // sense == 8: Level, low assertion
152 // sense == 2: Edge, high-to-low change
154 ipic: interrupt-controller@c00 {
155 compatible = "fsl,mpc5121-ipic", "fsl,ipic";
156 interrupt-controller;
157 #address-cells = <0>;
158 #interrupt-cells = <2>;
162 rtc@a00 { // Real time clock
163 compatible = "fsl,mpc5121-rtc";
165 interrupts = <79 0x8 80 0x8>;
166 interrupt-parent = < &ipic >;
169 clock@f00 { // Clock control
170 compatible = "fsl,mpc5121-clock";
174 pmc@1000{ //Power Management Controller
175 compatible = "fsl,mpc5121-pmc";
176 reg = <0x1000 0x100>;
177 interrupts = <83 0x2>;
178 interrupt-parent = < &ipic >;
182 compatible = "fsl,mpc5121-gpio";
183 reg = <0x1100 0x100>;
184 interrupts = <78 0x8>;
185 interrupt-parent = < &ipic >;
189 compatible = "fsl,mpc5121-mscan";
191 interrupts = <12 0x8>;
192 interrupt-parent = < &ipic >;
197 compatible = "fsl,mpc5121-mscan";
199 interrupts = <13 0x8>;
200 interrupt-parent = < &ipic >;
205 #address-cells = <1>;
207 compatible = "fsl,mpc5121-i2c", "fsl-i2c";
210 interrupts = <9 0x8>;
211 interrupt-parent = < &ipic >;
215 #address-cells = <1>;
217 compatible = "fsl,mpc5121-i2c", "fsl-i2c";
220 interrupts = <10 0x8>;
221 interrupt-parent = < &ipic >;
225 #address-cells = <1>;
227 compatible = "fsl,mpc5121-i2c", "fsl-i2c";
230 interrupts = <11 0x8>;
231 interrupt-parent = < &ipic >;
235 compatible = "fsl,mpc5121-i2c-ctrl";
240 compatible = "fsl,mpc5121-axe";
241 reg = <0x2000 0x100>;
242 interrupts = <42 0x8>;
243 interrupt-parent = < &ipic >;
247 compatible = "fsl,mpc5121-diu", "fsl-diu";
248 reg = <0x2100 0x100>;
249 interrupts = <64 0x8>;
250 interrupt-parent = < &ipic >;
254 compatible = "fsl,mpc5121-fec-mdio";
255 reg = <0x2800 0x800>;
256 #address-cells = <1>;
258 phy: ethernet-phy@0 {
260 device_type = "ethernet-phy";
265 device_type = "network";
266 compatible = "fsl,mpc5121-fec";
267 reg = <0x2800 0x800>;
268 local-mac-address = [ 00 00 00 00 00 00 ];
269 interrupts = <4 0x8>;
270 interrupt-parent = < &ipic >;
271 phy-handle = < &phy >;
272 fsl,align-tx-packets = <4>;
275 // 5121e has two dr usb modules
276 // mpc5121_ads only uses USB0
278 // USB1 using external ULPI PHY
280 // compatible = "fsl,mpc5121-usb2-dr", "fsl-usb2-dr";
281 // reg = <0x3000 0x1000>;
282 // #address-cells = <1>;
283 // #size-cells = <0>;
284 // interrupt-parent = < &ipic >;
285 // interrupts = <43 0x8>;
287 // phy_type = "ulpi";
291 // USB0 using internal UTMI PHY
293 compatible = "fsl,mpc5121-usb2-dr", "fsl-usb2-dr";
294 reg = <0x4000 0x1000>;
295 #address-cells = <1>;
297 interrupt-parent = < &ipic >;
298 interrupts = <44 0x8>;
300 phy_type = "utmi_wide";
306 compatible = "fsl,mpc5121-ioctl";
307 reg = <0xA000 0x1000>;
311 compatible = "fsl,mpc5121-pata";
312 reg = <0x10200 0x100>;
313 interrupts = <5 0x8>;
314 interrupt-parent = < &ipic >;
317 // 512x PSCs are not 52xx PSC compatible
318 // PSC3 serial port A aka ttyPSC0
320 device_type = "serial";
321 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
322 // Logical port assignment needed until driver
323 // learns to use aliases
326 reg = <0x11300 0x100>;
327 interrupts = <40 0x8>;
328 interrupt-parent = < &ipic >;
333 // PSC4 serial port B aka ttyPSC1
335 device_type = "serial";
336 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
337 // Logical port assignment needed until driver
338 // learns to use aliases
341 reg = <0x11400 0x100>;
342 interrupts = <40 0x8>;
343 interrupt-parent = < &ipic >;
350 compatible = "fsl,mpc5121-psc-ac97", "fsl,mpc5121-psc";
352 reg = <0x11500 0x100>;
353 interrupts = <40 0x8>;
354 interrupt-parent = < &ipic >;
355 fsl,mode = "ac97-slave";
356 rx-fifo-size = <384>;
357 tx-fifo-size = <384>;
361 compatible = "fsl,mpc5121-psc-fifo";
362 reg = <0x11f00 0x100>;
363 interrupts = <40 0x8>;
364 interrupt-parent = < &ipic >;
368 compatible = "fsl,mpc5121-dma2";
369 reg = <0x14000 0x1800>;
370 interrupts = <65 0x8>;
371 interrupt-parent = < &ipic >;
377 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
379 // IDSEL 0x15 - Slot 1 PCI
380 0xa800 0x0 0x0 0x1 &cpld_pic 0x0 0x8
381 0xa800 0x0 0x0 0x2 &cpld_pic 0x1 0x8
382 0xa800 0x0 0x0 0x3 &cpld_pic 0x2 0x8
383 0xa800 0x0 0x0 0x4 &cpld_pic 0x3 0x8
385 // IDSEL 0x16 - Slot 2 MiniPCI
386 0xb000 0x0 0x0 0x1 &cpld_pic 0x4 0x8
387 0xb000 0x0 0x0 0x2 &cpld_pic 0x5 0x8
389 // IDSEL 0x17 - Slot 3 MiniPCI
390 0xb800 0x0 0x0 0x1 &cpld_pic 0x6 0x8
391 0xb800 0x0 0x0 0x2 &cpld_pic 0x7 0x8
393 interrupt-parent = < &ipic >;
394 interrupts = <1 0x8>;
396 ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
397 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
398 0x01000000 0x0 0x00000000 0x84000000 0x0 0x01000000>;
399 clock-frequency = <0>;
400 #interrupt-cells = <1>;
402 #address-cells = <3>;
403 reg = <0x80008500 0x100 /* internal registers */
404 0x80008300 0x8>; /* config space access registers */
405 compatible = "fsl,mpc5121-pci";