diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-03-02 04:59:29 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-03-08 11:35:38 +0300 |
commit | de25b9bb4a40c571718180a870e6d3087da11f80 (patch) | |
tree | 9f6df1386ca6ca81ebe02ed917c61980c1f5312d /arch/arm | |
parent | b08d2fb5a6b15bd26b71b739abc68afd5ecd916b (diff) | |
download | linux-de25b9bb4a40c571718180a870e6d3087da11f80.tar.xz |
ARM: dts: imx7s: add temperature monitor support
Add i.MX7 temperature monitor support.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/imx7s.dtsi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index fec2af9de039..cd6964f658c0 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -517,9 +517,29 @@ }; ocotp: ocotp-ctrl@30350000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx7d-ocotp", "syscon"; reg = <0x30350000 0x10000>; clocks = <&clks IMX7D_OCOTP_CLK>; + + tempmon_calib: calib@3c { + reg = <0x3c 0x4>; + }; + + tempmon_temp_grade: temp-grade@10 { + reg = <0x10 0x4>; + }; + }; + + tempmon: tempmon { + compatible = "fsl,imx7d-tempmon"; + interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; + fsl,tempmon =<&anatop>; + nvmem-cells = <&tempmon_calib>, + <&tempmon_temp_grade>; + nvmem-cell-names = "calib", "temp_grade"; + clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>; }; anatop: anatop@30360000 { |