clk: mxs: get base address from device tree
authorShawn Guo <shawn.guo@linaro.org>
Tue, 26 Mar 2013 13:11:02 +0000 (21:11 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 1 Apr 2013 08:30:04 +0000 (16:30 +0800)
commit38d6590f0f54ad85a7e841ef6c2c6f0fc8e2e832
treeb35f2b387ee5270dbe14b4c5ad687ffd323644e9
parent2835705c8a36667f862f27706cb6c84baa6ce636
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>
arch/arm/boot/dts/imx23.dtsi
arch/arm/boot/dts/imx28.dtsi
drivers/clk/mxs/clk-imx23.c
drivers/clk/mxs/clk-imx28.c