aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-03-26 09:11:02 -0400
committerShawn Guo <shawn.guo@linaro.org>2013-04-01 04:30:04 -0400
commit38d6590f0f54ad85a7e841ef6c2c6f0fc8e2e832 (patch)
treeb35f2b387ee5270dbe14b4c5ad687ffd323644e9 /arch/arm/boot/dts
parent2835705c8a36667f862f27706cb6c84baa6ce636 (diff)
clk: mxs: get base address from device tree
Instead of using the static definitions, get clkctrl and digctl base addresses with mapping from device tree. Use macro on variable is not nice, but it's done here to save huge pointless diff stat. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts')
-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 27ce8070e187..8d37aa7430a3 100644
--- a/arch/arm/boot/dts/imx23.dtsi
+++ b/arch/arm/boot/dts/imx23.dtsi
@@ -295,6 +295,7 @@
295 }; 295 };
296 296
297 digctl@8001c000 { 297 digctl@8001c000 {
298 compatible = "fsl,imx23-digctl";
298 reg = <0x8001c000 2000>; 299 reg = <0x8001c000 2000>;
299 status = "disabled"; 300 status = "disabled";
300 }; 301 };
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index c2f10d381f03..d306ff55e30f 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -647,6 +647,7 @@
647 }; 647 };
648 648
649 digctl@8001c000 { 649 digctl@8001c000 {
650 compatible = "fsl,imx28-digctl";
650 reg = <0x8001c000 0x2000>; 651 reg = <0x8001c000 0x2000>;
651 interrupts = <89>; 652 interrupts = <89>;
652 status = "disabled"; 653 status = "disabled";