[PATCH 1/4] arm64: dts: imx91: Add tempsensor node
Peng Fan (OSS)
peng.fan at oss.nxp.com
Fri Dec 12 01:16:07 PST 2025
From: Peng Fan <peng.fan at nxp.com>
Add tempsensor node and trim sub-nodes in ocotp.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
arch/arm64/boot/dts/freescale/imx91.dtsi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx91.dtsi b/arch/arm64/boot/dts/freescale/imx91.dtsi
index 4d8300b2a7bca33bd0613db9e79d2fba6b40c052..c08db08ca9607b9780a77e215cdb5997e4daae4e 100644
--- a/arch/arm64/boot/dts/freescale/imx91.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx91.dtsi
@@ -6,6 +6,21 @@
#include "imx91-pinfunc.h"
#include "imx91_93_common.dtsi"
+&aips1 {
+ tempsense0: thermal-sensor at 44482000 {
+ compatible = "fsl,imx91-tmu";
+ reg = <0x44482000 0x1000>;
+ clocks = <&clk IMX93_CLK_TMC_GATE>;
+ interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "thr1", "thr2", "ready";
+ #thermal-sensor-cells = <0>;
+ nvmem-cells = <&tmu_trim1>, <&tmu_trim2>;
+ nvmem-cell-names = "trim1", "trim2";
+ };
+};
+
&clk {
compatible = "fsl,imx91-ccm";
};
@@ -69,3 +84,13 @@ &media_blk_ctrl {
clock-names = "apb", "axi", "nic", "disp", "cam",
"lcdif", "isi", "csi";
};
+
+&ocotp {
+ tmu_trim1: tmu-trim at a0 {
+ reg = <0xa0 0x4>;
+ };
+
+ tmu_trim2: tmu-trim at a4 {
+ reg = <0xa4 0x4>;
+ };
+};
--
2.37.1
More information about the linux-arm-kernel
mailing list