diff options
-rw-r--r-- | src/mainboard/google/brya/variants/omnigul/gpio.c | 22 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/omnigul/overridetree.cb | 3 |
2 files changed, 23 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/omnigul/gpio.c b/src/mainboard/google/brya/variants/omnigul/gpio.c index f65f8ab353..704ef8fae7 100644 --- a/src/mainboard/google/brya/variants/omnigul/gpio.c +++ b/src/mainboard/google/brya/variants/omnigul/gpio.c @@ -105,9 +105,9 @@ static const struct pad_config override_gpio_table[] = { /* D14 : ISH_UART0_TXD ==> NC */ PAD_NC_LOCK(GPP_D14, NONE, LOCK_CONFIG), /* D15 : ISH_UART0_RTS# ==> GPP_D15 */ - PAD_CFG_GPI_LOCK(GPP_D15, NONE, LOCK_CONFIG), + PAD_NC_LOCK(GPP_D15, NONE, LOCK_CONFIG), /* D16 : ISH_UART0_CTS# ==> GPP_D16 */ - PAD_CFG_GPI_LOCK(GPP_D16, NONE, LOCK_CONFIG), + PAD_NC_LOCK(GPP_D16, NONE, LOCK_CONFIG), /* D17 : UART1_RXD ==> GPP_D17 */ PAD_CFG_GPI_LOCK(GPP_D17, NONE, LOCK_CONFIG), /* D18 : UART1_TXD ==> NC */ @@ -255,6 +255,24 @@ static const struct pad_config override_gpio_table[] = { /* GPD10: SLP_S5# ==> SLP_S5_L */ /* GPD11: LANPHYC ==> GPD11 */ PAD_NC(GPD11, NONE), + + /* Configure the virtual CNVi Bluetooth I2S GPIO pads */ + /* BT_I2S_BCLK */ + PAD_CFG_NF(GPP_VGPIO_30, NONE, DEEP, NF3), + /* BT_I2S_SYNC */ + PAD_CFG_NF(GPP_VGPIO_31, NONE, DEEP, NF3), + /* BT_I2S_SDO */ + PAD_CFG_NF(GPP_VGPIO_32, NONE, DEEP, NF3), + /* BT_I2S_SDI */ + PAD_CFG_NF(GPP_VGPIO_33, NONE, DEEP, NF3), + /* SSP2_SCLK */ + PAD_CFG_NF(GPP_VGPIO_34, NONE, DEEP, NF1), + /* SSP2_SFRM */ + PAD_CFG_NF(GPP_VGPIO_35, NONE, DEEP, NF1), + /* SSP_TXD */ + PAD_CFG_NF(GPP_VGPIO_36, NONE, DEEP, NF1), + /* SSP_RXD */ + PAD_CFG_NF(GPP_VGPIO_37, NONE, DEEP, NF1), }; /* Early pad configuration in bootblock */ diff --git a/src/mainboard/google/brya/variants/omnigul/overridetree.cb b/src/mainboard/google/brya/variants/omnigul/overridetree.cb index 53f3feacd6..79e948d8dd 100644 --- a/src/mainboard/google/brya/variants/omnigul/overridetree.cb +++ b/src/mainboard/google/brya/variants/omnigul/overridetree.cb @@ -44,6 +44,9 @@ chip soc/intel/alderlake .configure_ext_fivr = 1, }" + # Enable the Cnvi BT Audio Offload + register "cnvi_bt_audio_offload" = "1" + device domain 0 on device ref i2c0 on chip drivers/i2c/generic |