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

index 36bcd529911e400dfaf307118bed3f80e4fde39a..9059a17df55ebabdac2b6b87c76be3bb0dfed731 100755 (executable)
@@ -3370,6 +3370,11 @@ static void __init rk30_clock_common_init(unsigned long gpll_rate,unsigned long
        clk_set_rate_nolock(&aclk_vdpu, 300*MHZ);
        //gpu auto sel
        //clk_set_parent_nolock(&clk_gpu, &general_pll_clk);
+       
+       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={