From: Martin Sperl Date: Wed, 2 Nov 2016 10:18:24 +0000 (+0000) Subject: ARM64: bcm2835: dts: add thermal node to device-tree of bcm2837 X-Git-Tag: v4.10-rc1~81^2~6^2^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce2a6ca5c6ec5cb7137ae3fca18c7bc13a3dfb30;p=karo-tx-linux.git 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 --- 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"; +};