2019-03-22 06:33:33

by Anson Huang

[permalink] [raw]
Subject: [PATCH] ARM: dts: imx7ulp: add ocotp support

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 <[email protected]>
---
arch/arm/boot/dts/imx7ulp.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

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>;
+ };
};
};
--
2.7.4



2019-03-26 09:03:58

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx7ulp: add ocotp support

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 <[email protected]>

Applied, thanks.