summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/rex/variants/rex0/gpio.c8
-rw-r--r--src/mainboard/google/rex/variants/rex0/overridetree.cb11
2 files changed, 15 insertions, 4 deletions
diff --git a/src/mainboard/google/rex/variants/rex0/gpio.c b/src/mainboard/google/rex/variants/rex0/gpio.c
index 53cd05d52d..5ead7ef8e0 100644
--- a/src/mainboard/google/rex/variants/rex0/gpio.c
+++ b/src/mainboard/google/rex/variants/rex0/gpio.c
@@ -239,8 +239,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_E16, NONE),
/* GPP_E17 : [] ==> EN_HPS_PWR */
PAD_CFG_GPO(GPP_E17, 1, DEEP),
- /* GPP_E22 : net EN_PP3300_WLAN is not present in the given design */
- PAD_NC(GPP_E22, NONE),
+ /* GPP_E22 : [] ==> EN_PP3300_WLAN */
+ PAD_CFG_GPO(GPP_E22, 1, DEEP),
/* GPP_F00 : [] ==> CNV_BRI_DT_R */
PAD_CFG_NF(GPP_F00, NONE, DEEP, NF1),
@@ -260,8 +260,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPO(GPP_F07, 0, DEEP),
/* GPP_F08 : [] ==> WLAN_PERST_L */
PAD_CFG_GPO(GPP_F08, 1, DEEP),
- /* GPP_F09 : [] ==> EN_PP3300_WLAN */
- PAD_CFG_GPO(GPP_F09, 1, DEEP),
+ /* GPP_F09 : [] ==> WLAN_PE_WAKE_ODL */
+ PAD_CFG_GPI_IRQ_WAKE(GPP_F09, NONE, PLTRST, LEVEL, INVERT),
/* GPP_F10 : [] ==> WWAN_PCIE_WAKE_ODL */
PAD_CFG_GPI_IRQ_WAKE(GPP_F10, NONE, PLTRST, LEVEL, INVERT),
/* GPP_F11 : GSP1_SOC_CLK_R */
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb
index 57e872854e..0ef8fe221f 100644
--- a/src/mainboard/google/rex/variants/rex0/overridetree.cb
+++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb
@@ -435,6 +435,17 @@ chip soc/intel/meteorlake
.clk_req = 5,
.flags = PCIE_RP_HOTPLUG | PCIE_RP_LTR | PCIE_RP_AER,
}"
+ chip drivers/wifi/generic
+ register "wake" = "GPE0_DW2_09"
+ register "add_acpi_dma_property" = "true"
+ device pci 00.0 on end
+ end
+ chip soc/intel/common/block/pcie/rtd3
+ register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E22)"
+ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F08)"
+ register "srcclk_pin" = "5"
+ device generic 0 on end
+ end
end #PCIE5 WLAN card
device ref pcie_rp6 on
probe CELLULAR CELLULAR_PCIE