diff mbox

[RFC,07/13] arm64: dts: r8a7795: Add dma-ranges property in the /soc node

Message ID 20170926100605.2313-10-laurent.pinchart+renesas@ideasonboard.com (mailing list archive)
State RFC
Delegated to: Simon Horman
Headers show

Commit Message

Laurent Pinchart Sept. 26, 2017, 10:05 a.m. UTC
DMA address translation requires a dma-ranges property in bus nodes.
While some operating systems work around the absence of such property in
an attempt to implement compatibility with incorrect DT, the property is
nonetheless required.

Add the dma-ranges property to the /soc node that contains all on-SoC
peripherals. The bus supports 40-bit DMA addressing without any address
translation.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index c55003563f61..e6a008d9d5f8 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -222,6 +222,7 @@ 
 
 		#address-cells = <2>;
 		#size-cells = <2>;
+		dma-ranges = <0 0x00000000 0 0x00000000 0x100 0x00000000>;
 		ranges;
 
 		gic: interrupt-controller@f1010000 {