summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/broadcom/bcm2837.dtsi
diff options
context:
space:
mode:
authorMartin Sperl2016-11-02 11:18:24 +0100
committerEric Anholt2016-11-11 18:19:06 +0100
commitce2a6ca5c6ec5cb7137ae3fca18c7bc13a3dfb30 (patch)
tree3d1b7f97529b7f87093a6d480f6cd16da4e248e6 /arch/arm64/boot/dts/broadcom/bcm2837.dtsi
parentMerge branch 'bcm2835-dt-next' into bcm2835-dt-64-next (diff)
downloadkernel-qcow2-linux-ce2a6ca5c6ec5cb7137ae3fca18c7bc13a3dfb30.tar.gz
kernel-qcow2-linux-ce2a6ca5c6ec5cb7137ae3fca18c7bc13a3dfb30.tar.xz
kernel-qcow2-linux-ce2a6ca5c6ec5cb7137ae3fca18c7bc13a3dfb30.zip
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/bcm2837.dtsi')
-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";
+};