Commit a7be1e68 authored by Stefan Wahren's avatar Stefan Wahren Committed by Shawn Guo
Browse files

ARM: mxs: enable ocotp for i.MX23 and i.MX28



This patch enables On Chip OTP support for i.MX23 and i.MX28 SoCs,
but keeps the old compatible string.

Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent f651d781
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -383,9 +383,11 @@
			};

			ocotp@8002c000 {
				compatible = "fsl,ocotp";
				compatible = "fsl,imx23-ocotp", "fsl,ocotp";
				#address-cells = <1>;
				#size-cells = <1>;
				reg = <0x8002c000 0x2000>;
				status = "disabled";
				clocks = <&clks 15>;
			};

			axi-ahb@8002e000 {
+4 −2
Original line number Diff line number Diff line
@@ -936,9 +936,11 @@
			};

			ocotp: ocotp@8002c000 {
				compatible = "fsl,ocotp";
				compatible = "fsl,imx28-ocotp", "fsl,ocotp";
				#address-cells = <1>;
				#size-cells = <1>;
				reg = <0x8002c000 0x2000>;
				status = "disabled";
				clocks = <&clks 25>;
			};

			axi-ahb@8002e000 {