From: Fabio Estevam Date: Fri, 28 Dec 2018 18:43:01 +0000 (-0200) Subject: imx8m: clock: Fix oscillator values X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d4a0c098925d4594355506a12ae0dbbe6eed00f2;p=u-boot.git imx8m: clock: Fix oscillator values OSC_27M_CLK should return 27MHz and OSC_32K_CLK should return 32768Hz to reflect the reality. This also keeps the values in sync with the Linux clock tree. Signed-off-by: Fabio Estevam --- diff --git a/arch/arm/mach-imx/imx8m/clock.c b/arch/arm/mach-imx/imx8m/clock.c index 3766d988ba..289b9417aa 100644 --- a/arch/arm/mach-imx/imx8m/clock.c +++ b/arch/arm/mach-imx/imx8m/clock.c @@ -250,9 +250,9 @@ static u32 get_root_src_clk(enum clk_root_src root_src) case OSC_25M_CLK: return 25000000; case OSC_27M_CLK: - return 25000000; + return 27000000; case OSC_32K_CLK: - return 32000; + return 32768; case ARM_PLL_CLK: return decode_frac_pll(root_src); case SYSTEM_PLL1_800M_CLK: