arm: mvebu: fix the 'ranges' property to handle PCIe
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 16 May 2013 15:55:16 +0000 (17:55 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sun, 19 May 2013 20:25:17 +0000 (20:25 +0000)
commit8eed481e6fe2c28c2a579ada0c8ba5cbad45bf2c
tree5391aa535703af9e4cfde2b711674b8eb15acdb0
parentc689cbac25b4fce2f3d7de2e4dd6678caeebdcb8
arm: mvebu: fix the 'ranges' property to handle PCIe

Since 82a682676 ('ARM: dts: mvebu: Convert all the mvebu files to use
the range property') all the device nodes of Armada 370/XP are under a
common 'ranges' property that translates the device register addresses
into their absolute address, thanks to the base address of the
internal register space.

However, beyond just the register areas, there are also PCIe I/O and
memory regions, whose addresses should be properly translated. This
patch fixes the Armada 370 and XP ranges property to take PCIe into
account properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-370.dtsi