1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright 2011 Freescale Semiconductor, Inc.
4 // Copyright 2011 Linaro Ltd.
6 #include "imx51-pinfunc.h"
7 #include <dt-bindings/clock/imx5-clock.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
16 * The decompressor and also some bootloaders rely on a
17 * pre-existing /chosen node to be available to insert the
18 * command line and merge other ATAGS info.
42 tzic: tz-interrupt-controller@e0000000 {
43 compatible = "fsl,imx51-tzic", "fsl,tzic";
45 #interrupt-cells = <1>;
46 reg = <0xe0000000 0x4000>;
51 compatible = "fsl,imx-ckil", "fixed-clock";
53 clock-frequency = <32768>;
57 compatible = "fsl,imx-ckih1", "fixed-clock";
59 clock-frequency = <0>;
63 compatible = "fsl,imx-ckih2", "fixed-clock";
65 clock-frequency = <0>;
69 compatible = "fsl,imx-osc", "fixed-clock";
71 clock-frequency = <24000000>;
80 compatible = "arm,cortex-a8";
82 clock-latency = <62500>;
83 clocks = <&clks IMX5_CLK_CPU_PODF>;
90 voltage-tolerance = <5>;
95 compatible = "arm,cortex-a8-pmu";
96 interrupt-parent = <&tzic>;
101 compatible = "usb-nop-xceiv";
102 clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
103 clock-names = "main_clk";
108 compatible = "fsl,imx-display-subsystem";
109 ports = <&ipu_di0>, <&ipu_di1>;
113 #address-cells = <1>;
115 compatible = "simple-bus";
116 interrupt-parent = <&tzic>;
119 iram: iram@1ffe0000 {
120 compatible = "mmio-sram";
121 reg = <0x1ffe0000 0x20000>;
125 #address-cells = <1>;
127 compatible = "fsl,imx51-ipu";
128 reg = <0x40000000 0x20000000>;
129 interrupts = <11 10>;
130 clocks = <&clks IMX5_CLK_IPU_GATE>,
131 <&clks IMX5_CLK_IPU_DI0_GATE>,
132 <&clks IMX5_CLK_IPU_DI1_GATE>;
133 clock-names = "bus", "di0", "di1";
139 ipu_di0_disp1: endpoint {
146 ipu_di1_disp2: endpoint {
151 aips@70000000 { /* AIPS1 */
152 compatible = "fsl,aips-bus", "simple-bus";
153 #address-cells = <1>;
155 reg = <0x70000000 0x10000000>;
159 compatible = "fsl,spba-bus", "simple-bus";
160 #address-cells = <1>;
162 reg = <0x70000000 0x40000>;
165 esdhc1: esdhc@70004000 {
166 compatible = "fsl,imx51-esdhc";
167 reg = <0x70004000 0x4000>;
169 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
170 <&clks IMX5_CLK_DUMMY>,
171 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
172 clock-names = "ipg", "ahb", "per";
176 esdhc2: esdhc@70008000 {
177 compatible = "fsl,imx51-esdhc";
178 reg = <0x70008000 0x4000>;
180 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
181 <&clks IMX5_CLK_DUMMY>,
182 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
183 clock-names = "ipg", "ahb", "per";
188 uart3: serial@7000c000 {
189 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
190 reg = <0x7000c000 0x4000>;
192 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
193 <&clks IMX5_CLK_UART3_PER_GATE>;
194 clock-names = "ipg", "per";
198 ecspi1: ecspi@70010000 {
199 #address-cells = <1>;
201 compatible = "fsl,imx51-ecspi";
202 reg = <0x70010000 0x4000>;
204 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
205 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
206 clock-names = "ipg", "per";
211 #sound-dai-cells = <0>;
212 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
213 reg = <0x70014000 0x4000>;
215 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>,
216 <&clks IMX5_CLK_SSI2_ROOT_GATE>;
217 clock-names = "ipg", "baud";
218 dmas = <&sdma 24 1 0>,
220 dma-names = "rx", "tx";
221 fsl,fifo-depth = <15>;
225 esdhc3: esdhc@70020000 {
226 compatible = "fsl,imx51-esdhc";
227 reg = <0x70020000 0x4000>;
229 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
230 <&clks IMX5_CLK_DUMMY>,
231 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
232 clock-names = "ipg", "ahb", "per";
237 esdhc4: esdhc@70024000 {
238 compatible = "fsl,imx51-esdhc";
239 reg = <0x70024000 0x4000>;
241 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
242 <&clks IMX5_CLK_DUMMY>,
243 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
244 clock-names = "ipg", "ahb", "per";
250 aipstz1: bridge@73f00000 {
251 compatible = "fsl,imx51-aipstz";
252 reg = <0x73f00000 0x60>;
255 usbotg: usb@73f80000 {
256 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
257 reg = <0x73f80000 0x0200>;
259 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
260 fsl,usbmisc = <&usbmisc 0>;
261 fsl,usbphy = <&usbphy0>;
265 usbh1: usb@73f80200 {
266 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
267 reg = <0x73f80200 0x0200>;
269 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
270 fsl,usbmisc = <&usbmisc 1>;
275 usbh2: usb@73f80400 {
276 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
277 reg = <0x73f80400 0x0200>;
279 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
280 fsl,usbmisc = <&usbmisc 2>;
285 usbh3: usb@73f80600 {
286 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
287 reg = <0x73f80600 0x0200>;
289 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
290 fsl,usbmisc = <&usbmisc 3>;
295 usbmisc: usbmisc@73f80800 {
297 compatible = "fsl,imx51-usbmisc";
298 reg = <0x73f80800 0x200>;
299 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
302 gpio1: gpio@73f84000 {
303 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
304 reg = <0x73f84000 0x4000>;
305 interrupts = <50 51>;
308 interrupt-controller;
309 #interrupt-cells = <2>;
312 gpio2: gpio@73f88000 {
313 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
314 reg = <0x73f88000 0x4000>;
315 interrupts = <52 53>;
318 interrupt-controller;
319 #interrupt-cells = <2>;
322 gpio3: gpio@73f8c000 {
323 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
324 reg = <0x73f8c000 0x4000>;
325 interrupts = <54 55>;
328 interrupt-controller;
329 #interrupt-cells = <2>;
332 gpio4: gpio@73f90000 {
333 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
334 reg = <0x73f90000 0x4000>;
335 interrupts = <56 57>;
338 interrupt-controller;
339 #interrupt-cells = <2>;
343 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
344 reg = <0x73f94000 0x4000>;
346 clocks = <&clks IMX5_CLK_DUMMY>;
350 wdog1: wdog@73f98000 {
351 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
352 reg = <0x73f98000 0x4000>;
354 clocks = <&clks IMX5_CLK_DUMMY>;
357 wdog2: wdog@73f9c000 {
358 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
359 reg = <0x73f9c000 0x4000>;
361 clocks = <&clks IMX5_CLK_DUMMY>;
365 gpt: timer@73fa0000 {
366 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
367 reg = <0x73fa0000 0x4000>;
369 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
370 <&clks IMX5_CLK_GPT_HF_GATE>;
371 clock-names = "ipg", "per";
374 iomuxc: iomuxc@73fa8000 {
375 compatible = "fsl,imx51-iomuxc";
376 reg = <0x73fa8000 0x4000>;
381 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
382 reg = <0x73fb4000 0x4000>;
383 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
384 <&clks IMX5_CLK_PWM1_HF_GATE>;
385 clock-names = "ipg", "per";
391 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
392 reg = <0x73fb8000 0x4000>;
393 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
394 <&clks IMX5_CLK_PWM2_HF_GATE>;
395 clock-names = "ipg", "per";
399 uart1: serial@73fbc000 {
400 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
401 reg = <0x73fbc000 0x4000>;
403 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
404 <&clks IMX5_CLK_UART1_PER_GATE>;
405 clock-names = "ipg", "per";
409 uart2: serial@73fc0000 {
410 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
411 reg = <0x73fc0000 0x4000>;
413 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
414 <&clks IMX5_CLK_UART2_PER_GATE>;
415 clock-names = "ipg", "per";
420 compatible = "fsl,imx51-src";
421 reg = <0x73fd0000 0x4000>;
426 compatible = "fsl,imx51-ccm";
427 reg = <0x73fd4000 0x4000>;
428 interrupts = <0 71 0x04 0 72 0x04>;
433 aips@80000000 { /* AIPS2 */
434 compatible = "fsl,aips-bus", "simple-bus";
435 #address-cells = <1>;
437 reg = <0x80000000 0x10000000>;
440 aipstz2: bridge@83f00000 {
441 compatible = "fsl,imx51-aipstz";
442 reg = <0x83f00000 0x60>;
446 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
447 reg = <0x83f98000 0x4000>;
449 clocks = <&clks IMX5_CLK_IIM_GATE>;
452 tigerp: tigerp@83fa0000 {
453 compatible = "fsl,imx51-tigerp";
454 reg = <0x83fa0000 0x28>;
457 owire: owire@83fa4000 {
458 compatible = "fsl,imx51-owire", "fsl,imx21-owire";
459 reg = <0x83fa4000 0x4000>;
461 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
465 ecspi2: ecspi@83fac000 {
466 #address-cells = <1>;
468 compatible = "fsl,imx51-ecspi";
469 reg = <0x83fac000 0x4000>;
471 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
472 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
473 clock-names = "ipg", "per";
477 sdma: sdma@83fb0000 {
478 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
479 reg = <0x83fb0000 0x4000>;
481 clocks = <&clks IMX5_CLK_SDMA_GATE>,
482 <&clks IMX5_CLK_AHB>;
483 clock-names = "ipg", "ahb";
485 fsl,sdma-ram-script-name = "/*(DEBLOBBED)*/";
488 cspi: cspi@83fc0000 {
489 #address-cells = <1>;
491 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
492 reg = <0x83fc0000 0x4000>;
494 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
495 <&clks IMX5_CLK_CSPI_IPG_GATE>;
496 clock-names = "ipg", "per";
501 #address-cells = <1>;
503 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
504 reg = <0x83fc4000 0x4000>;
506 clocks = <&clks IMX5_CLK_I2C2_GATE>;
511 #address-cells = <1>;
513 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
514 reg = <0x83fc8000 0x4000>;
516 clocks = <&clks IMX5_CLK_I2C1_GATE>;
521 #sound-dai-cells = <0>;
522 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
523 reg = <0x83fcc000 0x4000>;
525 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>,
526 <&clks IMX5_CLK_SSI1_ROOT_GATE>;
527 clock-names = "ipg", "baud";
528 dmas = <&sdma 28 0 0>,
530 dma-names = "rx", "tx";
531 fsl,fifo-depth = <15>;
535 audmux: audmux@83fd0000 {
536 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
537 reg = <0x83fd0000 0x4000>;
538 clocks = <&clks IMX5_CLK_DUMMY>;
539 clock-names = "audmux";
543 m4if: m4if@83fd8000 {
544 compatible = "fsl,imx51-m4if";
545 reg = <0x83fd8000 0x1000>;
548 weim: weim@83fda000 {
549 #address-cells = <2>;
551 compatible = "fsl,imx51-weim";
552 reg = <0x83fda000 0x1000>;
553 clocks = <&clks IMX5_CLK_EMI_SLOW_GATE>;
555 0 0 0xb0000000 0x08000000
556 1 0 0xb8000000 0x08000000
557 2 0 0xc0000000 0x08000000
558 3 0 0xc8000000 0x04000000
559 4 0 0xcc000000 0x02000000
560 5 0 0xce000000 0x02000000
566 #address-cells = <1>;
568 compatible = "fsl,imx51-nand";
569 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
571 clocks = <&clks IMX5_CLK_NFC_GATE>;
575 pata: pata@83fe0000 {
576 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
577 reg = <0x83fe0000 0x4000>;
579 clocks = <&clks IMX5_CLK_PATA_GATE>;
584 #sound-dai-cells = <0>;
585 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
586 reg = <0x83fe8000 0x4000>;
588 clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>,
589 <&clks IMX5_CLK_SSI3_ROOT_GATE>;
590 clock-names = "ipg", "baud";
591 dmas = <&sdma 46 0 0>,
593 dma-names = "rx", "tx";
594 fsl,fifo-depth = <15>;
598 fec: ethernet@83fec000 {
599 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
600 reg = <0x83fec000 0x4000>;
602 clocks = <&clks IMX5_CLK_FEC_GATE>,
603 <&clks IMX5_CLK_FEC_GATE>,
604 <&clks IMX5_CLK_FEC_GATE>;
605 clock-names = "ipg", "ahb", "ptp";
610 compatible = "fsl,imx51-vpu", "cnm,codahx4";
611 reg = <0x83ff4000 0x1000>;
613 clocks = <&clks IMX5_CLK_VPU_REFERENCE_GATE>,
614 <&clks IMX5_CLK_VPU_GATE>;
615 clock-names = "per", "ahb";
620 sahara: crypto@83ff8000 {
621 compatible = "fsl,imx53-sahara", "fsl,imx51-sahara";
622 reg = <0x83ff8000 0x4000>;
623 interrupts = <19 20>;
624 clocks = <&clks IMX5_CLK_SAHARA_IPG_GATE>,
625 <&clks IMX5_CLK_SAHARA_IPG_GATE>;
626 clock-names = "ipg", "ahb";