summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants
diff options
context:
space:
mode:
authorMaulik V Vaghela <maulik.v.vaghela@intel.com>2021-06-08 18:10:59 +0530
committerPatrick Georgi <pgeorgi@google.com>2021-07-21 16:24:33 +0000
commit51c9e3639f30c5c5155ee49cbce31b2519794e6b (patch)
tree6c05e3d6cf620fe16b540b444f9d3c4024358ce4 /src/mainboard/google/brya/variants
parent819afd8b95f9e09a1bb0b16a0762bd67c4dc610e (diff)
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 <maulik.v.vaghela@intel.com> Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55317 Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r--src/mainboard/google/brya/variants/baseboard/gpio.c13
1 files changed, 13 insertions, 0 deletions
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 */