summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-03-29 09:59:28 +0800
committerShawn Guo <shawn.guo@linaro.org>2013-04-01 20:42:16 +0800
commit69d75a02db28c8bb04a4a70b1a577d571fc8e800 (patch)
tree2e721b28b48bae1ebad9026efb01e11cfa8500ad /arch/arm/boot
parent974a9af5320028bad0c4c17a67353edc4e5a1997 (diff)
downloadop-kernel-dev-69d75a02db28c8bb04a4a70b1a577d571fc8e800.zip
op-kernel-dev-69d75a02db28c8bb04a4a70b1a577d571fc8e800.tar.gz
ARM: mxs: get ocotp base address from device tree
Instead of using the static definitions, get ocotp base address from device tree with mapping. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/imx23.dtsi1
-rw-r--r--arch/arm/boot/dts/imx28.dtsi1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi
index 30b410b..ad2d793 100644
--- a/arch/arm/boot/dts/imx23.dtsi
+++ b/arch/arm/boot/dts/imx23.dtsi
@@ -322,6 +322,7 @@
};
ocotp@8002c000 {
+ compatible = "fsl,ocotp";
reg = <0x8002c000 0x2000>;
status = "disabled";
};
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 56d84bf..64af238 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -677,6 +677,7 @@
};
ocotp@8002c000 {
+ compatible = "fsl,ocotp";
reg = <0x8002c000 0x2000>;
status = "disabled";
};
OpenPOWER on IntegriCloud