diff options
author | Jeremy Soller <jeremy@system76.com> | 2021-08-12 10:49:58 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-08-24 14:47:07 +0000 |
commit | 657f7db769160fd99764883215d329e286f38dc0 (patch) | |
tree | 1f876c81fc1d7a6dd499f7ac484d023f45e36780 | |
parent | 6b1b9ad835e66475a9d1ef6bc77ee6726cbf8480 (diff) |
soc/intel/tigerlake: Add PCH-H PMC GPE group definitions
Reference:
- TigerLake FSP
Change-Id: I666eb710762f6b00d173ee1a473f1f5a612953a6
Signed-off-by: Jeremy Soller <jeremy@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56948
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r-- | src/soc/intel/tigerlake/include/soc/pmc.h | 17 |
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) |