summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2021-03-30 16:27:59 -0600
committerMartin Roth <martinroth@google.com>2021-04-05 19:47:15 +0000
commitd84ce40f7dbdd53ea262d68718ad8a9ba54e1b1f (patch)
tree8ab07ddbfe3906015a54d366d5bbcafd016d25c6
parent92e66cc4e30f25e580ca25fa1c9a596ff53d83a2 (diff)
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 <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51963 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/mainboard/google/guybrush/variants/baseboard/devicetree.cb1
-rw-r--r--src/mainboard/google/guybrush/variants/baseboard/gpio.c2
2 files changed, 2 insertions, 1 deletions
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 */