Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85511?usp=email )
Change subject: mb/google/rex/var/kanix: Enable/Disable PCIE WLAN based on fw_config ......................................................................
mb/google/rex/var/kanix: Enable/Disable PCIE WLAN based on fw_config
BUG=b:377377766 TEST=emerge-rex coreboot pass
Change-Id: I2020c431444f21d82f8722d24065558a62e0cb93 Signed-off-by: Tyler Wang tyler.wang@quanta.corp-partner.google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/85511 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Kapil Porwal kapilporwal@google.com --- M src/mainboard/google/rex/variants/kanix/overridetree.cb 1 file changed, 7 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Kapil Porwal: Looks good to me, approved
diff --git a/src/mainboard/google/rex/variants/kanix/overridetree.cb b/src/mainboard/google/rex/variants/kanix/overridetree.cb index d23589b..244f974 100644 --- a/src/mainboard/google/rex/variants/kanix/overridetree.cb +++ b/src/mainboard/google/rex/variants/kanix/overridetree.cb @@ -533,6 +533,7 @@ end end #I2C5 device ref pcie_rp5 on + probe WIFI_TYPE WIFI_PCIE # Enable WLAN Card PCIE 5 using clk 5 register "pcie_rp[PCH_RP(5)]" = "{ .clk_src = 5, @@ -543,13 +544,17 @@ register "wake" = "GPE0_DW2_09" register "add_acpi_dma_property" = "true" use usb2_port10 as bluetooth_companion - device pci 00.0 on end + device pci 00.0 on + probe WIFI_TYPE WIFI_PCIE + 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 + device generic 0 on + probe WIFI_TYPE WIFI_PCIE + end end end #PCIE5 WLAN card device ref pcie_rp6 on