diff options
author | Vipul Kumar Samar <vipulkumar.samar@st.com> | 2012-11-10 01:43:44 -0500 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-11-21 14:45:52 -0500 |
commit | cd4b519aa5bdce92fcacc1d4bbe0fa16b4e16144 (patch) | |
tree | 57c5e0526fa533e5a6e74938dad9051491f8c55b /drivers/clk/spear/spear3xx_clock.c | |
parent | 1249979242db10d2fe1793f26e7658d94b7bf6dc (diff) |
CLK: SPEAr: Add missing clocks
This patch adds missing clocks: twd and macb.
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/spear/spear3xx_clock.c')
-rw-r--r-- | drivers/clk/spear/spear3xx_clock.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/clk/spear/spear3xx_clock.c b/drivers/clk/spear/spear3xx_clock.c index 4c89b143e246..ff35ebca1d8d 100644 --- a/drivers/clk/spear/spear3xx_clock.c +++ b/drivers/clk/spear/spear3xx_clock.c | |||
@@ -288,6 +288,14 @@ static void __init spear320_clk_init(void) | |||
288 | 4); | 288 | 4); |
289 | clk_register_clkdev(clk, "i2s_sclk", NULL); | 289 | clk_register_clkdev(clk, "i2s_sclk", NULL); |
290 | 290 | ||
291 | clk = clk_register_fixed_factor(NULL, "macb1_clk", "ras_apb_clk", 0, 1, | ||
292 | 1); | ||
293 | clk_register_clkdev(clk, "hclk", "aa000000.eth"); | ||
294 | |||
295 | clk = clk_register_fixed_factor(NULL, "macb2_clk", "ras_apb_clk", 0, 1, | ||
296 | 1); | ||
297 | clk_register_clkdev(clk, "hclk", "ab000000.eth"); | ||
298 | |||
291 | clk = clk_register_mux(NULL, "rs485_clk", uartx_parents, | 299 | clk = clk_register_mux(NULL, "rs485_clk", uartx_parents, |
292 | ARRAY_SIZE(uartx_parents), CLK_SET_RATE_PARENT, | 300 | ARRAY_SIZE(uartx_parents), CLK_SET_RATE_PARENT, |
293 | SPEAR320_EXT_CTRL_REG, SPEAR320_RS485_PCLK_SHIFT, | 301 | SPEAR320_EXT_CTRL_REG, SPEAR320_RS485_PCLK_SHIFT, |