diff options
| author | R Sricharan <r.sricharan@ti.com> | 2012-06-05 16:21:32 +0530 | 
|---|---|---|
| committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2012-07-09 19:14:39 +0530 | 
| commit | 05e152c76a1efaa3165afecf5acf535c8283f386 (patch) | |
| tree | b8f78f3fb8612bc007855964823ddca2490911bc /arch/arm/mach-omap2/common.c | |
| parent | b13e80a8bfe442406495a2fc9e7cbb79d33df48a (diff) | |
| download | olio-linux-3.10-05e152c76a1efaa3165afecf5acf535c8283f386.tar.xz olio-linux-3.10-05e152c76a1efaa3165afecf5acf535c8283f386.zip  | |
ARM: OMAP5: Add minimal support for OMAP5430 SOC
OMAP5430 is Texas Instrument's SOC based on ARM Cortex-A15 SMP
architecture. It's a dual core SOC with GIC used for interrupt
handling and with an integrated L2 cache controller.
OMAP5432 is another variant of OMAP5430, with a
memory controller supporting DDR3 and SATA.
Patch includes:
 - The machine specific headers and sources updates.
 - Platform header updates.
 - Minimum initialisation support for serial.
 - IO table init
Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/common.c')
| -rw-r--r-- | arch/arm/mach-omap2/common.c | 24 | 
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.c b/arch/arm/mach-omap2/common.c index 73d2a0b9ca0..069f9725b1c 100644 --- a/arch/arm/mach-omap2/common.c +++ b/arch/arm/mach-omap2/common.c @@ -178,3 +178,27 @@ void __init omap4_map_io(void)  }  #endif +#if defined(CONFIG_SOC_OMAP5) +static struct omap_globals omap5_globals = { +	.class	= OMAP54XX_CLASS, +	.tap	= OMAP2_L4_IO_ADDRESS(OMAP54XX_SCM_BASE), +	.ctrl	= OMAP2_L4_IO_ADDRESS(OMAP54XX_SCM_BASE), +	.ctrl_pad	= OMAP2_L4_IO_ADDRESS(OMAP54XX_CTRL_BASE), +	.prm	= OMAP2_L4_IO_ADDRESS(OMAP54XX_PRM_BASE), +	.cm	= OMAP2_L4_IO_ADDRESS(OMAP54XX_CM_CORE_AON_BASE), +	.cm2	= OMAP2_L4_IO_ADDRESS(OMAP54XX_CM_CORE_BASE), +	.prcm_mpu = OMAP2_L4_IO_ADDRESS(OMAP54XX_PRCM_MPU_BASE), +}; + +void __init omap2_set_globals_5xxx(void) +{ +	omap2_set_globals_tap(&omap5_globals); +	omap2_set_globals_control(&omap5_globals); +	omap2_set_globals_prcm(&omap5_globals); +} + +void __init omap5_map_io(void) +{ +	omap5_map_common_io(); +} +#endif  |