The multiplier field inside the PLLA configuration register of Atmel SAMA5D3 MPU is only 7 bits long Signed-off-by: Mathieu Anquetin <mathieu.anquetin@xxxxxxxxxxxxxxxxx> --- arch/arm/mach-at91/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index a10d7f6..4ebf521 100644 --- a/arch/arm/mach-at91/clock.c +++ b/arch/arm/mach-at91/clock.c @@ -483,7 +483,7 @@ static u32 at91_pll_rate(struct clk *pll, u32 freq, u32 reg) div = reg & 0xff; if (cpu_is_sama5d3()) - mul = (reg >> 18) & 0x7ff; + mul = (reg >> 18) & 0x7f; else mul = (reg >> 16) & 0x7ff; if (div && mul) { -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox