rk3066b: set uart0 297M to support bluetooth 3M
authorchenxing <chenxing@rock-chips.com>
Wed, 17 Oct 2012 10:26:27 +0000 (18:26 +0800)
committerchenxing <chenxing@rock-chips.com>
Wed, 17 Oct 2012 10:26:39 +0000 (18:26 +0800)
arch/arm/mach-rk30/clock_data-rk3066b.c

index c65d283c23ac0f8340eb95cce6b5fb20050814d4..5a244dff2e3001edcb41aa83f8f1a1ffa49d919f 100644 (file)
@@ -3142,6 +3142,10 @@ static void __init rk30_clock_common_init(unsigned long gpll_rate, unsigned long
        clk_set_parent_nolock(&aclk_gpu, &codec_pll_clk);
        clk_set_rate_nolock(&clk_gpu, 200 * MHZ);
        clk_set_rate_nolock(&aclk_gpu, 200 * MHZ);
+       
+       clk_set_parent_nolock(&clk_uart_pll, &general_pll_clk);
+       clk_set_rate_nolock(&clk_uart0_div, 297 * MHZ);
+       clk_set_parent_nolock(&clk_uart0, &clk_uart0_div);
 }
 
 static struct clk def_ops_clk = {