[PATCH 1/2] arm64: dts: st: add digital temperature sensor on stm32mp251

From: Mateusz Nowicki

Date: Thu Sep 24 2026 - 15:49:50 EST


The digital temperature sensor (DTS) of the STM32MP25 is a Moortec
MR75203 PVT controller with two temperature sensors, handled by the
mr75203 hwmon driver.

The reference manual does not document the process detector and
voltage monitor blocks that the controller reports and the driver maps.
They were found at offsets 0x180 and 0x400 on the STM32MP257F-DK.

Use the temperature coefficients from the STM32MP25 datasheet, as the
driver defaults read about 1 degree Celsius too high.

Signed-off-by: Mateusz Nowicki <mateusz.nowicki@xxxxxxxxxx>
---
arch/arm64/boot/dts/st/stm32mp251.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index 44938c036e30..d57ae0c5574d 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -1800,6 +1800,21 @@ package-otp@1e8 {
};
};

+ dts: thermal-sensor@44070000 {
+ compatible = "moortec,mr75203";
+ reg = <0x44070000 0x80>,
+ <0x44070080 0xc0>,
+ <0x44070180 0x80>,
+ <0x44070400 0x400>;
+ reg-names = "common", "ts", "pd", "vm";
+ clocks = <&rcc CK_KER_DTS>;
+ resets = <&rcc DTS_R>;
+ #thermal-sensor-cells = <1>;
+ moortec,ts-coeff-g = <58500>;
+ moortec,ts-coeff-h = <201200>;
+ moortec,ts-coeff-j = <0>;
+ };
+
hdp: pinctrl@44090000 {
compatible = "st,stm32mp251-hdp";
reg = <0x44090000 0x400>;
--
2.55.0