EricR Lai has uploaded this change for review.

View Change

mb/google/deltaur: Add BT reset gpio

Harrison Peak (HrP) 9560 module need 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
---
M src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
M src/mainboard/google/deltaur/variants/baseboard/gpio.c
2 files changed, 2 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/40831/1
diff --git a/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb b/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
index 498266e..2aee78f 100644
--- a/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/deltaur/variants/baseboard/devicetree.cb
@@ -229,6 +229,7 @@
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 a96e702..62b6559e 100644
--- a/src/mainboard/google/deltaur/variants/baseboard/gpio.c
+++ b/src/mainboard/google/deltaur/variants/baseboard/gpio.c
@@ -32,7 +32,7 @@
/* 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# */

To view, visit change 40831. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I55ed1b095ba53c414c44088f4a6e7720b970e2f2
Gerrit-Change-Number: 40831
Gerrit-PatchSet: 1
Gerrit-Owner: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Gerrit-MessageType: newchange