summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/variants/kanix/gpio.c
diff options
context:
space:
mode:
authorTyler Wang <tyler.wang@quanta.corp-partner.google.com>2024-11-07 16:37:26 +0800
committerSubrata Banik <subratabanik@google.com>2024-11-18 06:55:05 +0000
commit7eb2a9ad4fb8013c0e8385d21bbefd8e3b4141e8 (patch)
tree8d33cf8ea7a3a61b12348891d106468062f15e78 /src/mainboard/google/rex/variants/kanix/gpio.c
parent55f0592ec27c993b3072a0bc67cf35d68dd1ec3f (diff)
mb/google/rex/var/kanix: Add USB A1 port support
BUG=b:366291025 TEST=emerge-rex coreboot pass Change-Id: Ie76b20cab9e15a1944451697ebf243c0f0cc4740 Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85105 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/mainboard/google/rex/variants/kanix/gpio.c')
-rw-r--r--src/mainboard/google/rex/variants/kanix/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/rex/variants/kanix/gpio.c b/src/mainboard/google/rex/variants/kanix/gpio.c
index b512c196da..202dae65e6 100644
--- a/src/mainboard/google/rex/variants/kanix/gpio.c
+++ b/src/mainboard/google/rex/variants/kanix/gpio.c
@@ -205,8 +205,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_E07, NONE),
/* GPP_E08 : NC net. */
PAD_NC(GPP_E08, NONE),
- /* GPP_E09 : SOC_PEN_DETECT */
- PAD_CFG_GPI_SCI_LOCK(GPP_E09, NONE, EDGE_SINGLE, NONE, LOCK_CONFIG),
+ /* GPP_E09 : [] ==> USB_OC0# */
+ PAD_CFG_NF_LOCK(GPP_E09, NONE, NF1, LOCK_CONFIG),
/* GPP_E10 : [] ==> SOC_FPMCU_INT_L */
PAD_CFG_GPI_IRQ_WAKE(GPP_E10, NONE, PWROK, LEVEL, INVERT),
/* GPP_E11 : [] ==> MEM_STRAP_0 */