Commit de25b9bb authored by Anson Huang's avatar Anson Huang Committed by Shawn Guo

ARM: dts: imx7s: add temperature monitor support

Add i.MX7 temperature monitor support.
Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Acked-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b08d2fb5
...@@ -517,9 +517,29 @@ gpr: iomuxc-gpr@30340000 { ...@@ -517,9 +517,29 @@ gpr: iomuxc-gpr@30340000 {
}; };
ocotp: ocotp-ctrl@30350000 { ocotp: ocotp-ctrl@30350000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "fsl,imx7d-ocotp", "syscon"; compatible = "fsl,imx7d-ocotp", "syscon";
reg = <0x30350000 0x10000>; reg = <0x30350000 0x10000>;
clocks = <&clks IMX7D_OCOTP_CLK>; 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 { anatop: anatop@30360000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment