]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 25 Mar 2020 07:25:44 +0000 (08:25 +0100)
commit86582de2b676a59627972a3d3cdee2119bba82aa
tree49025b5bb3fb91fa35bbbda6fe03d138f38c68d3
parent744a913402dad7c338051fa21549ff66dce0ee82
ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes

[ Upstream commit 3c9a416182687d393b6989ae3f4363b5b61faf3e ]

'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