[PATCH 3.12 075/146] arm: dts: Fix missing device_type="memory" for ste-ccu8540

Jiri Slaby jslaby at suse.cz
Mon Jun 9 01:50:10 PDT 2014


From: Leif Lindholm <leif.lindholm at linaro.org>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

commit bfaed5abad998bfc88a66e6e71c7b08dcf82f04e upstream.

The current .dts for ste-ccu8540 lacks a 'device_type = "memory"' for
its memory node, relying on an old ppc quirk in order to discover its
memory. Fix the data so that all parsing code can handle it correctly.

Signed-off-by: Leif Lindholm <leif.lindholm at linaro.org>
Acked-by: Lee Jones <lee.jones at linaro.org>
Acked-by: Linus Walleij <linus.walleij at linaro.org>
Cc: linux-arm-kernel at lists.infradead.org
Cc: devicetree at vger.kernel.org
Cc: Mark Rutland <mark.rutland at arm.com>
Signed-off-by: Grant Likely <grant.likely at linaro.org>
Signed-off-by: Jiri Slaby <jslaby at suse.cz>
---
 arch/arm/boot/dts/ste-ccu8540.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/ste-ccu8540.dts b/arch/arm/boot/dts/ste-ccu8540.dts
index 7f3baf51a3a9..32dd55e5f4e6 100644
--- a/arch/arm/boot/dts/ste-ccu8540.dts
+++ b/arch/arm/boot/dts/ste-ccu8540.dts
@@ -18,6 +18,7 @@
 	compatible = "st-ericsson,ccu8540", "st-ericsson,u8540";
 
 	memory at 0 {
+		device_type = "memory";
 		reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>;
 	};
 
-- 
1.9.3




More information about the linux-arm-kernel mailing list