1 --- a/arch/mips/ath79/clock.c
2 +++ b/arch/mips/ath79/clock.c
6 #define AR71XX_BASE_FREQ 40000000
7 -#define AR724X_BASE_FREQ 5000000
8 +#define AR724X_BASE_FREQ 40000000
9 #define AR913X_BASE_FREQ 5000000
11 static struct clk *clks[3];
12 @@ -103,8 +103,8 @@ static void __init ar724x_clocks_init(vo
13 div = ((pll >> AR724X_PLL_FB_SHIFT) & AR724X_PLL_FB_MASK);
14 freq = div * ref_rate;
16 - div = ((pll >> AR724X_PLL_REF_DIV_SHIFT) & AR724X_PLL_REF_DIV_MASK);
18 + div = ((pll >> AR724X_PLL_REF_DIV_SHIFT) & AR724X_PLL_REF_DIV_MASK) * 2;