From: Paul Walmsley Date: Thu, 3 May 2007 22:52:42 +0000 (-0600) Subject: omap2: add OMAP24XX and OMAP2/3 modules to prcm_common.h X-Git-Tag: v2.6.22-omap1~102 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=61234a70b576e9157194d842cabef62a70357324;p=linux-2.6-omap-h63xx.git omap2: add OMAP24XX and OMAP2/3 modules to prcm_common.h Add 24XX-specific module offset defines to prcm_common.h. Also add module offsets that are shared between OMAP2/3. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/prcm_common.h b/arch/arm/mach-omap2/prcm_common.h new file mode 100644 index 00000000000..6275cae613f --- /dev/null +++ b/arch/arm/mach-omap2/prcm_common.h @@ -0,0 +1,37 @@ +#ifndef __ARCH_ASM_MACH_OMAP2_PRCM_COMMON_H +#define __ARCH_ASM_MACH_OMAP2_PRCM_COMMON_H + +/* + * OMAP2 PRCM base and module definitions + * + * Copyright (C) 2007 Texas Instruments, Inc. + * Copyright (C) 2007 Nokia Corporation + * + * Written by Paul Walmsley + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + + +/* Module offsets from both CM_BASE & PRM_BASE */ + +/* Offsets that are the same on 24xx and 34xx */ +/* Technically OCP_MOD is 34xx only, and PLL_MOD is CCR_MOD on 3430 */ +#define OCP_MOD 0x000 +#define MPU_MOD 0x100 +#define CORE_MOD 0x200 +#define GFX_MOD 0x300 +#define WKUP_MOD 0x400 +#define PLL_MOD 0x500 + + +/* Chip-specific module offsets */ +#define OMAP24XX_DSP_MOD 0x800 + +#define OMAP2430_MDM_MOD 0xc00 + + +#endif +