ARM: mvebu: Fix ranges entry on XP GP board
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 17 May 2013 11:09:57 +0000 (08:09 -0300)
committerJason Cooper <jason@lakedaemon.net>
Fri, 17 May 2013 16:53:15 +0000 (16:53 +0000)
With the latest device tree reorganization which introduced the
'internal-reg' node, now the only region translated is the internal register's.
This makes the description of the hardware incomplete, for it lacks the
Device Bus childs address space.

In order to fix this, it's required to add a 'ranges' entry with a suitable
address space to map Device Bus childs, on a per-board basis.
This patch fixes the ranges property on the Armada XP GP board.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-xp-gp.dts

index 26ad06fc147ed78f9446bb5119a1e6e001867dba..3ee63d128e27cf27b3c8f6c5211bcf05b6dadc9e 100644 (file)
@@ -39,6 +39,9 @@
        };
 
        soc {
+               ranges = <0          0 0xd0000000 0x100000
+                         0xf0000000 0 0xf0000000 0x1000000>;
+
                internal-regs {
                        serial@12000 {
                                clock-frequency = <250000000>;