diff options
author | Varun Upadhyay <varun.upadhyay@intel.com> | 2024-08-06 11:48:19 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-08-08 06:23:15 +0000 |
commit | 47bc698d36179f62de009715d7ea5f50a55865c6 (patch) | |
tree | 6ec79e49d2b9724f46439911347f7f35ed8b2074 /src/mainboard/google/brya | |
parent | 43df55ec8a97c67728da22c2e76584bead027cb1 (diff) |
mb/google/brya/var/trulo: Update ISH GPIO's configuration
This patch configures the GPIO pins to enable ISH on the Trulo device,
in accordance with schematic_20240607.
BUG=b:354607924
TEST=Builds successfully for google/trulo.
Change-Id: I3af478762e0a0aa35a2698e0ed87a4d8c24362f0
Signed-off-by: Varun Upadhyay <varun.upadhyay@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83781
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: V Sowmya <v.sowmya@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r-- | src/mainboard/google/brya/variants/trulo/gpio.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mainboard/google/brya/variants/trulo/gpio.c b/src/mainboard/google/brya/variants/trulo/gpio.c index 49fc02558e..7d0fc28fe0 100644 --- a/src/mainboard/google/brya/variants/trulo/gpio.c +++ b/src/mainboard/google/brya/variants/trulo/gpio.c @@ -62,9 +62,9 @@ static const struct pad_config gpio_table[] = { /* B4 : PROC_GP3 ==> EN_PP3300_UCAM_X */ PAD_CFG_GPO_LOCK(GPP_B4, 1, LOCK_CONFIG), /* B5 : GPP_B5 ==> ISH_I2C0_SCL */ - PAD_CFG_NF_LOCK(GPP_B5, NONE, NF1, LOCK_CONFIG), + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_B5, NONE, DEEP, NF1), /* B6 : GPP_B6 ==> ISH_I2C0_SDA */ - PAD_CFG_NF_LOCK(GPP_B6, NONE, NF1, LOCK_CONFIG), + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_B6, NONE, DEEP, NF1), /* B7 : GPP_B7 ==> NC */ PAD_NC_LOCK(GPP_B7, NONE, LOCK_CONFIG), /* B8 : GPP_B8 ==> NC */ @@ -118,9 +118,9 @@ static const struct pad_config gpio_table[] = { PAD_CFG_NF(GPP_C7, NONE, DEEP, NF1), /* D0 : ISH_GP0 ==> SOC_GSEN1_INT# */ - PAD_CFG_NF_LOCK(GPP_D0, NONE, NF1, LOCK_CONFIG), + PAD_CFG_NF(GPP_D0, NONE, DEEP, NF1), /* D1 : ISH_GP1 ==> SOC_GSEN2_INT# */ - PAD_CFG_NF_LOCK(GPP_D1, NONE, NF1, LOCK_CONFIG), + PAD_CFG_NF(GPP_D1, NONE, DEEP, NF1), /* D2 : ISH_GP2 ==> SEN_MODE_EC_PCH_INT_ODL */ PAD_CFG_GPI_LOCK(GPP_D2, NONE, LOCK_CONFIG), /* D3 : NC */ @@ -144,9 +144,9 @@ static const struct pad_config gpio_table[] = { /* D12 : ISH_SPI_MOSI ==> GPP_D12_STRAP */ PAD_NC_LOCK(GPP_D12, NONE, LOCK_CONFIG), /* D13 : UART0_ISH_RX_DBG_TX */ - PAD_CFG_NF_LOCK(GPP_D13, NONE, NF1, LOCK_CONFIG), + PAD_CFG_NF(GPP_D13, NONE, DEEP, NF1), /* D14 : UART0_ISH_TX_DBG_RX */ - PAD_CFG_NF_LOCK(GPP_D14, NONE, NF1, LOCK_CONFIG), + PAD_CFG_NF(GPP_D14, NONE, DEEP, NF1), /* D15 : GPP_D15 ==> SOC_TS_I2C_RST# */ PAD_CFG_GPO_LOCK(GPP_D15, 1, LOCK_CONFIG), /* D16 : ISH_UART0_CTS# ==> SOC_TS_I2C_INT# */ @@ -280,10 +280,10 @@ static const struct pad_config gpio_table[] = { PAD_CFG_NF(GPP_H10, NONE, DEEP, NF2), /* H11 : UART0_TXD ==> UART_2_CTXD_DRXD */ PAD_CFG_NF(GPP_H11, NONE, DEEP, NF2), - /* H12 : UART0_RTS# ==> NC */ - PAD_NC_LOCK(GPP_H12, NONE, LOCK_CONFIG), - /* H13 : UART0_CTS# ==> NC */ - PAD_NC_LOCK(GPP_H13, NONE, LOCK_CONFIG), + /* H12 : GPP_H12 ==> ISH_GP6B */ + PAD_CFG_NF(GPP_H12, NONE, DEEP, NF4), + /* H13 : GPP_H13 ==> ISH_GP7B */ + PAD_CFG_NF(GPP_H13, NONE, DEEP, NF4), /* H14 : Not available */ PAD_NC(GPP_H14, NONE), /* H15 : DDPB_CTRLCLK ==> SOC_DP2_CTRL_CLK */ |