summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/tigerlake/include/soc/pmc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/include/soc/pmc.h b/src/soc/intel/tigerlake/include/soc/pmc.h
index 9111ab4a44..ee02a48a44 100644
--- a/src/soc/intel/tigerlake/include/soc/pmc.h
+++ b/src/soc/intel/tigerlake/include/soc/pmc.h
@@ -107,6 +107,22 @@ extern struct device_operations pmc_ops;
#define GPE0_DWX_MASK 0xf
#define GPE0_DW_SHIFT(x) (4*(x))
+#if CONFIG(SOC_INTEL_TIGERLAKE_PCH_H)
+#define PMC_GPD 0x0
+#define PMC_GPP_A 0x1
+#define PMC_GPP_R 0x2
+#define PMC_GPP_B 0x3
+#define PMC_GPP_D 0x4
+#define PMC_GPP_C 0x5
+#define PMC_GPP_S 0x6
+#define PMC_GPP_G 0x7
+#define PMC_GPP_E 0x9
+#define PMC_GPP_F 0xA
+#define PMC_GPP_H 0xB
+#define PMC_GPP_J 0xC
+#define PMC_GPP_K 0xD
+#define PMC_GPP_I 0xE
+#else
#define PMC_GPP_B 0x0
#define PMC_GPP_T 0x1
#define PMC_GPP_A 0x2
@@ -119,6 +135,7 @@ extern struct device_operations pmc_ops;
#define PMC_GPP_F 0xA
#define PMC_GPP_C 0xB
#define PMC_GPP_E 0xC
+#endif
#define GBLRST_CAUSE0 0x1924
#define GBLRST_CAUSE0_THERMTRIP (1 << 5)