Skip to content

Commit 172e7dd

Browse files
claudiubezneabebarino
authored andcommitted
clk: at91: sam9x60: fix main rc oscillator frequency
Main RC oscillator frequency is 12MHz according to datasheet (chapter 27.2). Fixes: 01e2113 ("clk: at91: add sam9x60 pmc driver") Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 35d06f7 commit 172e7dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/at91/sam9x60.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ static void __init sam9x60_pmc_setup(struct device_node *np)
189189
if (!sam9x60_pmc)
190190
return;
191191

192-
hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc", 24000000,
192+
hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc", 12000000,
193193
50000000);
194194
if (IS_ERR(hw))
195195
goto err_free;

0 commit comments

Comments
 (0)