Stanley Wu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/49348 )
Change subject: mb/google/dedede/var/boten: Update gpio config for boten. ......................................................................
mb/google/dedede/var/boten: Update gpio config for boten.
Correct GPIO settings as below reason: 1. GPP_G7 not being used but set to NF. 2. GPP_B7 should configure as WWAN SAR detect ODL, but set to NC 3. GPP_C22 and GPP_C23 is set to NC but internal pull down to 20K
BUG=b:177283756 BRANCH=dedede TEST=emerge-dedede coreboot chromeos-bootimage and boot into emmc
Change-Id: Idf25674efa2336bde98c5abaff278484fd71ea8b Signed-off-by: Stanley Wu stanley1.wu@lcfc.corp-partner.google.com --- M src/mainboard/google/dedede/variants/boten/gpio.c 1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/49348/1
diff --git a/src/mainboard/google/dedede/variants/boten/gpio.c b/src/mainboard/google/dedede/variants/boten/gpio.c index 09c7a5d..9fc5670 100644 --- a/src/mainboard/google/dedede/variants/boten/gpio.c +++ b/src/mainboard/google/dedede/variants/boten/gpio.c @@ -16,6 +16,10 @@ PAD_NC(GPP_C18, NONE), /* C19 : AP_I2C_EMR_SCL */ PAD_NC(GPP_C19, NONE), + /* C22 : UART2_RTS_N */ + PAD_NC(GPP_C22, NONE), + /* C23 : UART2_CTS_N */ + PAD_NC(GPP_C23, NONE),
/* D12 : WCAM_RST_L */ PAD_NC(GPP_D12, NONE), @@ -37,12 +41,17 @@ /* E11 : AP_I2C_SUB_INT_ODL */ PAD_CFG_GPI_INT(GPP_E11, NONE, PLTRST, EDGE_BOTH),
+ /* G7 : SD_SDIO_WP */ + PAD_NC(GPP_G7, NONE), + /* H6 : AP_I2C_CAM_SDA */ PAD_NC(GPP_H6, NONE), /* H7 : AP_I2C_CAM_SCL */ PAD_NC(GPP_H7, NONE), /* H17 : WWAN_RST_L => LTE_RESET_R_ODL */ PAD_CFG_GPO(GPP_H17, 0, PLTRST), + /* B7 : WWAN_SAR_DETECT_R_ODL */ + PAD_CFG_GPO(GPP_B7, 1, DEEP), };
const struct pad_config *variant_override_gpio_table(size_t *num)