summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-03-20 12:11:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-20 12:14:04 +0100
commit865d5a14f992ff0282278fcf625d8b358cca408a (patch)
tree5a73f59849a86024f1fbac99f8918ce05a61eaa5 /arch
parentf28ea921819c6cc8bdd68614c5762c8afddbda58 (diff)
downloadbarebox-865d5a14f992ff0282278fcf625d8b358cca408a.tar.gz
barebox-865d5a14f992ff0282278fcf625d8b358cca408a.tar.xz
ARM: i.MX6: Add clock for ocotp
This clock is not specified in the devicetree node, thus is missing since we switched to of based clocks for i.MX6. Add this clock back as physbase clk to make the ocotp driver work again. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/clk-imx6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk-imx6.c b/arch/arm/mach-imx/clk-imx6.c
index dccf0a8c20..145b394d92 100644
--- a/arch/arm/mach-imx/clk-imx6.c
+++ b/arch/arm/mach-imx/clk-imx6.c
@@ -410,6 +410,8 @@ static int imx6_ccm_probe(struct device_d *dev)
clks[IMX6QDL_CLK_CKO1] = imx_clk_gate("cko1", "cko1_podf", base + 0x60, 7);
clks[IMX6QDL_CLK_CKO2] = imx_clk_gate("cko2", "cko2_podf", base + 0x60, 24);
+ clkdev_add_physbase(clks[IMX6QDL_CLK_IPG], MX6_OCOTP_BASE_ADDR, NULL);
+
if (IS_ENABLED(CONFIG_DRIVER_VIDEO_IMX_IPUV3))
imx6_add_video_clks(anatop_base, ccm_base);