1 From bb78d0cf5117517f1ed296ae71048945d9107675 Mon Sep 17 00:00:00 2001
2 From: Daniel Golle <daniel@makrotopia.org>
3 Date: Tue, 30 May 2023 22:12:34 +0200
4 Subject: [PATCH 17/19] arm64: dts: mt7986: add thermal-zones
6 Add thermal-zones to mt7986 devicetree.
8 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
9 Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
10 Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
11 Link: https://lore.kernel.org/r/20230530201235.22330-4-linux@fw-web.de
12 Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
14 arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 28 +++++++++++++++++++++++
15 1 file changed, 28 insertions(+)
17 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
18 +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
20 memory-region = <&wmcpu_emi>;
25 + cpu_thermal: cpu-thermal {
26 + polling-delay-passive = <1000>;
27 + polling-delay = <1000>;
28 + thermal-sensors = <&thermal 0>;
31 + cpu_trip_active_high: active-high {
32 + temperature = <115000>;
33 + hysteresis = <2000>;
37 + cpu_trip_active_low: active-low {
38 + temperature = <85000>;
39 + hysteresis = <2000>;
43 + cpu_trip_passive: passive {
44 + temperature = <40000>;
45 + hysteresis = <2000>;