From: Ezequiel Garcia Date: Tue, 26 Mar 2013 10:16:27 +0000 (-0300) Subject: ARM: mvebu: Add thermal support to Armada 370 device tree X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a10837ba09fdb3ddb781dae2efc30dc5c4ec5cc1;p=linux-beck.git ARM: mvebu: Add thermal support to Armada 370 device tree This patch adds support for the thermal controller available in all Armada 370 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-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi index 8188d138020e..5831994a311b 100644 --- a/arch/arm/boot/dts/armada-370.dtsi +++ b/arch/arm/boot/dts/armada-370.dtsi @@ -153,5 +153,11 @@ clocks = <&coreclk 0>; }; + thermal@d0018300 { + compatible = "marvell,armada370-thermal"; + reg = <0xd0018300 0x4 + 0xd0018304 0x4>; + status = "okay"; + }; }; };