diff options
author | 2020-07-22 10:38:15 +0300 | |
---|---|---|
committer | 2020-07-24 02:19:03 -0700 | |
commit | 172e7ddeeafd95caa809b7b1a140bfd7f20597d9 (patch) | |
tree | 8dcea24e815e3508146655fad47c905133a792bd /drivers/clk | |
parent | clk: at91: sam9x60-pll: use frac when setting frequency (diff) | |
download | wireguard-linux-172e7ddeeafd95caa809b7b1a140bfd7f20597d9.tar.xz wireguard-linux-172e7ddeeafd95caa809b7b1a140bfd7f20597d9.zip |
clk: at91: sam9x60: fix main rc oscillator frequency
Main RC oscillator frequency is 12MHz according to datasheet
(chapter 27.2).
Fixes: 01e2113de9a52 ("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]>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/at91/sam9x60.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c index 19945138123b..d9f6d9ba1eca 100644 --- a/drivers/clk/at91/sam9x60.c +++ b/drivers/clk/at91/sam9x60.c @@ -189,7 +189,7 @@ static void __init sam9x60_pmc_setup(struct device_node *np) if (!sam9x60_pmc) return; - hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc", 24000000, + hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc", 12000000, 50000000); if (IS_ERR(hw)) goto err_free; |