diff options
-rw-r--r-- | arch/arm/mach-tegra/common.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index 22df10fb9972..1f762333937e 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c | |||
@@ -93,6 +93,17 @@ static __initdata struct tegra_clk_init_table tegra20_clk_init_table[] = { | |||
93 | }; | 93 | }; |
94 | #endif | 94 | #endif |
95 | 95 | ||
96 | #ifdef CONFIG_ARCH_TEGRA_3x_SOC | ||
97 | static __initdata struct tegra_clk_init_table tegra30_clk_init_table[] = { | ||
98 | /* name parent rate enabled */ | ||
99 | { "clk_m", NULL, 0, true }, | ||
100 | { "pll_p", "clk_m", 408000000, true }, | ||
101 | { "pll_p_out1", "pll_p", 9600000, true }, | ||
102 | { NULL, NULL, 0, 0}, | ||
103 | }; | ||
104 | #endif | ||
105 | |||
106 | |||
96 | static void __init tegra_init_cache(u32 tag_latency, u32 data_latency) | 107 | static void __init tegra_init_cache(u32 tag_latency, u32 data_latency) |
97 | { | 108 | { |
98 | #ifdef CONFIG_CACHE_L2X0 | 109 | #ifdef CONFIG_CACHE_L2X0 |
@@ -127,6 +138,7 @@ void __init tegra30_init_early(void) | |||
127 | { | 138 | { |
128 | tegra_init_fuse(); | 139 | tegra_init_fuse(); |
129 | tegra30_init_clocks(); | 140 | tegra30_init_clocks(); |
141 | tegra_clk_init_from_table(tegra30_clk_init_table); | ||
130 | tegra_init_cache(0x441, 0x551); | 142 | tegra_init_cache(0x441, 0x551); |
131 | tegra_pmc_init(); | 143 | tegra_pmc_init(); |
132 | tegra_powergate_init(); | 144 | tegra_powergate_init(); |