Browse Source

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>
Martin Sperl 8 years ago
parent
commit
ce2a6ca5c6
1 changed files with 6 additions and 0 deletions
  1. 6 0
      arch/arm64/boot/dts/broadcom/bcm2837.dtsi

+ 6 - 0
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";
+};