powerpc/4xx: Device tree update for the 460ex DWC SATA
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Apr 2016 09:03:24 +0000 (12:03 +0300)
committerTejun Heo <tj@kernel.org>
Thu, 12 May 2016 14:54:22 +0000 (10:54 -0400)
Device tree update for the Applied micro processor 460ex on-chip SATA to use
"dmas" property.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/powerpc/boot/dts/canyonlands.dts

index 3dc75deafbb3482e252e6e11ae290cf7e3c92406..549c24c4c388311f773b063bfc0b4beed32928f2 100644 (file)
                                         /* DMA */ 0x2 &UIC0 0xc 0x4>;
                };
 
+               AHBDMA: dma@bffd0800 {
+                       compatible = "snps,dma-spear1340";
+                       reg = <4 0xbffd0800 0x400>;
+                       interrupt-parent = <&UIC3>;
+                       interrupts = <0x5 0x4>;
+                       #dma-cells = <3>;
+               };
+
                SATA0: sata@bffd1000 {
                        compatible = "amcc,sata-460ex";
-                       reg = <4 0xbffd1000 0x800 4 0xbffd0800 0x400>;
+                       reg = <4 0xbffd1000 0x800>;
                        interrupt-parent = <&UIC3>;
-                       interrupts = <0x0 0x4       /* SATA */
-                                     0x5 0x4>;     /* AHBDMA */
+                       interrupts = <0x0 0x4>;
+                       dmas = <&AHBDMA 0 1 0>;
+                       dma-names = "sata-dma";
                };
 
                POB0: opb {
This page took 0.029549 seconds and 5 git commands to generate.