From b8f49c6d380c6a07e8addd3910b4730c9e14840b Mon Sep 17 00:00:00 2001 From: Tony Huang Date: Wed, 21 Feb 2024 14:51:57 +0800 Subject: mb/google/rex/variants/deku: Enable PCIe wifi device BUG=b:320203629 BRANCH=firmware-rex-15709.B TEST=emerge-ovis coreboot built FW image correctly. Change-Id: I8db065e25e21406f1966d8020a3b926b3a62ae12 Signed-off-by: Tony Huang Reviewed-on: https://review.coreboot.org/c/coreboot/+/80685 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal --- src/mainboard/google/rex/variants/deku/overridetree.cb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/mainboard/google/rex/variants/deku/overridetree.cb b/src/mainboard/google/rex/variants/deku/overridetree.cb index 711d3b67db89..0a383eb9b1d4 100644 --- a/src/mainboard/google/rex/variants/deku/overridetree.cb +++ b/src/mainboard/google/rex/variants/deku/overridetree.cb @@ -60,6 +60,19 @@ chip soc/intel/meteorlake device generic 0 alias dptf_policy on end end end + device ref pcie_rp5 on + # Enable WLAN Card PCIE 5 using clk 5 + register "pcie_rp[PCH_RP(5)]" = "{ + .clk_src = 5, + .clk_req = 5, + .flags = PCIE_RP_LTR | PCIE_RP_AER, + }" + chip drivers/wifi/generic + register "wake" = "GPE0_DW1_05" # GPP_E05 + register "add_acpi_dma_property" = "true" + device pci 00.0 on end + end + end #PCIE5 WLAN card device ref pcie_rp7 on # Enable LAN1 Card PCIE 7 using clk 2 register "pcie_rp[PCH_RP(7)]" = "{ -- cgit v1.2.3