summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2017-08-23 13:00:47 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:28:14 +0800
commit665a985c8103ae2e1f6417cca3ae62e50a6681c7 (patch)
tree5d268ffbf8608c151a8e92c47bbdcc06c364a426 /include/soc
parentbde38ab7dd93acb190ae752a849fe138f64c9df2 (diff)
MLK-16244-2 cpufreq: imx8: add SIP cpu-freq support
Add SIP cpu-freq support, the CPU hardware frequency scale will be performed by ARM Trusted Firmware, and add cpu-freq suspend support, MAX frequency will be used during suspend. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/imx/fsl_sip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/soc/imx/fsl_sip.h b/include/soc/imx/fsl_sip.h
index c3867a2688c2..1d39f99f9137 100644
--- a/include/soc/imx/fsl_sip.h
+++ b/include/soc/imx/fsl_sip.h
@@ -10,12 +10,16 @@
#ifndef __SOC_FSL_SIP_H
#define __SOC_FSL_SIP_H
+/* SIP 0xC2000000 - 0xC200FFFF */
#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
+#define FSL_SIP_CPUFREQ 0xC2000001
+#define FSL_SIP_SET_CPUFREQ 0x00
+
#define IMX8MQ_PD_MIPI 0
#define IMX8MQ_PD_PCIE1 1
#define IMX8MQ_PD_OTG1 2