diff options
author | Terry Chen <terry_chen@wistron.corp-partner.google.com> | 2022-06-22 18:33:10 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-06-24 13:27:17 +0000 |
commit | bbf794fc13a5be6445aff7dcc9430ef7152f9148 (patch) | |
tree | a7f61107f01254d6a72c517457ad286ede08ed91 | |
parent | b53ef2285473e7784a3ab6b5919d5e584ccdb58e (diff) |
mb/google/brya/var/crota: Modify some GPIO programming
Base on bernadino 14 adl-p 20220531.pdf, configure GPIOs
according to schematics.
GPP_B2 => BYPASS_DET
GPP_F19 => FP_USER_PRES_FP_L
BUG=b:234384954
TEST= USE="project_crota" emerge-brya coreboot
Signed-off-by: Terry Chen <terry_chen@wistron.corp-partner.google.com>
Change-Id: Ic2e7ecc34912f07463e0025787fdf59c7602e40b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65309
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r-- | src/mainboard/google/brya/variants/crota/gpio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/brya/variants/crota/gpio.c b/src/mainboard/google/brya/variants/crota/gpio.c index 618c6accc9..ca5b5cd1b0 100644 --- a/src/mainboard/google/brya/variants/crota/gpio.c +++ b/src/mainboard/google/brya/variants/crota/gpio.c @@ -20,8 +20,8 @@ static const struct pad_config override_gpio_table[] = { /* A23 : ESPI_CS1# ==> AUD_HP_INT_L */ PAD_CFG_GPI_APIC(GPP_A23, NONE, PLTRST, LEVEL, INVERT), - /* B2 : VRALERT# ==> NC */ - PAD_NC(GPP_B2, NONE), + /* B2 : VRALERT# ==> BYPASS_DET */ + PAD_CFG_GPI(GPP_B2, NONE, DEEP), /* B3 : PROC_GP2 ==> NC */ PAD_NC(GPP_B3, NONE), /* B15 : PROC_GP3 ==> AUD_RST_L */ @@ -62,8 +62,8 @@ static const struct pad_config override_gpio_table[] = { /* E23 : DDPA_CTRLDATA ==> NC */ PAD_NC(GPP_E23, NONE), - /* F19 : SRCCLKREQ6# ==> NC */ - PAD_NC(GPP_F19, NONE), + /* F19 : SRCCLKREQ6# ==> FP_USER_PRES_FP_L */ + PAD_CFG_GPI(GPP_F19, NONE, DEEP), /* F20 : EXT_PWR_GATE# ==> NC */ PAD_NC(GPP_F20, NONE), |