From 5874c7831cc5b14bbd97510009529af16108e23e Mon Sep 17 00:00:00 2001 From: Eric Lai Date: Wed, 29 Apr 2020 14:23:21 +0800 Subject: 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 Change-Id: I55ed1b095ba53c414c44088f4a6e7720b970e2f2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40831 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Paul Menzel --- src/mainboard/google/deltaur/variants/baseboard/devicetree.cb | 1 + src/mainboard/google/deltaur/variants/baseboard/gpio.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/deltaur/variants') 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# */ -- cgit v1.2.3