u-boot/arch/arm/cpu/armv7/mx5
Fabio Estevam 41c881c0ca mx53: Turn off child clocks before reconfigure perclk_root
In addition to ensuring that PERCLK remains at least 2.5 times slower
than the AHB clock, certain steps need to be followed to ensure robust
operation of PERCLK when reconfiguring the PERCLK clock source.

To properly configure the PERCLK clock source, the following steps are
required:

1.In the CCGR registers, gate the clocks to all PERCLK-dependent
  modules.
2.Select the desired input clock for the PERCLK root clock (to be either
  source from the peripherals main source clock or the
  lp_apm clock source). Refer to the CMCBR register,  perclk_lp_apm_sel bit.
3.Configure the perclk_pred1, perclk_pred2, and perclk_podf dividers
  to the desired setting.  Refer to the CBCDR register for details.
4.In the CCGR registers, enable the desired clocks for the
  PERCLK-dependent module clocks.

If these steps aren't followed, GPT timer may stop and the kernel stops
at "Calibrating delay loop".

Signed-off-by: Terry Lv <r65388@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2011-11-04 22:06:37 +01:00
..
asm-offsets.c MX5: Update to autogenerated asm-offsets.h 2011-07-14 15:41:24 +02:00
clock.c MX5: Clean up the output of "clocks" command 2011-09-30 22:01:05 +02:00
iomux.c MX5: Add initial support for MX53 processor 2011-02-02 00:54:41 +01:00
lowlevel_init.S mx53: Turn off child clocks before reconfigure perclk_root 2011-11-04 22:06:37 +01:00
Makefile Makefile : fix generation of cpu related asm-offsets.h 2011-09-07 21:41:27 +02:00
soc.c imx: fix coding style 2011-10-27 21:56:32 +02:00
speed.c Move DECLARE_GLOBAL_DATA_PTR to file scope 2010-12-21 11:33:36 +01:00
timer.c Timer: Remove reset_timer_masked() 2011-07-26 14:54:15 +02:00