diff options
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/clk-imx51-imx53.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clk-imx51-imx53.c b/arch/arm/mach-imx/clk-imx51-imx53.c index fb7cb841b64c..0f39f8c93b94 100644 --- a/arch/arm/mach-imx/clk-imx51-imx53.c +++ b/arch/arm/mach-imx/clk-imx51-imx53.c | |||
@@ -83,6 +83,7 @@ enum imx5_clks { | |||
83 | ssi2_root_gate, ssi3_root_gate, ssi_ext1_gate, ssi_ext2_gate, | 83 | ssi2_root_gate, ssi3_root_gate, ssi_ext1_gate, ssi_ext2_gate, |
84 | epit1_ipg_gate, epit1_hf_gate, epit2_ipg_gate, epit2_hf_gate, | 84 | epit1_ipg_gate, epit1_hf_gate, epit2_ipg_gate, epit2_hf_gate, |
85 | can_sel, can1_serial_gate, can1_ipg_gate, | 85 | can_sel, can1_serial_gate, can1_ipg_gate, |
86 | owire_gate, | ||
86 | clk_max | 87 | clk_max |
87 | }; | 88 | }; |
88 | 89 | ||
@@ -233,12 +234,13 @@ static void __init mx5_clocks_common_init(unsigned long rate_ckil, | |||
233 | clk[epit1_hf_gate] = imx_clk_gate2("epit1_hf_gate", "per_root", MXC_CCM_CCGR2, 4); | 234 | clk[epit1_hf_gate] = imx_clk_gate2("epit1_hf_gate", "per_root", MXC_CCM_CCGR2, 4); |
234 | clk[epit2_ipg_gate] = imx_clk_gate2("epit2_ipg_gate", "ipg", MXC_CCM_CCGR2, 6); | 235 | clk[epit2_ipg_gate] = imx_clk_gate2("epit2_ipg_gate", "ipg", MXC_CCM_CCGR2, 6); |
235 | clk[epit2_hf_gate] = imx_clk_gate2("epit2_hf_gate", "per_root", MXC_CCM_CCGR2, 8); | 236 | clk[epit2_hf_gate] = imx_clk_gate2("epit2_hf_gate", "per_root", MXC_CCM_CCGR2, 8); |
237 | clk[owire_gate] = imx_clk_gate2("owire_gate", "per_root", MXC_CCM_CCGR2, 22); | ||
236 | 238 | ||
237 | for (i = 0; i < ARRAY_SIZE(clk); i++) | 239 | for (i = 0; i < ARRAY_SIZE(clk); i++) |
238 | if (IS_ERR(clk[i])) | 240 | if (IS_ERR(clk[i])) |
239 | pr_err("i.MX5 clk %d: register failed with %ld\n", | 241 | pr_err("i.MX5 clk %d: register failed with %ld\n", |
240 | i, PTR_ERR(clk[i])); | 242 | i, PTR_ERR(clk[i])); |
241 | 243 | ||
242 | clk_register_clkdev(clk[gpt_hf_gate], "per", "imx-gpt.0"); | 244 | clk_register_clkdev(clk[gpt_hf_gate], "per", "imx-gpt.0"); |
243 | clk_register_clkdev(clk[gpt_ipg_gate], "ipg", "imx-gpt.0"); | 245 | clk_register_clkdev(clk[gpt_ipg_gate], "ipg", "imx-gpt.0"); |
244 | clk_register_clkdev(clk[uart1_per_gate], "per", "imx21-uart.0"); | 246 | clk_register_clkdev(clk[uart1_per_gate], "per", "imx21-uart.0"); |