From 975c5e5ab0f663c4f7a8051c250e8758cecd020e Mon Sep 17 00:00:00 2001 From: Reka Norman Date: Mon, 14 Feb 2022 11:10:41 +1100 Subject: mb/google/brya/var/nereid: Disable LTE-related GPIOs Nereid does not support the LTE sub-board, so disable the LTE-related GPIOs. BUG=b:197479026 TEST=abuild -a -x -c max -p none -t google/brya -b nereid Signed-off-by: Reka Norman Change-Id: I6d6b5babeefb7c4b79adab5e756f37616c2338d6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61906 Tested-by: build bot (Jenkins) Reviewed-by: Kangheui Won --- src/mainboard/google/brya/variants/nereid/gpio.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/google/brya/variants/nereid/gpio.c b/src/mainboard/google/brya/variants/nereid/gpio.c index 309a018d58..0f68ecf3b7 100644 --- a/src/mainboard/google/brya/variants/nereid/gpio.c +++ b/src/mainboard/google/brya/variants/nereid/gpio.c @@ -7,14 +7,32 @@ /* Pad configuration in ramstage */ static const struct pad_config override_gpio_table[] = { + /* A8 : WWAN_RF_DISABLE_ODL */ + PAD_NC(GPP_A8, NONE), + + /* B5 : SOC_I2C_SUB_SDA */ + PAD_NC(GPP_B5, NONE), + /* B6 : SOC_I2C_SUB_SCL */ + PAD_NC(GPP_B6, NONE), + /* D3 : WCAM_RST_L */ PAD_NC(GPP_D3, NONE), + /* D6 : WWAN_EN */ + PAD_NC(GPP_D6, NONE), /* D15 : EN_PP2800_WCAM_X */ PAD_NC(GPP_D15, NONE), /* D16 : EN_PP1800_PP1200_WCAM_X */ PAD_NC(GPP_D16, NONE), + + /* F12 : WWAN_RST_L */ + PAD_NC(GPP_F12, NONE), + + /* H19 : SOC_I2C_SUB_INT_ODL */ + PAD_NC(GPP_H19, NONE), /* H22 : WCAM_MCLK_R */ PAD_NC(GPP_H22, NONE), + /* H23 : WWAN_SAR_DETECT_ODL */ + PAD_NC(GPP_H23, NONE), }; /* Early pad configuration in bootblock */ -- cgit v1.2.3