ARM: dts: imx: add tempmon node for imx6q thermal support
authorShawn Guo <shawn.guo@linaro.org>
Tue, 16 Jul 2013 13:16:36 +0000 (21:16 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 22 Aug 2013 15:29:27 +0000 (23:29 +0800)
Mark ocotp as a syscon node and add tempmon for imx6q thermal support.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl.dtsi

index 11dfe5b..7c18fa0 100644 (file)
                                };
                        };
 
+                       tempmon: tempmon {
+                               compatible = "fsl,imx6q-tempmon";
+                               interrupts = <0 49 0x04>;
+                               fsl,tempmon = <&anatop>;
+                               fsl,tempmon-data = <&ocotp>;
+                       };
+
                        usbphy1: usbphy@020c9000 {
                                compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
                                reg = <0x020c9000 0x1000>;
                                clocks = <&clks 196>;
                        };
 
-                       ocotp@021bc000 {
-                               compatible = "fsl,imx6q-ocotp";
+                       ocotp: ocotp@021bc000 {
+                               compatible = "fsl,imx6q-ocotp", "syscon";
                                reg = <0x021bc000 0x4000>;
                        };