aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/prm.h
diff options
context:
space:
mode:
authorAbhijit Pagare <abhijitpagare@ti.com>2010-01-26 22:12:51 -0500
committerPaul Walmsley <paul@pwsan.com>2010-01-26 22:12:51 -0500
commit3790300903e6a98ce5f5391f4d435959266f79e7 (patch)
treecd78bf9d180466df0cd5b2f0c5b5c46d6471a54e /arch/arm/mach-omap2/prm.h
parentc6a6e6e203ee9a34fa53f773272f21d48b4e3454 (diff)
ARM: OMAP4: PM: OMAP4 Power Domain Porting Related Clean-up.
Module offsets were same for OMAP2 and OMAP3 while they differ for OMAP4. Hence we need different macros for identifying platform specific offsets. Signed-off-by: Abhijit Pagare <abhijitpagare@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Benoit Cousson <b-cousson@ti.com> Cc: Rajendra Nayak <rnayak@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm.h')
-rw-r--r--arch/arm/mach-omap2/prm.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/prm.h b/arch/arm/mach-omap2/prm.h
index 40f00628516..5fba2aa8932 100644
--- a/arch/arm/mach-omap2/prm.h
+++ b/arch/arm/mach-omap2/prm.h
@@ -179,9 +179,11 @@
179 179
180/* Registers appearing on both 24xx and 34xx */ 180/* Registers appearing on both 24xx and 34xx */
181 181
182#define RM_RSTCTRL 0x0050 182#define OMAP2_RM_RSTCTRL 0x0050
183#define RM_RSTTIME 0x0054 183#define OMAP2_RM_RSTTIME 0x0054
184#define RM_RSTST 0x0058 184#define OMAP2_RM_RSTST 0x0058
185#define OMAP2_PM_PWSTCTRL 0x00e0
186#define OMAP2_PM_PWSTST 0x00e4
185 187
186#define PM_WKEN 0x00a0 188#define PM_WKEN 0x00a0
187#define PM_WKEN1 PM_WKEN 189#define PM_WKEN1 PM_WKEN
@@ -191,8 +193,6 @@
191#define PM_EVGENCTRL 0x00d4 193#define PM_EVGENCTRL 0x00d4
192#define PM_EVGENONTIM 0x00d8 194#define PM_EVGENONTIM 0x00d8
193#define PM_EVGENOFFTIM 0x00dc 195#define PM_EVGENOFFTIM 0x00dc
194#define PM_PWSTCTRL 0x00e0
195#define PM_PWSTST 0x00e4
196 196
197/* Omap2 specific registers */ 197/* Omap2 specific registers */
198#define OMAP24XX_PM_WKEN2 0x00a4 198#define OMAP24XX_PM_WKEN2 0x00a4
@@ -220,6 +220,13 @@
220#define OMAP3430_PRM_IRQSTATUS_IVA2 0x00f8 220#define OMAP3430_PRM_IRQSTATUS_IVA2 0x00f8
221#define OMAP3430_PRM_IRQENABLE_IVA2 0x00fc 221#define OMAP3430_PRM_IRQENABLE_IVA2 0x00fc
222 222
223/* Omap4 specific registers */
224#define OMAP4_RM_RSTCTRL 0x0000
225#define OMAP4_RM_RSTTIME 0x0004
226#define OMAP4_RM_RSTST 0x0008
227#define OMAP4_PM_PWSTCTRL 0x0000
228#define OMAP4_PM_PWSTST 0x0004
229
223 230
224#ifndef __ASSEMBLER__ 231#ifndef __ASSEMBLER__
225 232