summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlain Volmat <avolmat@me.com>2021-03-31 22:42:27 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2021-08-06 09:30:02 +0200
commit11061d6cafcf8f77ec4591a91da1a89bef142637 (patch)
tree9c564a69925f64795882cf85c7db7b99438e33a4
parent7b22ec0c72f3be250c36a335e3f5d048f5f47b0e (diff)
ARM: dts: sti: add the thermal sensor node within stih418
The STiH418 embedded the same sensor as the STiH410. This commit adds the corresponding node, relying on the st_thermal driver. Signed-off-by: Alain Volmat <avolmat@me.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
-rw-r--r--arch/arm/boot/dts/stih418.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stih418.dtsi b/arch/arm/boot/dts/stih418.dtsi
index 39a249983496..97eda4392fbe 100644
--- a/arch/arm/boot/dts/stih418.dtsi
+++ b/arch/arm/boot/dts/stih418.dtsi
@@ -108,5 +108,13 @@
assigned-clock-parents = <&clk_s_c0_pll1 0>;
assigned-clock-rates = <200000000>;
};
+
+ thermal@91a0000 {
+ compatible = "st,stih407-thermal";
+ reg = <0x91a0000 0x28>;
+ clock-names = "thermal";
+ clocks = <&clk_sysin>;
+ interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;
+ };
};
};