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 "skeleton.dtsi"
14 #include "imx51-pinfunc.h"
15 #include <dt-bindings/clock/imx5-clock.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
41 tzic: tz-interrupt-controller@e0000000 {
42 compatible = "fsl,imx51-tzic", "fsl,tzic";
44 #interrupt-cells = <1>;
45 reg = <0xe0000000 0x4000>;
53 compatible = "fsl,imx-ckil", "fixed-clock";
55 clock-frequency = <32768>;
59 compatible = "fsl,imx-ckih1", "fixed-clock";
61 clock-frequency = <0>;
65 compatible = "fsl,imx-ckih2", "fixed-clock";
67 clock-frequency = <0>;
71 compatible = "fsl,imx-osc", "fixed-clock";
73 clock-frequency = <24000000>;
82 compatible = "arm,cortex-a8";
84 clock-latency = <62500>;
85 clocks = <&clks IMX5_CLK_CPU_PODF>;
92 voltage-tolerance = <5>;
99 compatible = "simple-bus";
102 compatible = "usb-nop-xceiv";
104 clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
105 clock-names = "main_clk";
110 compatible = "fsl,imx-display-subsystem";
111 ports = <&ipu_di0>, <&ipu_di1>;
115 #address-cells = <1>;
117 compatible = "simple-bus";
118 interrupt-parent = <&tzic>;
121 iram: iram@1ffe0000 {
122 compatible = "mmio-sram";
123 reg = <0x1ffe0000 0x20000>;
127 #address-cells = <1>;
129 compatible = "fsl,imx51-ipu";
130 reg = <0x40000000 0x20000000>;
131 interrupts = <11 10>;
132 clocks = <&clks IMX5_CLK_IPU_GATE>,
133 <&clks IMX5_CLK_IPU_DI0_GATE>,
134 <&clks IMX5_CLK_IPU_DI1_GATE>;
135 clock-names = "bus", "di0", "di1";
141 ipu_di0_disp0: endpoint {
148 ipu_di1_disp1: endpoint {
153 aips@70000000 { /* AIPS1 */
154 compatible = "fsl,aips-bus", "simple-bus";
155 #address-cells = <1>;
157 reg = <0x70000000 0x10000000>;
161 compatible = "fsl,spba-bus", "simple-bus";
162 #address-cells = <1>;
164 reg = <0x70000000 0x40000>;
167 esdhc1: esdhc@70004000 {
168 compatible = "fsl,imx51-esdhc";
169 reg = <0x70004000 0x4000>;
171 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
172 <&clks IMX5_CLK_DUMMY>,
173 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
174 clock-names = "ipg", "ahb", "per";
178 esdhc2: esdhc@70008000 {
179 compatible = "fsl,imx51-esdhc";
180 reg = <0x70008000 0x4000>;
182 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
183 <&clks IMX5_CLK_DUMMY>,
184 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
185 clock-names = "ipg", "ahb", "per";
190 uart3: serial@7000c000 {
191 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
192 reg = <0x7000c000 0x4000>;
194 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
195 <&clks IMX5_CLK_UART3_PER_GATE>;
196 clock-names = "ipg", "per";
200 ecspi1: ecspi@70010000 {
201 #address-cells = <1>;
203 compatible = "fsl,imx51-ecspi";
204 reg = <0x70010000 0x4000>;
206 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
207 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
208 clock-names = "ipg", "per";
213 #sound-dai-cells = <0>;
214 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
215 reg = <0x70014000 0x4000>;
217 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>,
218 <&clks IMX5_CLK_SSI2_ROOT_GATE>;
219 clock-names = "ipg", "baud";
220 dmas = <&sdma 24 1 0>,
222 dma-names = "rx", "tx";
223 fsl,fifo-depth = <15>;
227 esdhc3: esdhc@70020000 {
228 compatible = "fsl,imx51-esdhc";
229 reg = <0x70020000 0x4000>;
231 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
232 <&clks IMX5_CLK_DUMMY>,
233 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
234 clock-names = "ipg", "ahb", "per";
239 esdhc4: esdhc@70024000 {
240 compatible = "fsl,imx51-esdhc";
241 reg = <0x70024000 0x4000>;
243 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
244 <&clks IMX5_CLK_DUMMY>,
245 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
246 clock-names = "ipg", "ahb", "per";
252 usbotg: usb@73f80000 {
253 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
254 reg = <0x73f80000 0x0200>;
256 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
257 fsl,usbmisc = <&usbmisc 0>;
258 fsl,usbphy = <&usbphy0>;
262 usbh1: usb@73f80200 {
263 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
264 reg = <0x73f80200 0x0200>;
266 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
267 fsl,usbmisc = <&usbmisc 1>;
272 usbh2: usb@73f80400 {
273 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
274 reg = <0x73f80400 0x0200>;
276 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
277 fsl,usbmisc = <&usbmisc 2>;
282 usbh3: usb@73f80600 {
283 compatible = "fsl,imx51-usb", "fsl,imx27-usb";
284 reg = <0x73f80600 0x0200>;
286 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
287 fsl,usbmisc = <&usbmisc 3>;
292 usbmisc: usbmisc@73f80800 {
294 compatible = "fsl,imx51-usbmisc";
295 reg = <0x73f80800 0x200>;
296 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
299 gpio1: gpio@73f84000 {
300 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
301 reg = <0x73f84000 0x4000>;
302 interrupts = <50 51>;
305 interrupt-controller;
306 #interrupt-cells = <2>;
309 gpio2: gpio@73f88000 {
310 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
311 reg = <0x73f88000 0x4000>;
312 interrupts = <52 53>;
315 interrupt-controller;
316 #interrupt-cells = <2>;
319 gpio3: gpio@73f8c000 {
320 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
321 reg = <0x73f8c000 0x4000>;
322 interrupts = <54 55>;
325 interrupt-controller;
326 #interrupt-cells = <2>;
329 gpio4: gpio@73f90000 {
330 compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
331 reg = <0x73f90000 0x4000>;
332 interrupts = <56 57>;
335 interrupt-controller;
336 #interrupt-cells = <2>;
340 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
341 reg = <0x73f94000 0x4000>;
343 clocks = <&clks IMX5_CLK_DUMMY>;
347 wdog1: wdog@73f98000 {
348 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
349 reg = <0x73f98000 0x4000>;
351 clocks = <&clks IMX5_CLK_DUMMY>;
354 wdog2: wdog@73f9c000 {
355 compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
356 reg = <0x73f9c000 0x4000>;
358 clocks = <&clks IMX5_CLK_DUMMY>;
362 gpt: timer@73fa0000 {
363 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
364 reg = <0x73fa0000 0x4000>;
366 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
367 <&clks IMX5_CLK_GPT_HF_GATE>;
368 clock-names = "ipg", "per";
371 iomuxc: iomuxc@73fa8000 {
372 compatible = "fsl,imx51-iomuxc";
373 reg = <0x73fa8000 0x4000>;
378 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
379 reg = <0x73fb4000 0x4000>;
380 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
381 <&clks IMX5_CLK_PWM1_HF_GATE>;
382 clock-names = "ipg", "per";
388 compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
389 reg = <0x73fb8000 0x4000>;
390 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
391 <&clks IMX5_CLK_PWM2_HF_GATE>;
392 clock-names = "ipg", "per";
396 uart1: serial@73fbc000 {
397 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
398 reg = <0x73fbc000 0x4000>;
400 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
401 <&clks IMX5_CLK_UART1_PER_GATE>;
402 clock-names = "ipg", "per";
406 uart2: serial@73fc0000 {
407 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
408 reg = <0x73fc0000 0x4000>;
410 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
411 <&clks IMX5_CLK_UART2_PER_GATE>;
412 clock-names = "ipg", "per";
417 compatible = "fsl,imx51-src";
418 reg = <0x73fd0000 0x4000>;
423 compatible = "fsl,imx51-ccm";
424 reg = <0x73fd4000 0x4000>;
425 interrupts = <0 71 0x04 0 72 0x04>;
430 aips@80000000 { /* AIPS2 */
431 compatible = "fsl,aips-bus", "simple-bus";
432 #address-cells = <1>;
434 reg = <0x80000000 0x10000000>;
438 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
439 reg = <0x83f98000 0x4000>;
441 clocks = <&clks IMX5_CLK_IIM_GATE>;
444 owire: owire@83fa4000 {
445 compatible = "fsl,imx51-owire", "fsl,imx21-owire";
446 reg = <0x83fa4000 0x4000>;
448 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
452 ecspi2: ecspi@83fac000 {
453 #address-cells = <1>;
455 compatible = "fsl,imx51-ecspi";
456 reg = <0x83fac000 0x4000>;
458 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
459 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
460 clock-names = "ipg", "per";
464 sdma: sdma@83fb0000 {
465 compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
466 reg = <0x83fb0000 0x4000>;
468 clocks = <&clks IMX5_CLK_SDMA_GATE>,
469 <&clks IMX5_CLK_SDMA_GATE>;
470 clock-names = "ipg", "ahb";
472 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
475 cspi: cspi@83fc0000 {
476 #address-cells = <1>;
478 compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
479 reg = <0x83fc0000 0x4000>;
481 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
482 <&clks IMX5_CLK_CSPI_IPG_GATE>;
483 clock-names = "ipg", "per";
488 #address-cells = <1>;
490 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
491 reg = <0x83fc4000 0x4000>;
493 clocks = <&clks IMX5_CLK_I2C2_GATE>;
498 #address-cells = <1>;
500 compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
501 reg = <0x83fc8000 0x4000>;
503 clocks = <&clks IMX5_CLK_I2C1_GATE>;
508 #sound-dai-cells = <0>;
509 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
510 reg = <0x83fcc000 0x4000>;
512 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>,
513 <&clks IMX5_CLK_SSI1_ROOT_GATE>;
514 clock-names = "ipg", "baud";
515 dmas = <&sdma 28 0 0>,
517 dma-names = "rx", "tx";
518 fsl,fifo-depth = <15>;
522 audmux: audmux@83fd0000 {
523 compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
524 reg = <0x83fd0000 0x4000>;
525 clocks = <&clks IMX5_CLK_DUMMY>;
526 clock-names = "audmux";
530 weim: weim@83fda000 {
531 #address-cells = <2>;
533 compatible = "fsl,imx51-weim";
534 reg = <0x83fda000 0x1000>;
535 clocks = <&clks IMX5_CLK_EMI_SLOW_GATE>;
537 0 0 0xb0000000 0x08000000
538 1 0 0xb8000000 0x08000000
539 2 0 0xc0000000 0x08000000
540 3 0 0xc8000000 0x04000000
541 4 0 0xcc000000 0x02000000
542 5 0 0xce000000 0x02000000
548 #address-cells = <1>;
550 compatible = "fsl,imx51-nand";
551 reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
553 clocks = <&clks IMX5_CLK_NFC_GATE>;
557 pata: pata@83fe0000 {
558 compatible = "fsl,imx51-pata", "fsl,imx27-pata";
559 reg = <0x83fe0000 0x4000>;
561 clocks = <&clks IMX5_CLK_PATA_GATE>;
566 #sound-dai-cells = <0>;
567 compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
568 reg = <0x83fe8000 0x4000>;
570 clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>,
571 <&clks IMX5_CLK_SSI3_ROOT_GATE>;
572 clock-names = "ipg", "baud";
573 dmas = <&sdma 46 0 0>,
575 dma-names = "rx", "tx";
576 fsl,fifo-depth = <15>;
580 fec: ethernet@83fec000 {
581 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
582 reg = <0x83fec000 0x4000>;
584 clocks = <&clks IMX5_CLK_FEC_GATE>,
585 <&clks IMX5_CLK_FEC_GATE>,
586 <&clks IMX5_CLK_FEC_GATE>;
587 clock-names = "ipg", "ahb", "ptp";