diff mbox series

ARM: dts: imx7ulp: add ocotp support

Message ID 1553236008-28407-1-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State Mainlined, archived
Commit 496456058b506233a88ca60dbedbcb0e681d2423
Headers show
Series ARM: dts: imx7ulp: add ocotp support | expand

Commit Message

Anson Huang March 22, 2019, 6:31 a.m. UTC
Add i.MX7ULP OCOTP support, its clock source is from
M4 BUS clock which is NOT available in Linux clock tree,
but M4 BUS clock is always ON when A7 (Linux) is alive,
so just use dummy clock here.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 arch/arm/boot/dts/imx7ulp.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Shawn Guo March 26, 2019, 9:01 a.m. UTC | #1
On Fri, Mar 22, 2019 at 06:31:56AM +0000, Anson Huang wrote:
> Add i.MX7ULP OCOTP support, its clock source is from
> M4 BUS clock which is NOT available in Linux clock tree,
> but M4 BUS clock is always ON when A7 (Linux) is alive,
> so just use dummy clock here.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index eb349fd..d6b7110 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/imx7ulp.dtsi
@@ -365,5 +365,11 @@ 
 			compatible = "fsl,imx7ulp-sim", "syscon";
 			reg = <0x410a3000 0x1000>;
 		};
+
+		ocotp: ocotp-ctrl@410a6000 {
+			compatible = "fsl,imx7ulp-ocotp", "syscon";
+			reg = <0x410a6000 0x4000>;
+			clocks = <&scg1 IMX7ULP_CLK_DUMMY>;
+		};
 	};
 };