summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2014-10-27 11:09:42 +0800
committerAnson Huang <b20788@freescale.com>2014-10-28 16:54:25 +0800
commitdf979e224017b44066c9a56e2dbbfbefa59b933d (patch)
treea82e4af1ea5600462de1be65ddb9aa999d9b4af8 /include
parent2db17272d867fc9c8c842e45cedbb621ff9242d6 (diff)
MLK-9715-2 arm: imx: add wakeup source request for m4
as some modules enabled in M4 side need to support wake up function, so when CCM is in STOP mode, these M4's modules should be able to wake up CCM, add this request to enable wakeup source in GPC. Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mcc_imx6sx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mcc_imx6sx.h b/include/linux/mcc_imx6sx.h
index 51824f79e3c3..427cae50cd34 100644
--- a/include/linux/mcc_imx6sx.h
+++ b/include/linux/mcc_imx6sx.h
@@ -29,6 +29,12 @@
#define MU_LPM_BUS_HIGH_READY_FOR_M4 0xFFFF6666
#define MU_LPM_M4_REQUEST_HIGH_BUS 0x2222CCCC
#define MU_LPM_M4_RELEASE_HIGH_BUS 0x2222BBBB
+#define MU_LPM_M4_WAKEUP_SRC_VAL 0x55555000
+#define MU_LPM_M4_WAKEUP_SRC_MASK 0xFFFFF000
+#define MU_LPM_M4_WAKEUP_IRQ_MASK 0xFF0
+#define MU_LPM_M4_WAKEUP_IRQ_SHIFT 0x4
+#define MU_LPM_M4_WAKEUP_ENABLE_MASK 0xF
+#define MU_LPM_M4_WAKEUP_ENABLE_SHIFT 0x0
enum {
/* FIXME */