浏览代码

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 年之前
父节点
当前提交
ce2a6ca5c6
共有 1 个文件被更改,包括 6 次插入0 次删除
  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";
+};