ARM: dts: add thermal sensor support for i.mx6sl
authorAnson Huang <b20788@freescale.com>
Tue, 5 Aug 2014 09:34:52 +0000 (17:34 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 16 Sep 2014 02:25:51 +0000 (10:25 +0800)
Add thermal sensor support for i.MX6SL.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx6sl.dtsi

index c75800ca8b355fbdf2da2d3ee62e346078948811..505da9e1e50ac813f013fa831153c027e5ec7830 100644 (file)
                                };
                        };
 
+                       tempmon: tempmon {
+                               compatible = "fsl,imx6q-tempmon";
+                               interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
+                               fsl,tempmon = <&anatop>;
+                               fsl,tempmon-data = <&ocotp>;
+                               clocks = <&clks IMX6SL_CLK_PLL3_USB_OTG>;
+                       };
+
                        usbphy1: usbphy@020c9000 {
                                compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy";
                                reg = <0x020c9000 0x1000>;
                        };
 
                        ocotp: ocotp@021bc000 {
-                               compatible = "fsl,imx6sl-ocotp";
+                               compatible = "fsl,imx6sl-ocotp", "syscon";
                                reg = <0x021bc000 0x4000>;
                        };