diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-10-07 13:59:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-10-13 17:27:19 +0200 |
commit | 2d6568b40857408165a0aa3e934ce7c32f575719 (patch) | |
tree | c5b8113035442c04c84d742407022c47cf67af8b /arch/arm/mach-imx/include/mach/clock-imx51_53.h | |
parent | 51b74cf4264d0318bfb7771490157edebf0e1c32 (diff) | |
download | barebox-2d6568b40857408165a0aa3e934ce7c32f575719.tar.gz barebox-2d6568b40857408165a0aa3e934ce7c32f575719.tar.xz |
ARM i.MX53: Add lowlevel init code
This adds lowlevel (AIPS, PLL, L2) initialization for i.MX53 boards.
This is a direct transcription of Freescales U-Boot assembler code
with the exception that we initialize PLL1 with 1000MHz and assume
that all necessary voltages are already adjusted when we arrive here.
It must be explicitely called from the boards so a board is free to
do it's own initialization. However, boards should use this code
and make it more configurable if necessary.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/clock-imx51_53.h')
-rw-r--r-- | arch/arm/mach-imx/include/mach/clock-imx51_53.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/include/mach/clock-imx51_53.h b/arch/arm/mach-imx/include/mach/clock-imx51_53.h index 1e90d21d4a..2525ccdf1e 100644 --- a/arch/arm/mach-imx/include/mach/clock-imx51_53.h +++ b/arch/arm/mach-imx/include/mach/clock-imx51_53.h @@ -102,7 +102,8 @@ #define MX5_CCM_CCGR4 0x78 #define MX5_CCM_CCGR5 0x7C #define MX5_CCM_CCGR6 0x80 -#define MX5_CCM_CMEOR 0x84 +#define MX53_CCM_CCGR7 0x84 +#define MX51_CCM_CMEOR 0x84 /* Define the bits in register CCR */ #define MX5_CCM_CCR_COSC_EN (1 << 12) |