From d84ce40f7dbdd53ea262d68718ad8a9ba54e1b1f Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Tue, 30 Mar 2021 16:27:59 -0600 Subject: [PATCH] mb/google/guybrush: Add Bluetooth configuration Configure the BT disable GPIO to logic low in order to enable Bluetooth. Add USB ACPI configuration for BT device. BUG=b:182201890 TEST=Build and boot to OS. Change-Id: I647c301e2db6d4a7c5c8cb31cbc47a44cba5e734 Signed-off-by: Karthikeyan Ramasubramanian Reviewed-on: https://review.coreboot.org/c/coreboot/+/51963 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/mainboard/google/guybrush/variants/baseboard/devicetree.cb | 1 + src/mainboard/google/guybrush/variants/baseboard/gpio.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb b/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb index b90ea0bafc..f5f9018bb5 100644 --- a/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb @@ -119,6 +119,7 @@ chip soc/amd/cezanne chip drivers/usb/acpi register "desc" = ""Bluetooth"" register "type" = "UPC_TYPE_INTERNAL" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_132)" device ref usb2_port6 on end end end diff --git a/src/mainboard/google/guybrush/variants/baseboard/gpio.c b/src/mainboard/google/guybrush/variants/baseboard/gpio.c index 05b57fc73c..719590fea2 100644 --- a/src/mainboard/google/guybrush/variants/baseboard/gpio.c +++ b/src/mainboard/google/guybrush/variants/baseboard/gpio.c @@ -143,7 +143,7 @@ static const struct soc_amd_gpio base_gpio_table[] = { /* CLK_REQ3_L */ PAD_NF(GPIO_131, CLK_REQ3_L, PULL_NONE), /* BT_DISABLE */ - PAD_GPO(GPIO_132, HIGH), + PAD_GPO(GPIO_132, LOW), /* UART1_TXD */ PAD_NF(GPIO_140, UART1_TXD, PULL_NONE), /* UART0_RXD */