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>
This commit is contained in:
Shawn Guo
2013-03-26 21:11:02 +08:00
父節點 2835705c8a
當前提交 38d6590f0f
共有 4 個文件被更改,包括 37 次插入16 次删除

查看文件

@@ -295,6 +295,7 @@
};
digctl@8001c000 {
compatible = "fsl,imx23-digctl";
reg = <0x8001c000 2000>;
status = "disabled";
};