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 <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86565
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sean Rhodes 2025-02-23 20:01:44 +00:00
commit b84ad781f2

View file

@ -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)