[PATCH 4/4] arm64: dts: nuvoton: ma35d1: Add thermal zone

From: Zi-Yu Chen

Date: Tue Nov 17 2026 - 01:06:22 EST


Describe the SYS block as the thermal sensor provider and add a thermal
zone with a critical trip point for the SoC.

Signed-off-by: Zi-Yu Chen <zychennvt@xxxxxxxxx>
---
arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi b/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi
index 7228ad4735b5..986f3cc4176b 100644
--- a/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi
+++ b/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi
@@ -63,6 +63,21 @@ gic: interrupt-controller@50801000 {
IRQ_TYPE_LEVEL_HIGH)>;
};

+ thermal-zones {
+ soc-thermal {
+ polling-delay = <1000>;
+ thermal-sensors = <&sys>;
+
+ trips {
+ soc_crit: soc-crit {
+ temperature = <125000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
+ };
+ };
+
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
@@ -86,6 +101,7 @@ sys: system-management@40460000 {
compatible = "nuvoton,ma35d1-reset", "syscon";
reg = <0x0 0x40460000 0x0 0x200>;
#reset-cells = <1>;
+ #thermal-sensor-cells = <0>;
};

clk: clock-controller@40460200 {
--
2.34.1