From 51c9e3639f30c5c5155ee49cbce31b2519794e6b Mon Sep 17 00:00:00 2001 From: Maulik V Vaghela Date: Tue, 8 Jun 2021 18:10:59 +0530 Subject: [PATCH] mb/google/brya: Program Unused Cnvi BT related GPIOs to NC Program unused Cnvi BT UART GPIOs as NC since we are using Bluetooth over USB mode for Brya. Change-Id: I33a37ceb8a91603d2a193de5bdd1b6885eb3c319 Signed-off-by: Maulik V Vaghela Signed-off-by: Sugnan Prabhu S Reviewed-on: https://review.coreboot.org/c/coreboot/+/55317 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/variants/baseboard/gpio.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/mainboard/google/brya/variants/baseboard/gpio.c b/src/mainboard/google/brya/variants/baseboard/gpio.c index 3800ec0ae5..bb74526add 100644 --- a/src/mainboard/google/brya/variants/baseboard/gpio.c +++ b/src/mainboard/google/brya/variants/baseboard/gpio.c @@ -363,6 +363,19 @@ static const struct pad_config gpio_table[] = { PAD_CFG_NF(GPD10, NONE, DEEP, NF1), /* GPD11: LANPHYC ==> WWAN_CONFIG1 */ PAD_CFG_GPI(GPD11, NONE, DEEP), + + /* Virtual GPIO */ + /* Put unused Cnvi BT UART lines in NC mode since we use USB mode. */ + PAD_NC(GPP_VGPIO_6, NONE), + PAD_NC(GPP_VGPIO_7, NONE), + PAD_NC(GPP_VGPIO_8, NONE), + PAD_NC(GPP_VGPIO_9, NONE), + + /* Put unused Cnvi UART0 lines in NC mode since we use USB mode. */ + PAD_NC(GPP_VGPIO_18, NONE), + PAD_NC(GPP_VGPIO_19, NONE), + PAD_NC(GPP_VGPIO_20, NONE), + PAD_NC(GPP_VGPIO_21, NONE), }; /* Early pad configuration in bootblock */