From ce2a6ca5c6ec5cb7137ae3fca18c7bc13a3dfb30 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Wed, 2 Nov 2016 10:18:24 +0000 Subject: [PATCH] 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 Signed-off-by: Eric Anholt --- arch/arm64/boot/dts/broadcom/bcm2837.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm2837.dtsi b/arch/arm64/boot/dts/broadcom/bcm2837.dtsi index c1f719b..19f2fe6 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"; +}; -- 2.7.4