ARM: dts: keystone: Use dma-ranges property
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 12 Feb 2014 17:20:16 +0000 (19:20 +0200)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 8 May 2014 19:24:51 +0000 (15:24 -0400)
The dma-ranges property has to be specified per bus and has format:
 < DMA addr > - Base DMA address for Bus (Bus format 32-bits)
 < CPU addr > - Corresponding base CPU address (CPU format 64-bits)
 < DMA range size > - Size of supported DMA range

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Olof Johansson <olof@lixom.net>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/boot/dts/keystone.dtsi

index e5a73ff..48d0eb8 100644 (file)
@@ -64,6 +64,7 @@
                compatible = "ti,keystone","simple-bus";
                interrupt-parent = <&gic>;
                ranges = <0x0 0x0 0x0 0xc0000000>;
+               dma-ranges = <0x80000000 0x8 0x00000000 0x80000000>;
 
                rstctrl: reset-controller {
                        compatible = "ti,keystone-reset";