summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-08-21 17:26:32 +0200
committerStefan Agner <stefan.agner@toradex.com>2014-08-21 17:26:32 +0200
commitbbfc60fb82c8b76b41d4d89d8ffcde1ebb3ed8eb (patch)
tree4d62b24073754e9f3d812930529597b3083c4d97
parent7170f431dce57ed8d17c978f6924291dc7b9944a (diff)
ARM: mvf: enable SRTC as wakeup source
Enable the SRTC as wakeup source in order to enable Vybrid modules to be waken up by the RTC alarm functionaity.
-rw-r--r--arch/arm/mach-mvf/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mvf/system.c b/arch/arm/mach-mvf/system.c
index 6eaefb0dbbb6..62e7fbb7efb5 100644
--- a/arch/arm/mach-mvf/system.c
+++ b/arch/arm/mach-mvf/system.c
@@ -51,8 +51,8 @@ void gpc_set_wakeup(void)
__raw_writel(0xdfffffff, gpc_base + GPC_IMR2_OFFSET);
/* unmask WKPU12/13 interrupt */
__raw_writel(0xefffffff, gpc_base + GPC_IMR3_OFFSET);
- /* unmask GPIO4 interrupt */
- __raw_writel(0xffff7fff, gpc_base + GPC_IMR4_OFFSET);
+ /* unmask GPIO4 interrupt, SNVS_RTC */
+ __raw_writel(0xffff7fcf, gpc_base + GPC_IMR4_OFFSET);
return;
}