ARM: u300: augment device tree with DMA channels
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 2 May 2013 08:38:52 +0000 (10:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 11:54:27 +0000 (13:54 +0200)
This adds DMA channel assignments to the MMC/SD-controller
and the two UARTs already in the U300 device tree, as we
have now defined a way to obtain DMA channels from the
device tree.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-u300.dts

index ae51dd10942287fa8d3b519a639f9b37c535fe2c..6be932bee6de4f94b4f190123075cca5afac96b5 100644 (file)
                        reg = <0xc0013000 0x1000>;
                        interrupt-parent = <&vica>;
                        interrupts = <22>;
+                       dmas = <&dmac 17 &dmac 18>;
+                       dma-names = "tx", "rx";
                };
 
                uart1: serial@c0007000 {
                        reg = <0xc0007000 0x1000>;
                        interrupt-parent = <&vicb>;
                        interrupts = <20>;
+                       dmas = <&dmac 38 &dmac 39>;
+                       dma-names = "tx", "rx";
                };
 
                mmcsd: mmcsd@c0001000 {
                        cd-gpios = <&gpio 12 0x4>;
                        cd-inverted;
                        vmmc-supply = <&ab3100_ldo_g_reg>;
+                       dmas = <&dmac 14>;
+                       dma-names = "rx";
                };
        };
 };