mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
This commit is contained in:
parent
7fd28c6ab8
commit
64f9147d91
@ -96,4 +96,8 @@ wkup_vtm0: thermal@42050000 {
|
|||||||
power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
|
power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
|
||||||
#thermal-sensor-cells = <1>;
|
#thermal-sensor-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
thermal_zones: thermal-zones {
|
||||||
|
#include "k3-am654-industrial-thermal.dtsi"
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
45
arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi
Normal file
45
arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi
Normal file
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user