mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: mx31moboard: Fix UPLL and SPLL initialisation
@ 2014-03-07 18:14 Philippe Rétornaz
  0 siblings, 0 replies; only message in thread
From: Philippe Rétornaz @ 2014-03-07 18:14 UTC (permalink / raw)
  To: s.hauer; +Cc: barebox, Philippe Rétornaz

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@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-07 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07 18:14 [PATCH 1/1] ARM: mx31moboard: Fix UPLL and SPLL initialisation Philippe Rétornaz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox