summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/broadcom
diff options
context:
space:
mode:
authorMartin Sperl <kernel@martin.sperl.org>2016-11-02 10:18:24 +0000
committerEric Anholt <eric@anholt.net>2016-11-11 09:19:06 -0800
commitce2a6ca5c6ec5cb7137ae3fca18c7bc13a3dfb30 (patch)
tree3d1b7f97529b7f87093a6d480f6cd16da4e248e6 /arch/arm64/boot/dts/broadcom
parent6495c4d2d96d1a6a699c05126edb68c3b7d21758 (diff)
ARM64: bcm2835: dts: add thermal node to device-tree of bcm2837
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>
Diffstat (limited to 'arch/arm64/boot/dts/broadcom')
-rw-r--r--arch/arm64/boot/dts/broadcom/bcm2837.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/broadcom/bcm2837.dtsi b/arch/arm64/boot/dts/broadcom/bcm2837.dtsi
index c1f719b7097a..19f2fe620a21 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2837.dtsi
+++ b/arch/arm64/boot/dts/broadcom/bcm2837.dtsi
@@ -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";
+};