summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2020-04-29 14:23:21 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-05-01 06:56:58 +0000
commit5874c7831cc5b14bbd97510009529af16108e23e (patch)
tree32b00d599edcad3d395e7e2c3b036eb95b75ef6f
parent7be0df8dd354d87c2482ac2d2cca29628297bd03 (diff)
downloadcoreboot-5874c7831cc5b14bbd97510009529af16108e23e.tar.xz
mb/google/deltaur: Add BT reset gpio
Harrison Peak (HrP) 9560 module needs a reset pin for BT power sequence. BUG=b:155248677 TEST=Boot into OS and check BT is functional. Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: I55ed1b095ba53c414c44088f4a6e7720b970e2f2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40831 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--src/mainboard/google/deltaur/variants/baseboard/devicetree.cb1
-rw-r--r--src/mainboard/google/deltaur/variants/baseboard/gpio.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb b/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
index e31c89b468..028b022a1b 100644
--- a/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
@@ -231,6 +231,7 @@ chip soc/intel/tigerlake
chip drivers/usb/acpi
register "desc" = ""M.2 2230 (BT)""
register "type" = "UPC_TYPE_INTERNAL"
+ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A13)"
device usb 2.9 on end
end
chip drivers/usb/acpi
diff --git a/src/mainboard/google/deltaur/variants/baseboard/gpio.c b/src/mainboard/google/deltaur/variants/baseboard/gpio.c
index a96e702fac..62b6559e46 100644
--- a/src/mainboard/google/deltaur/variants/baseboard/gpio.c
+++ b/src/mainboard/google/deltaur/variants/baseboard/gpio.c
@@ -32,7 +32,7 @@ static const struct pad_config gpio_table[] = {
/* A12 : GPP_A12 ==> M2280_PCIE_SATA# */
PAD_CFG_NF(GPP_A12, NONE, DEEP, NF1),
/* A13 : GPP_A13 ==> PCH_BT_RADIO_DIS# */
- PAD_CFG_GPO(GPP_A13, 0, DEEP),
+ PAD_CFG_GPO(GPP_A13, 1, DEEP),
/* A14 : GPP_A14 ==> USB_OC1# */
PAD_CFG_NF(GPP_A14, NONE, DEEP, NF1),
/* A15 : GPP_A15 ==> USB_OC2# */