aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2015-07-08 01:42:24 -0400
committerPaul Walmsley <paul@pwsan.com>2015-07-23 07:54:38 -0400
commit39db67a5ff5b29f5e55f129e9da0d77dc17f24e2 (patch)
tree21958d2fc12993e23a9357036a1de13b157aea12
parentfac03f12f8d86f349a3b3992ae9d59a53bc250f6 (diff)
ARM: AM43xx: Add the PRM IRQ register offsets
Add the PRM IRQ register offsets. This is needed to support PRM I/O wakeup on AM43xx. Signed-off-by: Keerthy <j-keerthy@ti.com> [paul@pwsan.com: improved patch description, moved the PRM_IO_PMCTRL macro out of the CM section] Reviewed-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
-rw-r--r--arch/arm/mach-omap2/prcm43xx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prcm43xx.h b/arch/arm/mach-omap2/prcm43xx.h
index 7eebc27fa892..7c34c44eb0ae 100644
--- a/arch/arm/mach-omap2/prcm43xx.h
+++ b/arch/arm/mach-omap2/prcm43xx.h
@@ -25,6 +25,13 @@
25#define AM43XX_PRM_WKUP_INST 0x2000 25#define AM43XX_PRM_WKUP_INST 0x2000
26#define AM43XX_PRM_DEVICE_INST 0x4000 26#define AM43XX_PRM_DEVICE_INST 0x4000
27 27
28/* PRM_IRQ offsets */
29#define AM43XX_PRM_IRQSTATUS_MPU_OFFSET 0x0004
30#define AM43XX_PRM_IRQENABLE_MPU_OFFSET 0x0008
31
32/* Other PRM offsets */
33#define AM43XX_PRM_IO_PMCTRL_OFFSET 0x0024
34
28/* RM RSTCTRL offsets */ 35/* RM RSTCTRL offsets */
29#define AM43XX_RM_PER_RSTCTRL_OFFSET 0x0010 36#define AM43XX_RM_PER_RSTCTRL_OFFSET 0x0010
30#define AM43XX_RM_GFX_RSTCTRL_OFFSET 0x0010 37#define AM43XX_RM_GFX_RSTCTRL_OFFSET 0x0010