ARM64: bcm2835: dts: add thermal node to device-tree of bcm2837
authorMartin Sperl <kernel@martin.sperl.org>
Wed, 2 Nov 2016 10:18:24 +0000 (10:18 +0000)
committerEric Anholt <eric@anholt.net>
Fri, 11 Nov 2016 17:19:06 +0000 (09:19 -0800)
Add the node for the thermal sensor of the bcm2837-soc
to the device tree.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
arch/arm64/boot/dts/broadcom/bcm2837.dtsi

index c1f719b..19f2fe6 100644 (file)
@@ -74,3 +74,9 @@
        interrupt-parent = <&local_intc>;
        interrupts = <8>;
 };
+
+/* enable thermal sensor with the correct compatible property set */
+&thermal {
+       compatible = "brcm,bcm2837-thermal";
+       status = "okay";
+};