From 5a0e7f5be09465b38e3b2a5ab179629c2a48f4cf Mon Sep 17 00:00:00 2001 From: Poornima Tom Date: Fri, 14 Jun 2024 03:23:43 +0530 Subject: mb/google/nissa/var/nivviks: Enable wifi7 on pcie root port Enable pcie based, discreete wifi7 on root port4. BUG=b:345596420 BRANCH=NONE TEST=Verified Wifi7 module detection based on cbi settings Change-Id: I8c2f4a750a1cb00c587bce21bc83ee583d0f4341 Signed-off-by: Poornima Tom Reviewed-on: https://review.coreboot.org/c/coreboot/+/83075 Reviewed-by: Eric Lai Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- .../google/brya/variants/nivviks/overridetree.cb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/brya/variants/nivviks/overridetree.cb b/src/mainboard/google/brya/variants/nivviks/overridetree.cb index 45280167f7..22dd9ca2ac 100644 --- a/src/mainboard/google/brya/variants/nivviks/overridetree.cb +++ b/src/mainboard/google/brya/variants/nivviks/overridetree.cb @@ -503,6 +503,30 @@ chip soc/intel/alderlake device generic 0 on end end end + device ref pcie_rp4 on + probe WIFI_CATEGORY WIFI_7 + # Enable WLAN Card PCIE 4 using clk 2 + register "pch_pcie_rp[PCH_RP(4)]" = "{ + .clk_src = 2, + .clk_req = 2, + .flags = PCIE_RP_LTR | PCIE_RP_AER, + }" + chip drivers/wifi/generic + register "wake" = "GPE0_DW1_03" + register "add_acpi_dma_property" = "true" + device pci 00.0 on + probe WIFI_CATEGORY WIFI_7 + end + end + chip soc/intel/common/block/pcie/rtd3 + register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B11)" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H20)" + register "srcclk_pin" = "2" + device generic 0 on + probe WIFI_CATEGORY WIFI_7 + end + end + end #PCIE4 WLAN card device ref pcie_rp7 on # Enable SD Card PCIe 7 using clk 3 register "pch_pcie_rp[PCH_RP(7)]" = "{ -- cgit v1.2.3