ARM: ux500: Setup the DMA40 driver's DT node using the new DMA API
authorLee Jones <lee.jones@linaro.org>
Fri, 3 May 2013 14:31:48 +0000 (15:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 12:07:12 +0000 (14:07 +0200)
The new DMA is now available, so let's use it to setup ST-Ericsson's
DMA40 driver when Device Tree is enabled.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/dbx5x0.dtsi

index d1228e4..162c1fb 100644 (file)
                        interrupts = <0 23 0x4>;
                };
 
-               dma-controller@801C0000 {
-                       compatible = "stericsson,db8500-dma40",
-                                       "stericsson,dma40";
+               dma: dma-controller@801C0000 {
+                       compatible = "stericsson,db8500-dma40", "stericsson,dma40";
                        reg = <0x801C0000 0x1000 0x40010000 0x800>;
                        reg-names = "base", "lcpa";
                        interrupts = <0 25 0x4>;
+
+                       #dma-cells = <3>;
                };
 
                prcmu: prcmu@80157000 {