From 88c5f9027581048695f96b8e2bdc73b2c2174ee8 Mon Sep 17 00:00:00 2001 From: ariel fang Date: Mon, 19 Jul 2021 15:53:49 +0800 Subject: mb/google/brya/variants/primus: Update two GPIOs 1. Move M2_SSD_PLN_L to GPP_D3 for power loss notify function. 2. Set GPP_E21 as NC to remove LCLW_DET function BUG=b:190643562 Signed-off-by: Ariel Fang Change-Id: Id3c60adeb5d35c79a1c700937f93a80ad3587c5e Reviewed-on: https://review.coreboot.org/c/coreboot/+/56420 Reviewed-by: Tim Wawrzynczak Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/variants/primus/gpio.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/brya/variants/primus/gpio.c b/src/mainboard/google/brya/variants/primus/gpio.c index 21ffedfaacb6..d07dd0e83337 100644 --- a/src/mainboard/google/brya/variants/primus/gpio.c +++ b/src/mainboard/google/brya/variants/primus/gpio.c @@ -27,8 +27,8 @@ static const struct pad_config override_gpio_table[] = { /* C4 : SML0DATA ==> NC */ PAD_NC(GPP_C4, NONE), - /* D3 : ISH_GP3 ==> NC */ - PAD_NC(GPP_D3, NONE), + /* D3 : ISH_GP3 ==> M2_SSD_PLN_L */ + PAD_CFG_GPO(GPP_D3, 1, PLTRST), /* D5 : SRCCLKREQ0# ==> SSD_CLKREQ_ODL */ PAD_CFG_NF(GPP_D5, NONE, DEEP, NF1), /* D6 : SRCCLKREQ1# ==> NC */ @@ -48,6 +48,8 @@ static const struct pad_config override_gpio_table[] = { PAD_NC(GPP_E17, NONE), /* E20 : USB_C1_LSX_SOC_TX ==> EN_PP3300_eMMC */ PAD_CFG_GPO(GPP_E20, 1, DEEP), + /* E21 : USB_C1_LSX_SOC_RX_STRAP ==> NC */ + PAD_NC(GPP_E21, NONE), /* F19 : SRCCLKREQ6# ==> EMMC_CLKREQ_ODL */ PAD_CFG_NF(GPP_F19, NONE, DEEP, NF1), -- cgit v1.2.3