ARM: dts: sti: add the thermal sensor node within stih418
authorAlain Volmat <avolmat@me.com>
Wed, 31 Mar 2021 20:42:27 +0000 (22:42 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 6 Aug 2021 07:30:02 +0000 (09:30 +0200)
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>
arch/arm/boot/dts/stih418.dtsi

index 39a2499..97eda43 100644 (file)
                        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>;
+               };
        };
 };