]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: pxa: add dma pxamci nodes to pxa3xx
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 20 Jun 2015 08:17:28 +0000 (10:17 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 10 Jul 2015 20:29:22 +0000 (22:29 +0200)
Add the 3 possible mmc controllers on pxa3xx SoCs to the devicetree
description. Add the dma and clocks to the device-tree description of
pxa27x and pxa3xx at the same time.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/boot/dts/pxa2xx.dtsi
arch/arm/boot/dts/pxa3xx.dtsi

index 71a0cd7388d16f74c9d290e4645deef086997ab1..5e5af078b9b5433bda69d25931c52a1eb5a94b24 100644 (file)
@@ -128,6 +128,10 @@ mmc0: mmc@41100000 {
                        compatible = "marvell,pxa-mmc";
                        reg = <0x41100000 0x1000>;
                        interrupts = <23>;
+                       clocks = <&clks CLK_MMC>;
+                       dmas = <&pdma 21 3
+                               &pdma 22 3>;
+                       dma-names = "rx", "tx";
                        status = "disabled";
                };
 
index d90489b5d3fc5c43058bcf679ed7b11d91dbdb4b..29aeac5c3256d490c2cd9cfbe44af6995a187ad1 100644 (file)
@@ -53,6 +53,39 @@ gpio: gpio@40e00000 {
                        interrupt-controller;
                        #interrupt-cells = <0x2>;
                };
+
+               mmc0: mmc@41100000 {
+                       compatible = "marvell,pxa-mmc";
+                       reg = <0x41100000 0x1000>;
+                       interrupts = <23>;
+                       clocks = <&clks CLK_MMC>;
+                       dmas = <&pdma 21 3
+                               &pdma 22 3>;
+                       dma-names = "rx", "tx";
+                       status = "disabled";
+               };
+
+               mmc1: mmc@42000000 {
+                       compatible = "marvell,pxa-mmc";
+                       reg = <0x42000000 0x1000>;
+                       interrupts = <41>;
+                       clocks = <&clks CLK_MMC1>;
+                       dmas = <&pdma 93 3
+                               &pdma 94 3>;
+                       dma-names = "rx", "tx";
+                       status = "disabled";
+               };
+
+               mmc2: mmc@42500000 {
+                       compatible = "marvell,pxa-mmc";
+                       reg = <0x42500000 0x1000>;
+                       interrupts = <55>;
+                       clocks = <&clks CLK_MMC2>;
+                       dmas = <&pdma 46 3
+                               &pdma 47 3>;
+                       dma-names = "rx", "tx";
+                       status = "disabled";
+               };
        };
 
        clocks {