From b84ad781f2a93f3c2e79a1bceb227b59f0d48e5a Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Sun, 23 Feb 2025 20:01:44 +0000 Subject: [PATCH] mb/starlabs/byte_adl: Reconfigure the vGPIO's for CNVi BT Manually confgiure the vGPIO's related to CNVi for USB Bluetooth instead of UART. Change-Id: I7d6007e40b2edbadeb5611f6cd67df0c1e6ee8a6 Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/86565 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- .../starlabs/byte_adl/variants/mk_ii/gpio.c | 32 ++++++++++++------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/src/mainboard/starlabs/byte_adl/variants/mk_ii/gpio.c b/src/mainboard/starlabs/byte_adl/variants/mk_ii/gpio.c index a1b95d020d..71b706d270 100644 --- a/src/mainboard/starlabs/byte_adl/variants/mk_ii/gpio.c +++ b/src/mainboard/starlabs/byte_adl/variants/mk_ii/gpio.c @@ -451,26 +451,36 @@ const struct pad_config gpio_table[] = { /* R7: Not Connected */ PAD_NC(GPP_R7, NONE), - /* BT_EN */ + /* CNV_BTEN */ PAD_CFG_GPO(GPP_VGPIO_0, 1, DEEP), - - /* CNVi BT UART0 */ + /* CNV_BT_HOST_WAKEB */ + PAD_NC(GPP_VGPIO_4, NONE), + /* CNV_BT_IF_SELECT */ + PAD_CFG_GPO(GPP_VGPIO_5, 1, DEEP), + /* vCNV_BT_UART_TXD */ PAD_NC(GPP_VGPIO_6, NONE), + /* vCNV_BT_UART_RXD */ PAD_NC(GPP_VGPIO_7, NONE), + /* vCNV_BT_UART_CTS_B */ PAD_NC(GPP_VGPIO_8, NONE), + /* vCNV_BT_UART_RTS_B */ PAD_NC(GPP_VGPIO_9, NONE), - - /* CNVi UART0 */ + /* vUART0_TXD */ PAD_NC(GPP_VGPIO_18, NONE), + /* vUART0_RXD */ PAD_NC(GPP_VGPIO_19, NONE), + /* vUART0_CTS_B */ PAD_NC(GPP_VGPIO_20, NONE), + /* vUART0_RTS_B */ PAD_NC(GPP_VGPIO_21, NONE), - - /* BT I2S */ - PAD_CFG_NF(GPP_VGPIO_30, NONE, DEEP, NF3), - PAD_CFG_NF(GPP_VGPIO_31, NONE, DEEP, NF3), - PAD_CFG_NF(GPP_VGPIO_32, NONE, DEEP, NF3), - PAD_CFG_NF(GPP_VGPIO_33, NONE, DEEP, NF3), + /* BT_I2S_BCLK */ + PAD_NC(GPP_VGPIO_30, NONE), + /* BT_I2S_SYNC */ + PAD_NC(GPP_VGPIO_31, NONE), + /* BT_I2S_SDO */ + PAD_NC(GPP_VGPIO_32, NONE), + /* BT_I2S_SDI */ + PAD_NC(GPP_VGPIO_33, NONE), }; const struct pad_config *variant_gpio_table(size_t *num)