aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm646x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/dm646x.c')
-rw-r--r--arch/arm/mach-davinci/dm646x.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c
index 1e0f809644b..1802e711a2b 100644
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -8,6 +8,7 @@
8 * is licensed "as is" without any warranty of any kind, whether express 8 * is licensed "as is" without any warranty of any kind, whether express
9 * or implied. 9 * or implied.
10 */ 10 */
11#include <linux/dma-mapping.h>
11#include <linux/init.h> 12#include <linux/init.h>
12#include <linux/clk.h> 13#include <linux/clk.h>
13#include <linux/serial_8250.h> 14#include <linux/serial_8250.h>
@@ -42,6 +43,7 @@
42/* 43/*
43 * Device specific clocks 44 * Device specific clocks
44 */ 45 */
46#define DM646X_REF_FREQ 27000000
45#define DM646X_AUX_FREQ 24000000 47#define DM646X_AUX_FREQ 24000000
46 48
47static struct pll_data pll1_data = { 49static struct pll_data pll1_data = {
@@ -56,6 +58,8 @@ static struct pll_data pll2_data = {
56 58
57static struct clk ref_clk = { 59static struct clk ref_clk = {
58 .name = "ref_clk", 60 .name = "ref_clk",
61 .rate = DM646X_REF_FREQ,
62 .set_rate = davinci_simple_set_rate,
59}; 63};
60 64
61static struct clk aux_clkin = { 65static struct clk aux_clkin = {
@@ -901,7 +905,6 @@ int __init dm646x_init_edma(struct edma_rsv_info *rsv)
901 905
902void __init dm646x_init(void) 906void __init dm646x_init(void)
903{ 907{
904 dm646x_board_setup_refclk(&ref_clk);
905 davinci_common_init(&davinci_soc_info_dm646x); 908 davinci_common_init(&davinci_soc_info_dm646x);
906} 909}
907 910