Browse Source

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 <ezequiel.garcia@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Ezequiel Garcia 12 years ago
parent
commit
693a56eaf4
1 changed files with 6 additions and 0 deletions
  1. 6 0
      arch/arm/boot/dts/armada-xp.dtsi

+ 6 - 0
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";
+		};
 	};
 };