aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi
diff options
context:
space:
mode:
authorGravatar Keerthy <j-keerthy@ti.com> 2020-04-07 11:21:16 +0530
committerGravatar Tero Kristo <t-kristo@ti.com> 2020-04-27 13:14:32 +0300
commit64f9147d914d355a9ca3bce5e9c901bd56d67e58 (patch)
treef7dc6eab25a1033c14caa93231207261462a9ebb /arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi
parentarm64: dts: ti: am65-wakeup: Add VTM node (diff)
downloadlinux-64f9147d914d355a9ca3bce5e9c901bd56d67e58.tar.gz
linux-64f9147d914d355a9ca3bce5e9c901bd56d67e58.tar.bz2
linux-64f9147d914d355a9ca3bce5e9c901bd56d67e58.zip
arm64: dts: ti: am654: Add thermal zones
The am654 SoC has three thermal zones namely MPU0, MPU1 and MCU zones. Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi')
-rw-r--r--arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi45
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi b/arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi
new file mode 100644
index 000000000000..cdc3d40c3f60
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi
@@ -0,0 +1,45 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include <dt-bindings/thermal/thermal.h>
+
+mpu0_thermal: mpu0_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <500>; /* milliseconds */
+ thermal-sensors = <&wkup_vtm0 0>;
+
+ trips {
+ mpu0_crit: mpu0_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
+ };
+};
+
+mpu1_thermal: mpu1_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <500>; /* milliseconds */
+ thermal-sensors = <&wkup_vtm0 1>;
+
+ trips {
+ mpu1_crit: mpu1_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
+ };
+};
+
+mcu_thermal: mcu_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <500>; /* milliseconds */
+ thermal-sensors = <&wkup_vtm0 2>;
+
+ trips {
+ mcu_crit: mcu_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
+ };
+};