ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 28 Jan 2020 06:41:47 +0000 (12:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2020 15:20:21 +0000 (17:20 +0200)
commit99f0be68c1c4961c26638a6cc2636d6253e0fad9
tree8c587682b4e10a9fdae273bbf1160a1008468442
parent30942cd983ab46ff0229a03050006a5133389064
ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes

[ Upstream commit 27f13774654ea6bd0b6fc9b97cce8d19e5735661 ]

'dma-ranges' in a PCI bridge node does correctly set dma masks for PCI
devices not described in the DT. Certain DRA7 platforms (e.g., DRA76)
has RAM above 32-bit boundary (accessible with LPAE config) though the
PCIe bridge will be able to access only 32-bits. Add 'dma-ranges'
property in PCIe RC DT nodes to indicate the host bridge can access
only 32 bits.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/dra7.dtsi