diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-08-13 00:21:56 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2015-10-19 16:45:12 +0200 |
commit | a7be1e687731e2444f4ea261897b2e8448f5acbf (patch) | |
tree | 03609f5d1dce11a20af7e6741c2c9ab072c4a26a /arch/arm/boot/dts | |
parent | ARM: dts: imx7d-sdb: add eMMC5.0 support (diff) | |
download | linux-a7be1e687731e2444f4ea261897b2e8448f5acbf.tar.xz linux-a7be1e687731e2444f4ea261897b2e8448f5acbf.zip |
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: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/imx23.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx28.dtsi | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index b995333ea22b..1c6c07538a78 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi @@ -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 { diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index 4e073e854742..c5b57d4adade 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -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 { |