2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
13 #include "imx51-pinfunc.h"
14 #include <dt-bindings/clock/imx5-clock.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
23 * The decompressor and also some bootloaders rely on a
24 * pre-existing /chosen node to be available to insert the
25 * command line and merge other ATAGS info.
26 * Also for U-Boot there must be a pre-existing /memory node.
29 memory { device_type = "memory"; reg = <0 0>; };
51 tzic: tz-interrupt-controller@e0000000 {
52 compatible = "fsl,imx51-tzic", "fsl,tzic";
54 #interrupt-cells = <1>;
55 reg = <0xe0000000 0x4000>;
63 compatible = "fsl,imx-ckil", "fixed-clock";
65 clock-frequency = <32768>;
69 compatible = "fsl,imx-ckih1", "fixed-clock";
71 clock-frequency = <0>;
75 compatible = "fsl,imx-ckih2", "fixed-clock";
77 clock-frequency = <0>;
81 compatible = "fsl,imx-osc", "fixed-clock";
83 clock-frequency = <24000000>;
92 compatible = "arm,cortex-a8";
94 clock-latency = <62500>;
95 clocks = <&clks IMX5_CLK_CPU_PODF>;
102 voltage-tolerance = <5>;
107 #address-cells = <1>;
109 compatible = "simple-bus";
112 compatible = "usb-nop-xceiv";
114 clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
115 clock-names = "main_clk";
120 compatible = "fsl,imx-display-subsystem";
121 ports = <&ipu_di0>, <&ipu_di1>;
125 #address-cells = <1>;
127 compatible = "simple-bus";
128 interrupt-parent = <&tzic>;
131 iram: iram@1ffe0000 {
132 compatible = "mmio-sram";
133 reg = <0x1ffe0000 0x20000>;
137 #address-cells = <1>;
139 compatible = "fsl,imx51-ipu";
140 reg = <0x40000000 0x20000000>;
141 interrupts = <11 10>;
142 clocks = <&clks IMX5_CLK_IPU_GATE>,
143 <&clks IMX5_CLK_IPU_DI0_GATE>,
144 <&clks IMX5_CLK_IPU_DI1_GATE>;
145 clock-names = "bus", "di0", "di1";
151 ipu_di0_disp0: endpoint {
158 ipu_di1_disp1: endpoint {
163 aips@70000000 { /* AIPS1 */
164 compatible = "fsl,aips-bus", "simple-bus";
165 #address-cells = <1>;
167 reg = <0x70000000 0x10000000>;
171 compatible = "fsl,spba-bus", "simple-bus";
172 #address-cells = <1>;
174 reg = <0x70000000 0x40000>;
177 esdhc1: esdhc@70004000 {
178 compatible = "fsl,imx51-esdhc";
179 reg = <0x70004000 0x4000>;
181 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
182 <&clks IMX5_CLK_DUMMY>,
183 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
184 clock-names = "ipg", "ahb", "per";
188 esdhc2: esdhc@70008000 {
189 compatible = "fsl,imx51-esdhc";
190 reg = <0x70008000 0x4000>;
192 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
193 <&clks IMX5_CLK_DUMMY>,
194 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
195 clock-names = "ipg", "ahb", "per";
200 uart3: serial@7000c000 {
201 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
202 reg = <0x7000c000 0x4000>;
204 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
205 <&clks IMX5_CLK_UART3_PER_GATE>;
206 clock-names = "ipg", "per";
210 ecspi1: ecspi@70010000 {
211 #address-cells = <1>;
213 compatible = "fsl,imx51-ecspi";
214 reg = <0x70010000 0x4000>;
216 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
217 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
218 clock-names = "ipg", "per";
223 #sound-dai-cells = <0>;
224 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
225 reg = <0x70014000 0x4000>;
227 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>,
228 <&clks IMX5_CLK_SSI2_ROOT_GATE>;
229 clock-names = "ipg", "baud";
230 dmas = <&sdma 24 1 0>,
232 dma-names = "rx", "tx";
233 fsl,fifo-depth = <15>;
237 esdhc3: esdhc@70020000 {
238 compatible = "fsl,imx51-esdhc";
239 reg = <0x70020000 0x4000>;
241 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
242 <&clks IMX5_CLK_DUMMY>,
243 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
244 clock-names = "ipg", "ahb", "per";
249 esdhc4: esdhc@70024000 {
250 compatible = "fsl,imx51-esdhc";
251 reg = <0x70024000 0x4000>;
253 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
254 <&clks IMX5_CLK_DUMMY>,
255 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
256 clock-names = "ipg", "ahb", "per";
262 usbotg: usb@73f80000 {
263 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
264 reg = <0x73f80000 0x0200>;
266 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
267 fsl,usbmisc = <&usbmisc 0>;
268 fsl,usbphy = <&usbphy0>;
272 usbh1: usb@73f80200 {
273 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
274 reg = <0x73f80200 0x0200>;
276 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
277 fsl,usbmisc = <&usbmisc 1>;
282 usbh2: usb@73f80400 {
283 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
284 reg = <0x73f80400 0x0200>;
286 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
287 fsl,usbmisc = <&usbmisc 2>;
292 usbh3: usb@73f80600 {
293 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
294 reg = <0x73f80600 0x0200>;
296 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
297 fsl,usbmisc = <&usbmisc 3>;
302 usbmisc: usbmisc@73f80800 {
304 compatible = "fsl,imx51-usbmisc";
305 reg = <0x73f80800 0x200>;
306 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
309 gpio1: gpio@73f84000 {
310 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
311 reg = <0x73f84000 0x4000>;
312 interrupts = <50 51>;
315 interrupt-controller;
316 #interrupt-cells = <2>;
319 gpio2: gpio@73f88000 {
320 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
321 reg = <0x73f88000 0x4000>;
322 interrupts = <52 53>;
325 interrupt-controller;
326 #interrupt-cells = <2>;
329 gpio3: gpio@73f8c000 {
330 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
331 reg = <0x73f8c000 0x4000>;
332 interrupts = <54 55>;
335 interrupt-controller;
336 #interrupt-cells = <2>;
339 gpio4: gpio@73f90000 {
340 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
341 reg = <0x73f90000 0x4000>;
342 interrupts = <56 57>;
345 interrupt-controller;
346 #interrupt-cells = <2>;
350 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
351 reg = <0x73f94000 0x4000>;
353 clocks = <&clks IMX5_CLK_DUMMY>;
357 wdog1: wdog@73f98000 {
358 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
359 reg = <0x73f98000 0x4000>;
361 clocks = <&clks IMX5_CLK_DUMMY>;
364 wdog2: wdog@73f9c000 {
365 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
366 reg = <0x73f9c000 0x4000>;
368 clocks = <&clks IMX5_CLK_DUMMY>;
372 gpt: timer@73fa0000 {
373 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
374 reg = <0x73fa0000 0x4000>;
376 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
377 <&clks IMX5_CLK_GPT_HF_GATE>;
378 clock-names = "ipg", "per";
381 iomuxc: iomuxc@73fa8000 {
382 compatible = "fsl,imx51-iomuxc";
383 reg = <0x73fa8000 0x4000>;
388 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
389 reg = <0x73fb4000 0x4000>;
390 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
391 <&clks IMX5_CLK_PWM1_HF_GATE>;
392 clock-names = "ipg", "per";
398 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
399 reg = <0x73fb8000 0x4000>;
400 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
401 <&clks IMX5_CLK_PWM2_HF_GATE>;
402 clock-names = "ipg", "per";
406 uart1: serial@73fbc000 {
407 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
408 reg = <0x73fbc000 0x4000>;
410 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
411 <&clks IMX5_CLK_UART1_PER_GATE>;
412 clock-names = "ipg", "per";
416 uart2: serial@73fc0000 {
417 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
418 reg = <0x73fc0000 0x4000>;
420 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
421 <&clks IMX5_CLK_UART2_PER_GATE>;
422 clock-names = "ipg", "per";
427 compatible = "fsl,imx51-src";
428 reg = <0x73fd0000 0x4000>;
433 compatible = "fsl,imx51-ccm";
434 reg = <0x73fd4000 0x4000>;
435 interrupts = <0 71 0x04 0 72 0x04>;
440 aips@80000000 { /* AIPS2 */
441 compatible = "fsl,aips-bus", "simple-bus";
442 #address-cells = <1>;
444 reg = <0x80000000 0x10000000>;
448 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
449 reg = <0x83f98000 0x4000>;
451 clocks = <&clks IMX5_CLK_IIM_GATE>;
454 owire: owire@83fa4000 {
455 compatible = "fsl,imx51-owire", "fsl,imx21-owire";
456 reg = <0x83fa4000 0x4000>;
458 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
462 ecspi2: ecspi@83fac000 {
463 #address-cells = <1>;
465 compatible = "fsl,imx51-ecspi";
466 reg = <0x83fac000 0x4000>;
468 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
469 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
470 clock-names = "ipg", "per";
474 sdma: sdma@83fb0000 {
475 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
476 reg = <0x83fb0000 0x4000>;
478 clocks = <&clks IMX5_CLK_SDMA_GATE>,
479 <&clks IMX5_CLK_SDMA_GATE>;
480 clock-names = "ipg", "ahb";
482 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
485 cspi: cspi@83fc0000 {
486 #address-cells = <1>;
488 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
489 reg = <0x83fc0000 0x4000>;
491 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
492 <&clks IMX5_CLK_CSPI_IPG_GATE>;
493 clock-names = "ipg", "per";
498 #address-cells = <1>;
500 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
501 reg = <0x83fc4000 0x4000>;
503 clocks = <&clks IMX5_CLK_I2C2_GATE>;
508 #address-cells = <1>;
510 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
511 reg = <0x83fc8000 0x4000>;
513 clocks = <&clks IMX5_CLK_I2C1_GATE>;
518 #sound-dai-cells = <0>;
519 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
520 reg = <0x83fcc000 0x4000>;
522 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>,
523 <&clks IMX5_CLK_SSI1_ROOT_GATE>;
524 clock-names = "ipg", "baud";
525 dmas = <&sdma 28 0 0>,
527 dma-names = "rx", "tx";
528 fsl,fifo-depth = <15>;
532 audmux: audmux@83fd0000 {
533 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
534 reg = <0x83fd0000 0x4000>;
535 clocks = <&clks IMX5_CLK_DUMMY>;
536 clock-names = "audmux";
540 weim: weim@83fda000 {
541 #address-cells = <2>;
543 compatible = "fsl,imx51-weim";
544 reg = <0x83fda000 0x1000>;
545 clocks = <&clks IMX5_CLK_EMI_SLOW_GATE>;
547 0 0 0xb0000000 0x08000000
548 1 0 0xb8000000 0x08000000
549 2 0 0xc0000000 0x08000000
550 3 0 0xc8000000 0x04000000
551 4 0 0xcc000000 0x02000000
552 5 0 0xce000000 0x02000000
558 #address-cells = <1>;
560 compatible = "fsl,imx51-nand";
561 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
563 clocks = <&clks IMX5_CLK_NFC_GATE>;
567 pata: pata@83fe0000 {
568 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
569 reg = <0x83fe0000 0x4000>;
571 clocks = <&clks IMX5_CLK_PATA_GATE>;
576 #sound-dai-cells = <0>;
577 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
578 reg = <0x83fe8000 0x4000>;
580 clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>,
581 <&clks IMX5_CLK_SSI3_ROOT_GATE>;
582 clock-names = "ipg", "baud";
583 dmas = <&sdma 46 0 0>,
585 dma-names = "rx", "tx";
586 fsl,fifo-depth = <15>;
590 fec: ethernet@83fec000 {
591 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
592 reg = <0x83fec000 0x4000>;
594 clocks = <&clks IMX5_CLK_FEC_GATE>,
595 <&clks IMX5_CLK_FEC_GATE>,
596 <&clks IMX5_CLK_FEC_GATE>;
597 clock-names = "ipg", "ahb", "ptp";