From c426173536a097548d73f902541f56ac1e950d4d Mon Sep 17 00:00:00 2001 From: chenxing Date: Fri, 2 Aug 2013 18:07:29 +0800 Subject: [PATCH] rk3188: -t: set chip rk3188t uart init freq = 49.5M --- arch/arm/mach-rk3188/clock_data.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rk3188/clock_data.c b/arch/arm/mach-rk3188/clock_data.c index ec17d0994787..7205eba33a81 100755 --- a/arch/arm/mach-rk3188/clock_data.c +++ b/arch/arm/mach-rk3188/clock_data.c @@ -3578,7 +3578,11 @@ static void __init rk30_clock_common_init(unsigned long gpll_rate, unsigned long clk_set_parent_nolock(&aclk_gpu, &general_pll_clk); clk_set_rate_nolock(&aclk_gpu, 200 * MHZ); - clk_set_rate_nolock(&clk_uart0, 48000000); + if (0 == pll_flag) { + clk_set_rate_nolock(&clk_uart0, 48000000); + } else { + clk_set_rate_nolock(&clk_uart0, 49500000); + } clk_set_rate_nolock(&clk_sdmmc, 24750000); clk_set_rate_nolock(&clk_sdio, 24750000); } -- 2.34.1