]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mvebu: Add thermal support to Armada XP device tree
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 26 Mar 2013 10:16:26 +0000 (07:16 -0300)
committerJason Cooper <jason@lakedaemon.net>
Wed, 3 Apr 2013 02:47:36 +0000 (02:47 +0000)
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>
arch/arm/boot/dts/armada-xp.dtsi

index 1443949c165ea8fa787fe798f687a63a116f2626..d85fa6aa69fd205cc88ef1fd457c58761bdd3357 100644 (file)
                        status = "disabled";
                };
 
+               thermal@d00182b0 {
+                       compatible = "marvell,armadaxp-thermal";
+                       reg = <0xd00182b0 0x4
+                              0xd00184d0 0x4>;
+                       status = "okay";
+               };
        };
 };