diff options
author | Ashish Kumar Mishra <ashish.k.mishra@intel.com> | 2024-02-29 15:47:22 +0530 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-03-09 23:28:01 +0000 |
commit | 7e5db6da8940eb22a133eba40d55ad31ea8ee706 (patch) | |
tree | 1918bbc15a73e4d1dd4be1f0c789a06ac4e33c5d /src/mainboard/google/brox | |
parent | 89e056bdf19f2d9b6090bd78d2d66fef9e9e77a1 (diff) |
mb/google/brox: Enable Wake on WLAN for SKU1
For SKU1, wake pin is WLAN_PCIE_WAKE_ODL.
Update gpio config and corresponding ACPI for WoWLAN.
BUG=b:327379404
BRANCH=None
TEST=Boot image on SKU1 and check Wake on WLAN from S0ix.
Change-Id: I04c35da2c9ac57cafdf7f7a35d83ab2e7a05fe4a
Signed-off-by: Ashish Kumar Mishra <ashish.k.mishra@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80780
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
Diffstat (limited to 'src/mainboard/google/brox')
-rw-r--r-- | src/mainboard/google/brox/variants/baseboard/brox/gpio.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/brox/variants/brox/overridetree.cb | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/brox/variants/baseboard/brox/gpio.c b/src/mainboard/google/brox/variants/baseboard/brox/gpio.c index 337fde1b01..760c287d06 100644 --- a/src/mainboard/google/brox/variants/baseboard/brox/gpio.c +++ b/src/mainboard/google/brox/variants/baseboard/brox/gpio.c @@ -91,7 +91,7 @@ static const struct pad_config gpio_table[] = { /* GPP_B2 : [NF1: VRALERT# NF6: USB_C_GPP_B2] ==> VRALERT_L (NC) */ PAD_NC(GPP_B2, NONE), /* GPP_B3 : [NF1: PROC_GP2 NF4: ISH_GP4B NF6: USB_C_GPP_B3] ==> WLAN_PCIE_WAKE_ODL */ - PAD_CFG_GPI_INT(GPP_B3, NONE, PLTRST, EDGE_SINGLE), + PAD_CFG_GPI_IRQ_WAKE(GPP_B3, NONE, PLTRST, EDGE_SINGLE, INVERT), /* GPP_B4 : PROC_GP3/ISH_GP5B ==> BOARD_ID9 (NC) */ PAD_NC(GPP_B4, NONE), /* GPP_B5 : [NF1: ISH_I2C0_SDA NF2: I2C2_SDA NF6: USB_C_GPP_B5] ==> ISH_I2C_SENSOR_SDA */ diff --git a/src/mainboard/google/brox/variants/brox/overridetree.cb b/src/mainboard/google/brox/variants/brox/overridetree.cb index c41be4b195..2be2aa687f 100644 --- a/src/mainboard/google/brox/variants/brox/overridetree.cb +++ b/src/mainboard/google/brox/variants/brox/overridetree.cb @@ -270,6 +270,13 @@ chip soc/intel/alderlake .clk_req = 1, .flags = PCIE_RP_LTR | PCIE_RP_AER, }" + chip drivers/wifi/generic + register "wake" = "GPE0_DW0_03" + register "add_acpi_dma_property" = "true" + device pci 00.0 on + probe WIFI_BT WIFI_BT_PCIE + end + end chip soc/intel/common/block/pcie/rtd3 # enable_gpio is controlled by the EC with EC_EN_PP3300_WLAN register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H2)" |