Explorar el Código

ARM: mvebu: Fix ranges entry on XP GP board

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>
Ezequiel Garcia hace 12 años
padre
commit
c6c003af0b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      arch/arm/boot/dts/armada-xp-gp.dts

+ 3 - 0
arch/arm/boot/dts/armada-xp-gp.dts

@@ -39,6 +39,9 @@
 	};
 	};
 
 
 	soc {
 	soc {
+		ranges = <0          0 0xd0000000 0x100000
+			  0xf0000000 0 0xf0000000 0x1000000>;
+
 		internal-regs {
 		internal-regs {
 			serial@12000 {
 			serial@12000 {
 				clock-frequency = <250000000>;
 				clock-frequency = <250000000>;