[PATCH 3.8 029/116] MIPS: DTS: Fix missing device_type="memory" property in memory nodes
Kamal Mostafa
kamal at canonical.com
Tue Jul 22 22:20:40 UTC 2014
3.8.13.27 -stable review patch. If anyone has any objections, please let me know.
------------------
From: Leif Lindholm <leif.lindholm at linaro.org>
commit 1d530fa42a317deca1c4a4780d18e2dbf316e0cb upstream.
A few platforms lack a 'device_type = "memory"' for their memory
nodes, relying on an old ppc quirk in order to discover its memory.
Add the missing data so that all parsing code can find memory nodes
correctly.
Signed-off-by: Leif Lindholm <leif.lindholm at linaro.org>
Acked-by: John Crispin <blogic at openwrt.org>
Signed-off-by: Grant Likely <grant.likely at linaro.org>
Cc: linux-mips at linux-mips.org
Cc: devicetree at vger.kernel.org
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: gaurav.minocha at alumni.ubc.ca
Patchwork: https://patchwork.linux-mips.org/patch/6989/
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
[ kamal: backport to 3.8-stable: only lantiq/dts/easy50712.dts ]
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
arch/mips/lantiq/dts/easy50712.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/lantiq/dts/easy50712.dts b/arch/mips/lantiq/dts/easy50712.dts
index 68c1731..de53a1b 100644
--- a/arch/mips/lantiq/dts/easy50712.dts
+++ b/arch/mips/lantiq/dts/easy50712.dts
@@ -8,6 +8,7 @@
};
memory at 0 {
+ device_type = "memory";
reg = <0x0 0x2000000>;
};
--
1.9.1
More information about the kernel-team
mailing list