Skip to content

Commit e35d7c4

Browse files
committed
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 <claudiu.beznea@microchip.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/1595403506-8209-8-git-send-email-claudiu.beznea@microchip.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent ee95a52 commit e35d7c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/at91/sam9x60.c

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

195-
hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc", 24000000,
195+
hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc", 12000000,
196196
50000000);
197197
if (IS_ERR(hw))
198198
goto err_free;

0 commit comments

Comments
 (0)