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 >;
216 #address-cells = <1>;
218 compatible = "fsl,mpc5121-i2c", "fsl-i2c";
221 interrupts = <10 0x8>;
222 interrupt-parent = < &ipic >;
227 #address-cells = <1>;
229 compatible = "fsl,mpc5121-i2c", "fsl-i2c";
232 interrupts = <11 0x8>;
233 interrupt-parent = < &ipic >;
238 compatible = "fsl,mpc5121-i2c-ctrl";
243 compatible = "fsl,mpc5121-axe";
244 reg = <0x2000 0x100>;
245 interrupts = <42 0x8>;
246 interrupt-parent = < &ipic >;
250 compatible = "fsl,mpc5121-diu", "fsl-diu";
251 reg = <0x2100 0x100>;
252 interrupts = <64 0x8>;
253 interrupt-parent = < &ipic >;
257 compatible = "fsl,mpc5121-fec-mdio";
258 reg = <0x2800 0x800>;
259 #address-cells = <1>;
261 phy: ethernet-phy@0 {
263 device_type = "ethernet-phy";
268 device_type = "network";
269 compatible = "fsl,mpc5121-fec";
270 reg = <0x2800 0x800>;
271 local-mac-address = [ 00 00 00 00 00 00 ];
272 interrupts = <4 0x8>;
273 interrupt-parent = < &ipic >;
274 phy-handle = < &phy >;
275 fsl,align-tx-packets = <4>;
278 // 5121e has two dr usb modules
279 // mpc5121_ads only uses USB0
281 // USB1 using external ULPI PHY
283 // compatible = "fsl,mpc5121-usb2-dr", "fsl-usb2-dr";
284 // reg = <0x3000 0x1000>;
285 // #address-cells = <1>;
286 // #size-cells = <0>;
287 // interrupt-parent = < &ipic >;
288 // interrupts = <43 0x8>;
290 // phy_type = "ulpi";
294 // USB0 using internal UTMI PHY
296 compatible = "fsl,mpc5121-usb2-dr", "fsl-usb2-dr";
297 reg = <0x4000 0x1000>;
298 #address-cells = <1>;
300 interrupt-parent = < &ipic >;
301 interrupts = <44 0x8>;
303 phy_type = "utmi_wide";
309 compatible = "fsl,mpc5121-ioctl";
310 reg = <0xA000 0x1000>;
314 compatible = "fsl,mpc5121-pata";
315 reg = <0x10200 0x100>;
316 interrupts = <5 0x8>;
317 interrupt-parent = < &ipic >;
320 // 512x PSCs are not 52xx PSC compatible
321 // PSC3 serial port A aka ttyPSC0
323 device_type = "serial";
324 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
325 // Logical port assignment needed until driver
326 // learns to use aliases
329 reg = <0x11300 0x100>;
330 interrupts = <40 0x8>;
331 interrupt-parent = < &ipic >;
336 // PSC4 serial port B aka ttyPSC1
338 device_type = "serial";
339 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
340 // Logical port assignment needed until driver
341 // learns to use aliases
344 reg = <0x11400 0x100>;
345 interrupts = <40 0x8>;
346 interrupt-parent = < &ipic >;
353 compatible = "fsl,mpc5121-psc-ac97", "fsl,mpc5121-psc";
355 reg = <0x11500 0x100>;
356 interrupts = <40 0x8>;
357 interrupt-parent = < &ipic >;
358 fsl,mode = "ac97-slave";
359 rx-fifo-size = <384>;
360 tx-fifo-size = <384>;
364 compatible = "fsl,mpc5121-psc-fifo";
365 reg = <0x11f00 0x100>;
366 interrupts = <40 0x8>;
367 interrupt-parent = < &ipic >;
371 compatible = "fsl,mpc5121-dma2";
372 reg = <0x14000 0x1800>;
373 interrupts = <65 0x8>;
374 interrupt-parent = < &ipic >;
380 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
382 // IDSEL 0x15 - Slot 1 PCI
383 0xa800 0x0 0x0 0x1 &cpld_pic 0x0 0x8
384 0xa800 0x0 0x0 0x2 &cpld_pic 0x1 0x8
385 0xa800 0x0 0x0 0x3 &cpld_pic 0x2 0x8
386 0xa800 0x0 0x0 0x4 &cpld_pic 0x3 0x8
388 // IDSEL 0x16 - Slot 2 MiniPCI
389 0xb000 0x0 0x0 0x1 &cpld_pic 0x4 0x8
390 0xb000 0x0 0x0 0x2 &cpld_pic 0x5 0x8
392 // IDSEL 0x17 - Slot 3 MiniPCI
393 0xb800 0x0 0x0 0x1 &cpld_pic 0x6 0x8
394 0xb800 0x0 0x0 0x2 &cpld_pic 0x7 0x8
396 interrupt-parent = < &ipic >;
397 interrupts = <1 0x8>;
399 ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
400 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
401 0x01000000 0x0 0x00000000 0x84000000 0x0 0x01000000>;
402 clock-frequency = <0>;
403 #interrupt-cells = <1>;
405 #address-cells = <3>;
406 reg = <0x80008500 0x100 /* internal registers */
407 0x80008300 0x8>; /* config space access registers */
408 compatible = "fsl,mpc5121-pci";