ARM: mvebu: Add thermal support to Armada 370 device tree
authorEzequiel Garcia <[email protected]>
Tue, 26 Mar 2013 10:16:27 +0000 (07:16 -0300)
committerJason Cooper <[email protected]>
Wed, 3 Apr 2013 02:47:37 +0000 (02:47 +0000)
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 <[email protected]>
Acked-by: Andrew Lunn <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
arch/arm/boot/dts/armada-370.dtsi

index 8188d138020edc57c88db0cb749b91bdf016a5cf..5831994a311b73a7be2e36393c3776ae3a800967 100644 (file)
                        clocks = <&coreclk 0>;
                };
 
+               thermal@d0018300 {
+                       compatible = "marvell,armada370-thermal";
+                       reg = <0xd0018300 0x4
+                              0xd0018304 0x4>;
+                       status = "okay";
+               };
        };
 };