[PATCH 1/1] ARM: mx31moboard: Fix UPLL and SPLL initialisation
Philippe Rétornaz
philippe.retornaz at epfl.ch
Fri Mar 7 13:14:55 EST 2014
This copy what the previous bootloader was doing on this board.
It fixes USB host 1 clock error as its PHY clock is provided
by the i.MX31.
Signed-off-by: Philippe Rétornaz <philippe.retornaz at epfl.ch>
---
arch/arm/boards/mx31moboard/lowlevel.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boards/mx31moboard/lowlevel.c b/arch/arm/boards/mx31moboard/lowlevel.c
index e9ffb74..2294c5a 100644
--- a/arch/arm/boards/mx31moboard/lowlevel.c
+++ b/arch/arm/boards/mx31moboard/lowlevel.c
@@ -59,9 +59,12 @@ static noinline __noreturn void mx31moboard_startup(void)
writel(IMX_PLL_PD(0) | IMX_PLL_MFD(0x33) |
IMX_PLL_MFI(0xa) | IMX_PLL_MFN(0x0C),
MX31_CCM_BASE_ADDR + MX31_CCM_MPCTL);
- writel(IMX_PLL_PD(1) | IMX_PLL_MFD(0x43) | IMX_PLL_MFI(12) |
+ writel(IMX_PLL_PD(0) | IMX_PLL_MFD(9) | IMX_PLL_MFI(6) |
IMX_PLL_MFN(1), MX31_CCM_BASE_ADDR +
MX31_CCM_SPCTL);
+ writel(IMX_PLL_PD(1) | IMX_PLL_MFD(12) | IMX_PLL_MFI(9) |
+ IMX_PLL_MFN(3), MX31_CCM_BASE_ADDR +
+ MX31_CCM_UPCTL);
/*
* Configure IOMUXC
--
1.7.9.5
More information about the barebox
mailing list