linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: mvebu: Fix ranges entry on XP GP board
@ 2013-05-17 11:09 Ezequiel Garcia
  2013-05-17 11:09 ` [PATCH 2/2] ARM: mvebu: Add support for NOR flash device on Armada XP-DB board Ezequiel Garcia
  2013-05-17 16:55 ` [PATCH 1/2] ARM: mvebu: Fix ranges entry on XP GP board Jason Cooper
  0 siblings, 2 replies; 8+ messages in thread
From: Ezequiel Garcia @ 2013-05-17 11:09 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
This should be included in v3.10.

 arch/arm/boot/dts/armada-xp-gp.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/armada-xp-gp.dts b/arch/arm/boot/dts/armada-xp-gp.dts
index 26ad06f..3ee63d1 100644
--- a/arch/arm/boot/dts/armada-xp-gp.dts
+++ b/arch/arm/boot/dts/armada-xp-gp.dts
@@ -39,6 +39,9 @@
 	};
 
 	soc {
+		ranges = <0          0 0xd0000000 0x100000
+			  0xf0000000 0 0xf0000000 0x1000000>;
+
 		internal-regs {
 			serial at 12000 {
 				clock-frequency = <250000000>;
-- 
1.8.1.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-05-19 19:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17 11:09 [PATCH 1/2] ARM: mvebu: Fix ranges entry on XP GP board Ezequiel Garcia
2013-05-17 11:09 ` [PATCH 2/2] ARM: mvebu: Add support for NOR flash device on Armada XP-DB board Ezequiel Garcia
2013-05-17 16:56   ` Jason Cooper
2013-05-19  7:13     ` Thomas Petazzoni
2013-05-19 18:16       ` Jason Cooper
2013-05-19 18:45         ` Thomas Petazzoni
2013-05-19 19:36           ` Jason Cooper
2013-05-17 16:55 ` [PATCH 1/2] ARM: mvebu: Fix ranges entry on XP GP board Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).