mb/google/dedede: Add BT Disable GPIO configuration

Disable the BT module in bootblock and enable it in ramstage. This
allows for loading the BT firmware during reboot.

TEST=Build and boot the mainboard.

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Change-Id: I0406a68ffcab2675a1aedb212cb7c8508a5b61fc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39446
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Karthikeyan Ramasubramanian 2020-03-10 22:00:24 -06:00 committed by Martin Roth
parent f9c6a8821f
commit 136e0cbbc1
2 changed files with 5 additions and 1 deletions

View File

@ -190,6 +190,7 @@ chip soc/intel/tigerlake
chip drivers/usb/acpi
register "desc" = ""Bluetooth""
register "type" = "UPC_TYPE_INTERNAL"
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H19)"
device usb 2.4 on end
end
chip drivers/usb/acpi

View File

@ -328,7 +328,7 @@ static const struct pad_config gpio_table[] = {
/* H18 : WLAN_DISABLE_L */
PAD_NC(GPP_H18, NONE),
/* H19 : BT_DISABLE_L */
PAD_NC(GPP_H19, NONE),
PAD_CFG_GPO(GPP_H19, 1, DEEP),
/* R0 : I2S_HP_BCLK */
PAD_NC(GPP_R0, NONE),
@ -409,6 +409,9 @@ static const struct pad_config early_gpio_table[] = {
PAD_CFG_GPI(GPP_C4, NONE, DEEP),
/* C5 : RAM_STRAP_3 */
PAD_CFG_GPI(GPP_C5, NONE, DEEP),
/* H19 : BT_DISABLE_L */
PAD_CFG_GPO(GPP_H19, 0, DEEP),
};
const struct pad_config *__weak variant_gpio_table(size_t *num)