From f930b9faaec9ebf4440e79d4eb289072d3cd13a0 Mon Sep 17 00:00:00 2001 From: Poornima Tom Date: Thu, 13 Jun 2024 17:49:00 +0530 Subject: mb/google/nissa/var/nivviks: Add fw_config fields for wifi6 and wifi7 Add a new fw config field for wifi category as WIFI_6, which is CNVi based and WIFI_7, which is PCIe based. Also, enable WIFI_6 for existing CNVi based wifi port as well as bluetooth port. BUG=b:345596420 BRANCH=NONE TEST=Verified Wifi6 module detection Change-Id: I4b218f772405bdb1b741b4d5e640d7b4f145cd76 Signed-off-by: Poornima Tom Reviewed-on: https://review.coreboot.org/c/coreboot/+/83074 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/mainboard/google/brya/variants/nivviks/overridetree.cb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (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 444a9a012e..45280167f7 100644 --- a/src/mainboard/google/brya/variants/nivviks/overridetree.cb +++ b/src/mainboard/google/brya/variants/nivviks/overridetree.cb @@ -20,6 +20,10 @@ fw_config option STYLUS_PRESENT 0 option STYLUS_ABSENT 1 end + field WIFI_CATEGORY 7 + option WIFI_6 0 # CNVi + option WIFI_7 1 # PCIe + end end chip soc/intel/alderlake @@ -289,6 +293,7 @@ chip soc/intel/alderlake register "enable_cnvi_ddr_rfim" = "true" device generic 0 on end end + probe WIFI_CATEGORY WIFI_6 end device ref i2c1 on chip drivers/i2c/hid @@ -628,7 +633,9 @@ chip soc/intel/alderlake register "type" = "UPC_TYPE_INTERNAL" register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" - device ref usb2_port10 on end + device ref usb2_port10 on + probe WIFI_CATEGORY WIFI_6 + end end chip drivers/usb/acpi register "desc" = ""USB3 Type-A Port A0 (MLB)"" -- cgit v1.2.3