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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 1 +
 1 file changed, 1 insertion(+)

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 {
-- 
Regards,

Laurent Pinchart




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux