Skip to contentSkip to conversation

ARM: mvebu: Add a ranges entry to translate devbus childs

PATCH New Ezequiel Garcia 2 participants 2 messages May 13, 2013 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mvebu: Add a ranges entry to translate devbus childs

From: Ezequiel Garcia <[email protected]>

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.

---
Applies on v3.10-rc1. This is meant for v3.10.

 arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +3 -0
index f14d36c..46b7850 100644
@@ -27,6 +27,9 @@
 	};
 
 	soc {
+		ranges = <0          0 0xd0000000 0x100000
+			  0xf0000000 0 0xf0000000 0x8000000>;
+
 		internal-regs {
 			serial at 12000 {
 				clock-frequency = <250000000>;
Signature · 1 line
1.8.1.5
Applied
#1 lore raw

PATCH 1/1 ARM: mvebu: Add a ranges entry to translate devbus childs

Quoted 10 lines · Ezequiel Garcia

From: Ezequiel Garcia <[email protected]>

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.

Quoted 6 lines

---
Applies on v3.10-rc1. This is meant for v3.10.

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

Applied to mvebu/fixes

thx,

Jason.