This seems to work fine with the existing imx thermal driver on both 6ul
and 6ull. It was just missing in dts.

Signed-off-by: Leonard Crestez <leonard.cres...@nxp.com>
---
 arch/arm/boot/dts/imx6ul.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index b9d7d2d..cda5e9e 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -597,6 +597,14 @@
                                fsl,anatop = <&anatop>;
                        };
 
+                       tempmon: tempmon {
+                               compatible = "fsl,imx6ul-tempmon", 
"fsl,imx6sx-tempmon";
+                               interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
+                               fsl,tempmon = <&anatop>;
+                               fsl,tempmon-data = <&ocotp>;
+                               clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>;
+                       };
+
                        snvs: snvs@020cc000 {
                                compatible = "fsl,sec-v4.0-mon", "syscon", 
"simple-mfd";
                                reg = <0x020cc000 0x4000>;
-- 
2.7.4

Reply via email to