summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/baseboard/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/brya/variants/baseboard/gpio.c')
-rw-r--r--src/mainboard/google/brya/variants/baseboard/gpio.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/gpio.c b/src/mainboard/google/brya/variants/baseboard/gpio.c
index f468f4291e..589b754244 100644
--- a/src/mainboard/google/brya/variants/baseboard/gpio.c
+++ b/src/mainboard/google/brya/variants/baseboard/gpio.c
@@ -26,7 +26,7 @@ static const struct pad_config gpio_table[] = {
/* A10 : ESPI_RESET# ==> ESPI_PCH_RST_EC_L */
/* A11 : PMC_I2C_SDA ==> EN_SPKR_PA */
PAD_CFG_GPO(GPP_A11, 1, DEEP),
- /* A12 : SATAXPCIE1 ==> EN_PPVAR_WWAN */
+ /* A12 : SATAXPCIE1 ==> EN_PP3300_WWAN */
PAD_CFG_GPO(GPP_A12, 1, DEEP),
/* A13 : PMC_I2C_SCL ==> GSC_PCH_INT_ODL */
PAD_CFG_GPI_APIC(GPP_A13, NONE, PLTRST, LEVEL, INVERT),
@@ -55,8 +55,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPP_B0, NONE, DEEP, NF1),
/* B1 : SOC_VID1 */
PAD_CFG_NF(GPP_B1, NONE, DEEP, NF1),
- /* B2 : VRALERT# ==> NC */
- PAD_NC(GPP_B2, NONE),
+ /* B2 : VRALERT# ==> M2_SSD_PLA_L */
+ PAD_CFG_GPO(GPP_B2, 1, PLTRST),
/* B3 : PROC_GP2 ==> SAR2_INT_L */
PAD_CFG_GPI_INT(GPP_B3, NONE, PLTRST, LEVEL),
/* B4 : PROC_GP3 ==> SSD_PERST_L */
@@ -81,8 +81,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPP_B13, NONE, DEEP, NF1),
/* B14 : SPKR ==> GPP_B14_STRAP */
PAD_NC(GPP_B14, NONE),
- /* B15 : TIME_SYNC0 ==> NC */
- PAD_NC(GPP_B15, NONE),
+ /* B15 : TIME_SYNC0 ==> FP_USER_PRES_FP_L */
+ PAD_CFG_GPI(GPP_B15, NONE, PLTRST),
/* B16 : I2C5_SDA ==> PCH_I2C_TCHPAD_SDA */
PAD_CFG_NF(GPP_B16, NONE, DEEP, NF2),
/* B17 : I2C5_SCL ==> PCH_I2C_TCHPAD_SCL */
@@ -106,10 +106,10 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPO(GPP_C1, 0, DEEP),
/* C2 : SMBALERT# ==> GPP_C2_STRAP */
PAD_NC(GPP_C2, NONE),
- /* C3 : SML0CLK ==> NC */
- PAD_NC(GPP_C3, NONE),
- /* C4 : SML0DATA ==> NC */
- PAD_NC(GPP_C4, NONE),
+ /* C3 : SML0CLK ==> EN_UCAM_PWR */
+ PAD_CFG_GPO(GPP_C3, 0, DEEP),
+ /* C4 : SML0DATA ==> EN_UCAM_SENR_PWR */
+ PAD_CFG_GPO(GPP_C4, 0, DEEP),
/* C5 : SML0ALERT# ==> GPP_C5_BOOT_STRAP0 */
PAD_NC(GPP_C5, NONE),
/* C6 : SML1CLK ==> USI_REPORT_EN */
@@ -143,10 +143,10 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPO(GPP_D11, 1, DEEP),
/* D12 : ISH_SPI_MOSI ==> GPP_D12_STRAP */
PAD_NC(GPP_D12, NONE),
- /* D13 : ISH_UART0_RXD ==> PCH_I2C_CAM_SDA */
- PAD_CFG_NF(GPP_D13, NONE, DEEP, NF3),
- /* D14 : ISH_UART0_TXD ==> PCH_I2C_CAM_SCL */
- PAD_CFG_NF(GPP_D14, NONE, DEEP, NF3),
+ /* D13 : ISH_UART0_RXD ==> CAM_PSW_L */
+ PAD_CFG_GPI_INT(GPP_D13, NONE, PLTRST, EDGE_BOTH),
+ /* D14 : ISH_UART0_TXD ==> SPKR_INT_L */
+ PAD_CFG_GPI(GPP_D14, NONE, DEEP),
/* D15 : ISH_UART0_RTS# ==> EN_WCAM_SENR_PWR */
PAD_CFG_GPO(GPP_D15, 0, DEEP),
/* D16 : ISH_UART0_CTS# ==> EN_WCAM_PWR */
@@ -245,12 +245,12 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPI_IRQ_WAKE(GPP_F17, NONE, DEEP, LEVEL, INVERT),
/* F18 : THC1_SPI2_INT# ==> EC_IN_RW_OD */
PAD_CFG_GPI(GPP_F18, NONE, DEEP),
- /* F19 : SRCCLKREQ6# ==> WWAN_SIM1_DET_OD */
- PAD_CFG_GPI(GPP_F19, NONE, DEEP),
- /* F20 : EXT_PWR_GATE# ==> HPS_RST_R */
+ /* F19 : SRCCLKREQ6# ==> M2_SSD_PLN_L */
+ PAD_CFG_GPO(GPP_F19, 1, PLTRST),
+ /* F20 : EXT_PWR_GATE# ==> UCAM_RST_L */
PAD_CFG_GPO(GPP_F20, 0, DEEP),
- /* F21 : EXT_PWR_GATE2# ==> WAKE_ON_WWAN_ODL */
- PAD_CFG_GPI_IRQ_WAKE(GPP_F21, NONE, DEEP, LEVEL, INVERT),
+ /* F21 : EXT_PWR_GATE2# ==> WWAN_FCPO_L */
+ PAD_CFG_GPO(GPP_F21, 1, DEEP),
/* F22 : NC */
PAD_NC(GPP_F22, NONE),
/* F23 : NC */
@@ -298,8 +298,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPI_APIC(GPP_H19, NONE, PLTRST, LEVEL, NONE),
/* H20 : IMGCLKOUT1 ==> WLAN_PERST_L */
PAD_CFG_GPO(GPP_H20, 1, DEEP),
- /* H21 : IMGCLKOUT2 ==> WLAN_INT_L */
- PAD_CFG_GPI_APIC(GPP_H21, NONE, DEEP, EDGE_SINGLE, NONE),
+ /* H21 : IMGCLKOUT2 ==> UCAM_MCLK */
+ PAD_CFG_NF(GPP_H21, NONE, DEEP, NF1),
/* H22 : IMGCLKOUT3 ==> WCAM_MCLK_R */
PAD_CFG_NF(GPP_H22, NONE, DEEP, NF1),
/* H23 : SRCCLKREQ5# ==> WWAN_CLKREQ_ODL */
@@ -343,8 +343,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPD0, NONE, DEEP, NF1),
/* GPD1: ACPRESENT ==> PCH_ACPRESENT */
PAD_CFG_NF(GPD1, NONE, DEEP, NF1),
- /* GPD2: LAN_WAKE# ==> NC */
- PAD_NC(GPD2, NONE),
+ /* GPD2 : LAN_WAKE# ==> EC_PCH_WAKE_ODL */
+ PAD_CFG_NF(GPD2, NONE, DEEP, NF1),
/* GPD3: PWRBTN# ==> EC_PCH_PWR_BTN_ODL */
PAD_CFG_NF(GPD3, NONE, DEEP, NF1),
/* GPD4: SLP_S3# ==> SLP_S3_L */