diff options
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r-- | arch/arm/mach-tegra/common.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index 20875ee8f039..039a514b61ef 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c | |||
@@ -25,6 +25,21 @@ | |||
25 | #include <mach/iomap.h> | 25 | #include <mach/iomap.h> |
26 | 26 | ||
27 | #include "board.h" | 27 | #include "board.h" |
28 | #include "clock.h" | ||
29 | |||
30 | static __initdata struct tegra_clk_init_table common_clk_init_table[] = { | ||
31 | /* name parent rate enabled */ | ||
32 | { "clk_m", NULL, 0, true }, | ||
33 | { "pll_p", "clk_m", 216000000, true }, | ||
34 | { "pll_p_out1", "pll_p", 28800000, true }, | ||
35 | { "pll_p_out2", "pll_p", 48000000, true }, | ||
36 | { "pll_p_out3", "pll_p", 72000000, true }, | ||
37 | { "pll_p_out4", "pll_p", 108000000, true }, | ||
38 | { "sys", "pll_p_out4", 108000000, true }, | ||
39 | { "hclk", "sys", 108000000, true }, | ||
40 | { "pclk", "hclk", 54000000, true }, | ||
41 | { NULL, NULL, 0, 0}, | ||
42 | }; | ||
28 | 43 | ||
29 | void __init tegra_init_cache(void) | 44 | void __init tegra_init_cache(void) |
30 | { | 45 | { |
@@ -40,5 +55,7 @@ void __init tegra_init_cache(void) | |||
40 | 55 | ||
41 | void __init tegra_common_init(void) | 56 | void __init tegra_common_init(void) |
42 | { | 57 | { |
58 | tegra_init_clock(); | ||
59 | tegra_clk_init_from_table(common_clk_init_table); | ||
43 | tegra_init_cache(); | 60 | tegra_init_cache(); |
44 | } | 61 | } |