ARM: dts: imx7ulp: add ocotp support
authorAnson Huang <anson.huang@nxp.com>
Fri, 22 Mar 2019 06:31:56 +0000 (06:31 +0000)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Mar 2019 09:01:02 +0000 (17:01 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7ulp.dtsi

index eb349fd7f6e4a046c1f3b92287884e3cd50f1719..d6b711011cba831348c6f4c2cb68f94ef788c1c9 100644 (file)
                        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>;
+               };
        };
 };