From: Ezequiel Garcia Date: Tue, 26 Mar 2013 10:16:26 +0000 (-0300) Subject: ARM: mvebu: Add thermal support to Armada XP device tree X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=693a56eaf487140adbe114248e3cd22002fc867d;p=deliverable%2Flinux.git ARM: mvebu: Add thermal support to Armada XP device tree This patch adds support for the thermal controller available in all Armada XP boards. This controller has two 4-byte registers: one to read the thermal sensor, the other for sensor initialization. Signed-off-by: Ezequiel Garcia Acked-by: Andrew Lunn Signed-off-by: Jason Cooper --- diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi index 1443949c165e..d85fa6aa69fd 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi @@ -151,5 +151,11 @@ status = "disabled"; }; + thermal@d00182b0 { + compatible = "marvell,armadaxp-thermal"; + reg = <0xd00182b0 0x4 + 0xd00184d0 0x4>; + status = "okay"; + }; }; };