Commit 64f9147d authored by Keerthy's avatar Keerthy Committed by Tero Kristo
Browse files

arm64: dts: ti: am654: Add thermal zones



The am654 SoC has three thermal zones namely MPU0, MPU1 and MCU
zones.

Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Reviewed-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
parent 7fd28c6a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -96,4 +96,8 @@
		power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
		#thermal-sensor-cells = <1>;
	};

	thermal_zones: thermal-zones {
		#include "k3-am654-industrial-thermal.dtsi"
	};
};
+45 −0
Original line number Diff line number Diff line
// 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";
		};
	};
};