mb/google/fatcat: Fix WIFI driver device settings under root port 4

The commit addresses an issue with discrete WIFI driver configuration
under root port 4 in the Google Fatcat mainboard. The problem involved
incorrect probe settings that allowed the WIFI driver device to remain
enabled even when its upstream device was disabled. This led to orphan
devices being misidentified as root devices within the Intel Power
Engine (PEP) structure, which in turn caused unnecessary MCHC devices
to be added under the root port.

The fix involves ensuring that the probe settings for the devices
managed by the driver are consistent with their upstream device
settings. Additionally, the RTD3 driver device type is now set to
generic, ensuring that only one PCI device exists under the root port.
This prevents the binding of device operations (ops) for the RTD3 driver
from interfering with the WIFI generic driver during the scan process.

The commit also resolves warnings related to leftover static devices and
prompts to check the devicetree.cb. The fix ensures that the probe
settings for WIFI_PCIE_6 and WIFI_PCIE_7 are properly configured,
preventing device misidentification and ensuring correct functionality.

BUG=none
TEST=Boot to OS and verify the DSDT tables. Ensure the _DSM function of
the PEPD Device returns only one MCHE in a package, specifically
\_SB.PCI0.MCHC. Check kernel boot messages for absence of errors like
AE_NOT_FOUND related to named reference package elements such as
\_SB_.PCI0.RP04.MCHC.

Signed-off-by: Cliff Huang <cliff.huang@intel.com>
Change-Id: I40be48c056355d9e2a38b604849eb16565b8699d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89373
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Cliff Huang 2025-09-27 02:00:54 -07:00 committed by Matt DeVillier
commit 691a23a272
2 changed files with 16 additions and 4 deletions

View file

@ -579,13 +579,19 @@ chip soc/intel/pantherlake
chip soc/intel/common/block/pcie/rtd3
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
register "srcclk_pin" = "4"
device pci 00.0 on end
device generic 0 on
probe WIFI WIFI_PCIE_6
probe WIFI WIFI_PCIE_7
end
end
chip drivers/wifi/generic
register "add_acpi_dma_property" = "true"
register "wake" = "GPE0_DW0_12" # GPP_A12
use usb2_port7 as bluetooth_companion
device pci 00.0 on end
device pci 00.0 on
probe WIFI WIFI_PCIE_6
probe WIFI WIFI_PCIE_7
end
end
end # discrete WLAN
device ref pcie_rp5 on

View file

@ -225,13 +225,19 @@ device ref tbt_pcie_rp0 on end
chip soc/intel/common/block/pcie/rtd3
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
register "srcclk_pin" = "4"
device pci 00.0 on end
device generic 0 on
probe WIFI WIFI_PCIE_6
probe WIFI WIFI_PCIE_7
end
end
chip drivers/wifi/generic
register "add_acpi_dma_property" = "true"
register "wake" = "GPE0_DW0_12" # GPP_A12
use usb2_port7 as bluetooth_companion
device pci 00.0 on end
device pci 00.0 on
probe WIFI WIFI_PCIE_6
probe WIFI WIFI_PCIE_7
end
end
end # WLAN