From: Anson Huang <Anson.Huang@nxp.com>
Date: Thu, 11 Jun 2020 01:36:53 +0000 (+0800)
Subject: arm64: dts: imx8mp: Add fallback compatible to ocotp node
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f2fe45d503b2d19a83b2b6fd7d69ab85da83232f;p=linux.git

arm64: dts: imx8mp: Add fallback compatible to ocotp node

Add "fsl,imx8mm-ocotp" as fallback compatible of i.MX8MP ocotp
to support SoC serial_number read.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
---

diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index f6591c6932262..90bdef8447fa5 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -314,7 +314,7 @@
 			};
 
 			ocotp: efuse@30350000 {
-				compatible = "fsl,imx8mp-ocotp", "syscon";
+				compatible = "fsl,imx8mp-ocotp", "fsl,imx8mm-ocotp", "syscon";
 				reg = <0x30350000 0x10000>;
 				clocks = <&clk IMX8MP_CLK_OCOTP_ROOT>;
 				/* For nvmem subnodes */