aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx53.dtsi
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-11-21 10:43:05 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-22 03:15:26 -0500
commitf40f38d1dc8dee0c19b2102ea549b696116f61da (patch)
tree1e64da0e8c16188cc4fc6e43df1869b4a9cc875d /arch/arm/boot/dts/imx53.dtsi
parentd6aef84a48fa54ac606ae719fcd125199939f43d (diff)
ARM: mx5: Replace clk_register_clkdev with clock DT lookup
Similarly as it was done for mx6q, use a DT lookup in order to make maintainance task for the clock devices easier. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boot/dts/imx53.dtsi')
-rw-r--r--arch/arm/boot/dts/imx53.dtsi48
1 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
index 8317a1727118..3be27723e8ab 100644
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -92,6 +92,8 @@
92 compatible = "fsl,imx53-esdhc"; 92 compatible = "fsl,imx53-esdhc";
93 reg = <0x50004000 0x4000>; 93 reg = <0x50004000 0x4000>;
94 interrupts = <1>; 94 interrupts = <1>;
95 clocks = <&clks 44>, <&clks 0>, <&clks 71>;
96 clock-names = "ipg", "ahb", "per";
95 status = "disabled"; 97 status = "disabled";
96 }; 98 };
97 99
@@ -99,6 +101,8 @@
99 compatible = "fsl,imx53-esdhc"; 101 compatible = "fsl,imx53-esdhc";
100 reg = <0x50008000 0x4000>; 102 reg = <0x50008000 0x4000>;
101 interrupts = <2>; 103 interrupts = <2>;
104 clocks = <&clks 45>, <&clks 0>, <&clks 72>;
105 clock-names = "ipg", "ahb", "per";
102 status = "disabled"; 106 status = "disabled";
103 }; 107 };
104 108
@@ -106,6 +110,8 @@
106 compatible = "fsl,imx53-uart", "fsl,imx21-uart"; 110 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
107 reg = <0x5000c000 0x4000>; 111 reg = <0x5000c000 0x4000>;
108 interrupts = <33>; 112 interrupts = <33>;
113 clocks = <&clks 32>, <&clks 33>;
114 clock-names = "ipg", "per";
109 status = "disabled"; 115 status = "disabled";
110 }; 116 };
111 117
@@ -115,6 +121,8 @@
115 compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; 121 compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi";
116 reg = <0x50010000 0x4000>; 122 reg = <0x50010000 0x4000>;
117 interrupts = <36>; 123 interrupts = <36>;
124 clocks = <&clks 51>, <&clks 52>;
125 clock-names = "ipg", "per";
118 status = "disabled"; 126 status = "disabled";
119 }; 127 };
120 128
@@ -122,6 +130,7 @@
122 compatible = "fsl,imx53-ssi", "fsl,imx21-ssi"; 130 compatible = "fsl,imx53-ssi", "fsl,imx21-ssi";
123 reg = <0x50014000 0x4000>; 131 reg = <0x50014000 0x4000>;
124 interrupts = <30>; 132 interrupts = <30>;
133 clocks = <&clks 49>;
125 fsl,fifo-depth = <15>; 134 fsl,fifo-depth = <15>;
126 fsl,ssi-dma-events = <25 24 23 22>; /* TX0 RX0 TX1 RX1 */ 135 fsl,ssi-dma-events = <25 24 23 22>; /* TX0 RX0 TX1 RX1 */
127 status = "disabled"; 136 status = "disabled";
@@ -131,6 +140,8 @@
131 compatible = "fsl,imx53-esdhc"; 140 compatible = "fsl,imx53-esdhc";
132 reg = <0x50020000 0x4000>; 141 reg = <0x50020000 0x4000>;
133 interrupts = <3>; 142 interrupts = <3>;
143 clocks = <&clks 46>, <&clks 0>, <&clks 73>;
144 clock-names = "ipg", "ahb", "per";
134 status = "disabled"; 145 status = "disabled";
135 }; 146 };
136 147
@@ -138,6 +149,8 @@
138 compatible = "fsl,imx53-esdhc"; 149 compatible = "fsl,imx53-esdhc";
139 reg = <0x50024000 0x4000>; 150 reg = <0x50024000 0x4000>;
140 interrupts = <4>; 151 interrupts = <4>;
152 clocks = <&clks 47>, <&clks 0>, <&clks 74>;
153 clock-names = "ipg", "ahb", "per";
141 status = "disabled"; 154 status = "disabled";
142 }; 155 };
143 }; 156 };
@@ -214,12 +227,14 @@
214 compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; 227 compatible = "fsl,imx53-wdt", "fsl,imx21-wdt";
215 reg = <0x53f98000 0x4000>; 228 reg = <0x53f98000 0x4000>;
216 interrupts = <58>; 229 interrupts = <58>;
230 clocks = <&clks 0>;
217 }; 231 };
218 232
219 wdog@53f9c000 { /* WDOG2 */ 233 wdog@53f9c000 { /* WDOG2 */
220 compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; 234 compatible = "fsl,imx53-wdt", "fsl,imx21-wdt";
221 reg = <0x53f9c000 0x4000>; 235 reg = <0x53f9c000 0x4000>;
222 interrupts = <59>; 236 interrupts = <59>;
237 clocks = <&clks 0>;
223 status = "disabled"; 238 status = "disabled";
224 }; 239 };
225 240
@@ -382,6 +397,8 @@
382 compatible = "fsl,imx53-uart", "fsl,imx21-uart"; 397 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
383 reg = <0x53fbc000 0x4000>; 398 reg = <0x53fbc000 0x4000>;
384 interrupts = <31>; 399 interrupts = <31>;
400 clocks = <&clks 28>, <&clks 29>;
401 clock-names = "ipg", "per";
385 status = "disabled"; 402 status = "disabled";
386 }; 403 };
387 404
@@ -389,6 +406,8 @@
389 compatible = "fsl,imx53-uart", "fsl,imx21-uart"; 406 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
390 reg = <0x53fc0000 0x4000>; 407 reg = <0x53fc0000 0x4000>;
391 interrupts = <32>; 408 interrupts = <32>;
409 clocks = <&clks 30>, <&clks 31>;
410 clock-names = "ipg", "per";
392 status = "disabled"; 411 status = "disabled";
393 }; 412 };
394 413
@@ -396,6 +415,8 @@
396 compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan"; 415 compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan";
397 reg = <0x53fc8000 0x4000>; 416 reg = <0x53fc8000 0x4000>;
398 interrupts = <82>; 417 interrupts = <82>;
418 clocks = <&clks 158>, <&clks 157>;
419 clock-names = "ipg", "per";
399 status = "disabled"; 420 status = "disabled";
400 }; 421 };
401 422
@@ -403,9 +424,18 @@
403 compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan"; 424 compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan";
404 reg = <0x53fcc000 0x4000>; 425 reg = <0x53fcc000 0x4000>;
405 interrupts = <83>; 426 interrupts = <83>;
427 clocks = <&clks 158>, <&clks 157>;
428 clock-names = "ipg", "per";
406 status = "disabled"; 429 status = "disabled";
407 }; 430 };
408 431
432 clks: ccm@53fd4000{
433 compatible = "fsl,imx53-ccm";
434 reg = <0x53fd4000 0x4000>;
435 interrupts = <0 71 0x04 0 72 0x04>;
436 #clock-cells = <1>;
437 };
438
409 gpio5: gpio@53fdc000 { 439 gpio5: gpio@53fdc000 {
410 compatible = "fsl,imx53-gpio", "fsl,imx35-gpio"; 440 compatible = "fsl,imx53-gpio", "fsl,imx35-gpio";
411 reg = <0x53fdc000 0x4000>; 441 reg = <0x53fdc000 0x4000>;
@@ -442,6 +472,7 @@
442 compatible = "fsl,imx53-i2c", "fsl,imx21-i2c"; 472 compatible = "fsl,imx53-i2c", "fsl,imx21-i2c";
443 reg = <0x53fec000 0x4000>; 473 reg = <0x53fec000 0x4000>;
444 interrupts = <64>; 474 interrupts = <64>;
475 clocks = <&clks 88>;
445 status = "disabled"; 476 status = "disabled";
446 }; 477 };
447 478
@@ -449,6 +480,8 @@
449 compatible = "fsl,imx53-uart", "fsl,imx21-uart"; 480 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
450 reg = <0x53ff0000 0x4000>; 481 reg = <0x53ff0000 0x4000>;
451 interrupts = <13>; 482 interrupts = <13>;
483 clocks = <&clks 65>, <&clks 66>;
484 clock-names = "ipg", "per";
452 status = "disabled"; 485 status = "disabled";
453 }; 486 };
454 }; 487 };
@@ -464,6 +497,8 @@
464 compatible = "fsl,imx53-uart", "fsl,imx21-uart"; 497 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
465 reg = <0x63f90000 0x4000>; 498 reg = <0x63f90000 0x4000>;
466 interrupts = <86>; 499 interrupts = <86>;
500 clocks = <&clks 67>, <&clks 68>;
501 clock-names = "ipg", "per";
467 status = "disabled"; 502 status = "disabled";
468 }; 503 };
469 504
@@ -473,6 +508,8 @@
473 compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; 508 compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi";
474 reg = <0x63fac000 0x4000>; 509 reg = <0x63fac000 0x4000>;
475 interrupts = <37>; 510 interrupts = <37>;
511 clocks = <&clks 53>, <&clks 54>;
512 clock-names = "ipg", "per";
476 status = "disabled"; 513 status = "disabled";
477 }; 514 };
478 515
@@ -480,6 +517,8 @@
480 compatible = "fsl,imx53-sdma", "fsl,imx35-sdma"; 517 compatible = "fsl,imx53-sdma", "fsl,imx35-sdma";
481 reg = <0x63fb0000 0x4000>; 518 reg = <0x63fb0000 0x4000>;
482 interrupts = <6>; 519 interrupts = <6>;
520 clocks = <&clks 56>, <&clks 56>;
521 clock-names = "ipg", "ahb";
483 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; 522 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
484 }; 523 };
485 524
@@ -489,6 +528,8 @@
489 compatible = "fsl,imx53-cspi", "fsl,imx35-cspi"; 528 compatible = "fsl,imx53-cspi", "fsl,imx35-cspi";
490 reg = <0x63fc0000 0x4000>; 529 reg = <0x63fc0000 0x4000>;
491 interrupts = <38>; 530 interrupts = <38>;
531 clocks = <&clks 55>, <&clks 0>;
532 clock-names = "ipg", "per";
492 status = "disabled"; 533 status = "disabled";
493 }; 534 };
494 535
@@ -498,6 +539,7 @@
498 compatible = "fsl,imx53-i2c", "fsl,imx21-i2c"; 539 compatible = "fsl,imx53-i2c", "fsl,imx21-i2c";
499 reg = <0x63fc4000 0x4000>; 540 reg = <0x63fc4000 0x4000>;
500 interrupts = <63>; 541 interrupts = <63>;
542 clocks = <&clks 35>;
501 status = "disabled"; 543 status = "disabled";
502 }; 544 };
503 545
@@ -507,6 +549,7 @@
507 compatible = "fsl,imx53-i2c", "fsl,imx21-i2c"; 549 compatible = "fsl,imx53-i2c", "fsl,imx21-i2c";
508 reg = <0x63fc8000 0x4000>; 550 reg = <0x63fc8000 0x4000>;
509 interrupts = <62>; 551 interrupts = <62>;
552 clocks = <&clks 34>;
510 status = "disabled"; 553 status = "disabled";
511 }; 554 };
512 555
@@ -514,6 +557,7 @@
514 compatible = "fsl,imx53-ssi", "fsl,imx21-ssi"; 557 compatible = "fsl,imx53-ssi", "fsl,imx21-ssi";
515 reg = <0x63fcc000 0x4000>; 558 reg = <0x63fcc000 0x4000>;
516 interrupts = <29>; 559 interrupts = <29>;
560 clocks = <&clks 48>;
517 fsl,fifo-depth = <15>; 561 fsl,fifo-depth = <15>;
518 fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */ 562 fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */
519 status = "disabled"; 563 status = "disabled";
@@ -529,6 +573,7 @@
529 compatible = "fsl,imx53-nand"; 573 compatible = "fsl,imx53-nand";
530 reg = <0x63fdb000 0x1000 0xf7ff0000 0x10000>; 574 reg = <0x63fdb000 0x1000 0xf7ff0000 0x10000>;
531 interrupts = <8>; 575 interrupts = <8>;
576 clocks = <&clks 60>;
532 status = "disabled"; 577 status = "disabled";
533 }; 578 };
534 579
@@ -536,6 +581,7 @@
536 compatible = "fsl,imx53-ssi", "fsl,imx21-ssi"; 581 compatible = "fsl,imx53-ssi", "fsl,imx21-ssi";
537 reg = <0x63fe8000 0x4000>; 582 reg = <0x63fe8000 0x4000>;
538 interrupts = <96>; 583 interrupts = <96>;
584 clocks = <&clks 50>;
539 fsl,fifo-depth = <15>; 585 fsl,fifo-depth = <15>;
540 fsl,ssi-dma-events = <47 46 45 44>; /* TX0 RX0 TX1 RX1 */ 586 fsl,ssi-dma-events = <47 46 45 44>; /* TX0 RX0 TX1 RX1 */
541 status = "disabled"; 587 status = "disabled";
@@ -545,6 +591,8 @@
545 compatible = "fsl,imx53-fec", "fsl,imx25-fec"; 591 compatible = "fsl,imx53-fec", "fsl,imx25-fec";
546 reg = <0x63fec000 0x4000>; 592 reg = <0x63fec000 0x4000>;
547 interrupts = <87>; 593 interrupts = <87>;
594 clocks = <&clks 42>, <&clks 42>, <&clks 42>;
595 clock-names = "ipg", "ahb", "ptp";
548 status = "disabled"; 596 status = "disabled";
549 }; 597 };
550 }; 598 };