summaryrefslogtreecommitdiff
path: root/plat/freescale/imx8mq/include/fsl_sip.h
diff options
context:
space:
mode:
authorBai Ping <ping.bai@nxp.com>2017-06-26 10:47:47 +0800
committerAnson Huang <Anson.Huang@nxp.com>2017-07-12 23:33:09 +0800
commitec605c1e2586c59501f85059febebdcc564306e2 (patch)
tree4381da7d5ffcefe054c058ba195fae2655cc34b4 /plat/freescale/imx8mq/include/fsl_sip.h
parent6f14ea4b73e0f2289a3a747542cb2a5848407003 (diff)
i.mx8mq: Add basic support for i.mx8mq
Add basic support for i.MX8MQ. 1. SMP support is ok. 2. basic suspend/resume support is ok. Signed-off-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'plat/freescale/imx8mq/include/fsl_sip.h')
-rw-r--r--plat/freescale/imx8mq/include/fsl_sip.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/plat/freescale/imx8mq/include/fsl_sip.h b/plat/freescale/imx8mq/include/fsl_sip.h
new file mode 100644
index 00000000..73fa08d4
--- /dev/null
+++ b/plat/freescale/imx8mq/include/fsl_sip.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __SOC_FSL_SIP_H
+#define __SOC_FSL_SIP_H
+
+#define FSL_SIP_GPC 0xC2000000
+#define FSL_SIP_CONFIG_GPC_MASK 0x00
+#define FSL_SIP_CONFIG_GPC_UNMASK 0x01
+#define FSL_SIP_CONFIG_GPC_SET_WAKE 0x02
+#define FSL_SIP_CONFIG_GPC_PM_DOMAIN 0x03
+
+#endif