summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm2835.dtsi
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2017-03-31 23:03:04 +0300
committerEric Anholt <eric@anholt.net>2017-05-16 01:43:35 +0300
commit0fe4d2181cc4cb3eba303c0e03f878d2558d0f3a (patch)
tree81375f3794d7d6bb9b850405753736df670a6c08 /arch/arm/boot/dts/bcm2835.dtsi
parent072f58af1dfbc39f8daf6be170d90c2465df4771 (diff)
downloadlinux-0fe4d2181cc4cb3eba303c0e03f878d2558d0f3a.tar.xz
ARM: dts: bcm283x: Add CPU thermal zone with 1 trip point
As suggested by Eduardo Valentin this adds the thermal zone for the bcm2835 SoC with its single thermal sensor. We start with the criticial trip point and leave the cooling devices empty since we don't have any at the moment. Since the coefficients could vary depending on the SoC we need to define them separate. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm2835.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
index 0890d97e674d..659b6e9513b1 100644
--- a/arch/arm/boot/dts/bcm2835.dtsi
+++ b/arch/arm/boot/dts/bcm2835.dtsi
@@ -24,6 +24,10 @@
};
};
+&cpu_thermal {
+ coefficients = <(-538) 407000>;
+};
+
/* enable thermal sensor with the correct compatible property set */
&thermal {
compatible = "brcm,bcm2835-thermal";