aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/dbx5x0.dtsi
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-03 10:31:49 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-05-27 08:07:12 -0400
commitfbff01cce09fb79a04619a9da782db655fbd7df0 (patch)
treed965baefd9a0c0b94fc4efaae9c4ed8275f0cfdb /arch/arm/boot/dts/dbx5x0.dtsi
parentba074aeceb531c63e0eed9839efc03fb3457d775 (diff)
ARM: ux500: Supply UART's DMA configuration via Device Tree
When requesting a channel, a DMA client needs to pass some pieces of information such as; request channel, device type, channel type and direction etc. Normally we do this in the form of platform data, but when DT is enabled we need to pass it using the driver's bindings instead. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/dbx5x0.dtsi')
-rw-r--r--arch/arm/boot/dts/dbx5x0.dtsi17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi
index 162c1fbfde4a..b95745bd8460 100644
--- a/arch/arm/boot/dts/dbx5x0.dtsi
+++ b/arch/arm/boot/dts/dbx5x0.dtsi
@@ -568,18 +568,35 @@
568 compatible = "arm,pl011", "arm,primecell"; 568 compatible = "arm,pl011", "arm,primecell";
569 reg = <0x80120000 0x1000>; 569 reg = <0x80120000 0x1000>;
570 interrupts = <0 11 0x4>; 570 interrupts = <0 11 0x4>;
571
572 dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */
573 <&dma 13 0 0x0>; /* Logical - MemToDev */
574 dma-names = "rx", "tx";
575
571 status = "disabled"; 576 status = "disabled";
572 }; 577 };
578
573 uart@80121000 { 579 uart@80121000 {
574 compatible = "arm,pl011", "arm,primecell"; 580 compatible = "arm,pl011", "arm,primecell";
575 reg = <0x80121000 0x1000>; 581 reg = <0x80121000 0x1000>;
576 interrupts = <0 19 0x4>; 582 interrupts = <0 19 0x4>;
583
584 dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */
585 <&dma 12 0 0x0>; /* Logical - MemToDev */
586 dma-names = "rx", "tx";
587
577 status = "disabled"; 588 status = "disabled";
578 }; 589 };
590
579 uart@80007000 { 591 uart@80007000 {
580 compatible = "arm,pl011", "arm,primecell"; 592 compatible = "arm,pl011", "arm,primecell";
581 reg = <0x80007000 0x1000>; 593 reg = <0x80007000 0x1000>;
582 interrupts = <0 26 0x4>; 594 interrupts = <0 26 0x4>;
595
596 dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */
597 <&dma 11 0 0x0>; /* Logical - MemToDev */
598 dma-names = "rx", "tx";
599
583 status = "disabled"; 600 status = "disabled";
584 }; 601 };
585 602