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>
This commit is contained in:
Jeremy Soller 2021-08-12 10:49:58 -06:00 committed by Felix Held
parent 6b1b9ad835
commit 657f7db769
1 changed files with 17 additions and 0 deletions

View File

@ -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)