aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-03 10:31:50 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-05-27 08:07:12 -0400
commit498315b98144d12bf9e05db68822af8506e697bc (patch)
tree9dd376ca110070c52fd1c6c25423fc0bdcd16882
parentfbff01cce09fb79a04619a9da782db655fbd7df0 (diff)
ARM: ux500: Supply MMC 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>
-rw-r--r--arch/arm/boot/dts/dbx5x0.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi
index b95745bd8460..6198616ad4f0 100644
--- a/arch/arm/boot/dts/dbx5x0.dtsi
+++ b/arch/arm/boot/dts/dbx5x0.dtsi
@@ -604,6 +604,11 @@
604 compatible = "arm,pl18x", "arm,primecell"; 604 compatible = "arm,pl18x", "arm,primecell";
605 reg = <0x80126000 0x1000>; 605 reg = <0x80126000 0x1000>;
606 interrupts = <0 60 0x4>; 606 interrupts = <0 60 0x4>;
607
608 dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */
609 <&dma 29 0 0x0>; /* Logical - MemToDev */
610 dma-names = "rx", "tx";
611
607 status = "disabled"; 612 status = "disabled";
608 }; 613 };
609 614
@@ -611,6 +616,11 @@
611 compatible = "arm,pl18x", "arm,primecell"; 616 compatible = "arm,pl18x", "arm,primecell";
612 reg = <0x80118000 0x1000>; 617 reg = <0x80118000 0x1000>;
613 interrupts = <0 50 0x4>; 618 interrupts = <0 50 0x4>;
619
620 dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */
621 <&dma 32 0 0x0>; /* Logical - MemToDev */
622 dma-names = "rx", "tx";
623
614 status = "disabled"; 624 status = "disabled";
615 }; 625 };
616 626
@@ -618,6 +628,11 @@
618 compatible = "arm,pl18x", "arm,primecell"; 628 compatible = "arm,pl18x", "arm,primecell";
619 reg = <0x80005000 0x1000>; 629 reg = <0x80005000 0x1000>;
620 interrupts = <0 41 0x4>; 630 interrupts = <0 41 0x4>;
631
632 dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */
633 <&dma 28 0 0x0>; /* Logical - MemToDev */
634 dma-names = "rx", "tx";
635
621 status = "disabled"; 636 status = "disabled";
622 }; 637 };
623 638
@@ -632,6 +647,11 @@
632 compatible = "arm,pl18x", "arm,primecell"; 647 compatible = "arm,pl18x", "arm,primecell";
633 reg = <0x80114000 0x1000>; 648 reg = <0x80114000 0x1000>;
634 interrupts = <0 99 0x4>; 649 interrupts = <0 99 0x4>;
650
651 dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */
652 <&dma 42 0 0x0>; /* Logical - MemToDev */
653 dma-names = "rx", "tx";
654
635 status = "disabled"; 655 status = "disabled";
636 }; 656 };
637 657