From 59917544517a8da047c588a36d4c1ce493653adf Mon Sep 17 00:00:00 2001 From: Shelley Chen Date: Wed, 10 Jan 2024 22:41:45 -0800 Subject: mb/google/brox: Move cnvi to overridetree We need to disable the cnvi device when pcie wifi is enabled, so need to use the FW_CONFIG defined in the overridetree for this. BUG=b:311450057,b:300690448,b:319188820 BRANCH=None TEST=This will be tested on the device when received Change-Id: If9e861db37e321fd69c09f9b4aafa2e212f92caa Signed-off-by: Shelley Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/79898 Reviewed-by: Nick Vaccaro Tested-by: build bot (Jenkins) --- src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb | 7 ------- src/mainboard/google/brox/variants/brox/overridetree.cb | 9 +++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb b/src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb index 5589bbe356..fd2c8ed72f 100644 --- a/src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb +++ b/src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb @@ -161,13 +161,6 @@ chip soc/intel/alderlake device ref tcss_dma1 on end device ref xhci on end device ref shared_sram on end - device ref cnvi_wifi on - chip drivers/wifi/generic - register "wake" = "GPE0_PME_B0" - register "add_acpi_dma_property" = "true" - device generic 0 on end - end - end device ref i2c0 on chip drivers/i2c/generic register "hid" = ""ELAN0000"" diff --git a/src/mainboard/google/brox/variants/brox/overridetree.cb b/src/mainboard/google/brox/variants/brox/overridetree.cb index dc1866323f..af7c84cf8e 100644 --- a/src/mainboard/google/brox/variants/brox/overridetree.cb +++ b/src/mainboard/google/brox/variants/brox/overridetree.cb @@ -195,6 +195,15 @@ chip soc/intel/alderlake end probe WIFI WIFI_PCIE end + device ref cnvi_wifi on + chip drivers/wifi/generic + register "wake" = "GPE0_PME_B0" + register "add_acpi_dma_property" = "true" + register "enable_cnvi_ddr_rfim" = "true" + device generic 0 on end + end + probe WIFI WIFI_CNVI + end device ref ish on chip drivers/intel/ish register "add_acpi_dma_property" = "true" -- cgit v1.2.3