From a1ef551f4a71d83c824bf2a02dbda126861ecb50 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sun, 25 Jan 2026 15:26:47 -0600 Subject: [PATCH] soc/intel: Use chipset.cb for PCIe root port ops linking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move PCIe root port operations linking from PCI Device ID matching to chipset.cb files for all Intel SoCs that have them, matching the approach used by Skylake. Remove corresponding DIDs from pcie.c for these SoCs; keep DID matching only for SoCs without chipset.cb files. Some of these will be removed/cleaned up in subsequent patches. This standardizes the approach across Intel SoCs and makes the PCIe root port configuration explicit in devicetree, and prevents the endless proliferation of DIDs in the common PCIe driver code. Change-Id: I8586b6efb8dbe164bc2a1d68b7131ffa22b00001 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/90905 Tested-by: build bot (Jenkins) Reviewed-by: Jérémy Compostella Reviewed-by: Sean Rhodes Reviewed-by: Jakub "Kuba" Czapiga --- src/soc/intel/alderlake/chipset.cb | 24 +- src/soc/intel/alderlake/chipset_pch_s.cb | 56 ++-- src/soc/intel/apollolake/chipset_apl.cb | 12 +- src/soc/intel/apollolake/chipset_glk.cb | 12 +- src/soc/intel/cannonlake/chipset.cb | 32 +-- src/soc/intel/cannonlake/chipset_pch_h.cb | 48 ++-- src/soc/intel/common/block/pcie/pcie.c | 331 ---------------------- src/soc/intel/jasperlake/chipset.cb | 16 +- src/soc/intel/meteorlake/chipset.cb | 24 +- src/soc/intel/pantherlake/chipset_ptl.cb | 24 +- src/soc/intel/pantherlake/chipset_wcl.cb | 12 +- src/soc/intel/tigerlake/chipset.cb | 24 +- src/soc/intel/tigerlake/chipset_pch_h.cb | 48 ++-- 13 files changed, 166 insertions(+), 497 deletions(-) diff --git a/src/soc/intel/alderlake/chipset.cb b/src/soc/intel/alderlake/chipset.cb index 355ef2e6e2..e2b4570a6b 100644 --- a/src/soc/intel/alderlake/chipset.cb +++ b/src/soc/intel/alderlake/chipset.cb @@ -248,18 +248,18 @@ chip soc/intel/alderlake device pci 19.2 alias uart2 off end # eMMC device is applicable only for ADL-N device pci 1a.0 alias emmc off end - device pci 1c.0 alias pcie_rp1 off end - device pci 1c.1 alias pcie_rp2 off end - device pci 1c.2 alias pcie_rp3 off end - device pci 1c.3 alias pcie_rp4 off end - device pci 1c.4 alias pcie_rp5 off end - device pci 1c.5 alias pcie_rp6 off end - device pci 1c.6 alias pcie_rp7 off end - device pci 1c.7 alias pcie_rp8 off end - device pci 1d.0 alias pcie_rp9 off end - device pci 1d.1 alias pcie_rp10 off end - device pci 1d.2 alias pcie_rp11 off end - device pci 1d.3 alias pcie_rp12 off end + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end + device pci 1c.4 alias pcie_rp5 off ops pcie_rp_ops end + device pci 1c.5 alias pcie_rp6 off ops pcie_rp_ops end + device pci 1c.6 alias pcie_rp7 off ops pcie_rp_ops end + device pci 1c.7 alias pcie_rp8 off ops pcie_rp_ops end + device pci 1d.0 alias pcie_rp9 off ops pcie_rp_ops end + device pci 1d.1 alias pcie_rp10 off ops pcie_rp_ops end + device pci 1d.2 alias pcie_rp11 off ops pcie_rp_ops end + device pci 1d.3 alias pcie_rp12 off ops pcie_rp_ops end device pci 1e.0 alias uart0 off end device pci 1e.1 alias uart1 off end device pci 1e.2 alias gspi0 off end diff --git a/src/soc/intel/alderlake/chipset_pch_s.cb b/src/soc/intel/alderlake/chipset_pch_s.cb index 6bcfab1f45..06b50f6844 100644 --- a/src/soc/intel/alderlake/chipset_pch_s.cb +++ b/src/soc/intel/alderlake/chipset_pch_s.cb @@ -377,34 +377,34 @@ chip soc/intel/alderlake device pci 19.0 alias i2c4 off end device pci 19.1 alias i2c5 off end device pci 19.2 alias uart2 off end - device pci 1a.0 alias pcie_rp25 off end - device pci 1a.1 alias pcie_rp26 off end - device pci 1a.2 alias pcie_rp27 off end - device pci 1a.3 alias pcie_rp28 off end - device pci 1b.0 alias pcie_rp17 off end - device pci 1b.1 alias pcie_rp18 off end - device pci 1b.2 alias pcie_rp19 off end - device pci 1b.3 alias pcie_rp20 off end - device pci 1b.4 alias pcie_rp21 off end - device pci 1b.5 alias pcie_rp22 off end - device pci 1b.6 alias pcie_rp23 off end - device pci 1b.7 alias pcie_rp24 off end - device pci 1c.0 alias pcie_rp1 off end - device pci 1c.1 alias pcie_rp2 off end - device pci 1c.2 alias pcie_rp3 off end - device pci 1c.3 alias pcie_rp4 off end - device pci 1c.4 alias pcie_rp5 off end - device pci 1c.5 alias pcie_rp6 off end - device pci 1c.6 alias pcie_rp7 off end - device pci 1c.7 alias pcie_rp8 off end - device pci 1d.0 alias pcie_rp9 off end - device pci 1d.1 alias pcie_rp10 off end - device pci 1d.2 alias pcie_rp11 off end - device pci 1d.3 alias pcie_rp12 off end - device pci 1d.4 alias pcie_rp13 off end - device pci 1d.5 alias pcie_rp14 off end - device pci 1d.6 alias pcie_rp15 off end - device pci 1d.7 alias pcie_rp16 off end + device pci 1a.0 alias pcie_rp25 off ops pcie_rp_ops end + device pci 1a.1 alias pcie_rp26 off ops pcie_rp_ops end + device pci 1a.2 alias pcie_rp27 off ops pcie_rp_ops end + device pci 1a.3 alias pcie_rp28 off ops pcie_rp_ops end + device pci 1b.0 alias pcie_rp17 off ops pcie_rp_ops end + device pci 1b.1 alias pcie_rp18 off ops pcie_rp_ops end + device pci 1b.2 alias pcie_rp19 off ops pcie_rp_ops end + device pci 1b.3 alias pcie_rp20 off ops pcie_rp_ops end + device pci 1b.4 alias pcie_rp21 off ops pcie_rp_ops end + device pci 1b.5 alias pcie_rp22 off ops pcie_rp_ops end + device pci 1b.6 alias pcie_rp23 off ops pcie_rp_ops end + device pci 1b.7 alias pcie_rp24 off ops pcie_rp_ops end + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end + device pci 1c.4 alias pcie_rp5 off ops pcie_rp_ops end + device pci 1c.5 alias pcie_rp6 off ops pcie_rp_ops end + device pci 1c.6 alias pcie_rp7 off ops pcie_rp_ops end + device pci 1c.7 alias pcie_rp8 off ops pcie_rp_ops end + device pci 1d.0 alias pcie_rp9 off ops pcie_rp_ops end + device pci 1d.1 alias pcie_rp10 off ops pcie_rp_ops end + device pci 1d.2 alias pcie_rp11 off ops pcie_rp_ops end + device pci 1d.3 alias pcie_rp12 off ops pcie_rp_ops end + device pci 1d.4 alias pcie_rp13 off ops pcie_rp_ops end + device pci 1d.5 alias pcie_rp14 off ops pcie_rp_ops end + device pci 1d.6 alias pcie_rp15 off ops pcie_rp_ops end + device pci 1d.7 alias pcie_rp16 off ops pcie_rp_ops end device pci 1e.0 alias uart0 off end device pci 1e.1 alias uart1 off end device pci 1e.2 alias gspi0 off end diff --git a/src/soc/intel/apollolake/chipset_apl.cb b/src/soc/intel/apollolake/chipset_apl.cb index 03a67765ec..a39461d6de 100644 --- a/src/soc/intel/apollolake/chipset_apl.cb +++ b/src/soc/intel/apollolake/chipset_apl.cb @@ -16,12 +16,12 @@ chip soc/intel/apollolake device pci 0f.2 alias heci3 off end # HECI3 device pci 11.0 alias ish off end # SensorHub device pci 12.0 alias sata off end # SATA - device pci 13.0 alias pcie_rp01 off end # PCIE Express Root Port 1 - device pci 13.1 alias pcie_rp02 off end # PCIE Express Root Port 2 - device pci 13.2 alias pcie_rp03 off end # PCIE Express Root Port 3 - device pci 13.3 alias pcie_rp04 off end # PCIE Express Root Port 4 - device pci 14.0 alias pcie_rp05 off end # PCIE Express Root Port 5 - device pci 14.1 alias pcie_rp06 off end # PCIE Express Root Port 6 + device pci 13.0 alias pcie_rp01 off ops pcie_rp_ops end # PCIE Express Root Port 1 + device pci 13.1 alias pcie_rp02 off ops pcie_rp_ops end # PCIE Express Root Port 2 + device pci 13.2 alias pcie_rp03 off ops pcie_rp_ops end # PCIE Express Root Port 3 + device pci 13.3 alias pcie_rp04 off ops pcie_rp_ops end # PCIE Express Root Port 4 + device pci 14.0 alias pcie_rp05 off ops pcie_rp_ops end # PCIE Express Root Port 5 + device pci 14.1 alias pcie_rp06 off ops pcie_rp_ops end # PCIE Express Root Port 6 device pci 15.0 alias xhci off end # XHCI device pci 15.1 alias xdci off end # XDCI device pci 16.0 alias i2c0 off end # I2C0 diff --git a/src/soc/intel/apollolake/chipset_glk.cb b/src/soc/intel/apollolake/chipset_glk.cb index c6f2db1fe1..1fcc37e800 100644 --- a/src/soc/intel/apollolake/chipset_glk.cb +++ b/src/soc/intel/apollolake/chipset_glk.cb @@ -17,12 +17,12 @@ chip soc/intel/apollolake device pci 0f.2 alias heci3 off end # HECI3 device pci 11.0 alias ish off end # SensorHub device pci 12.0 alias sata off end # SATA - device pci 13.0 alias pcie_rp01 off end # PCIE Express Root Port 1 - device pci 13.1 alias pcie_rp02 off end # PCIE Express Root Port 2 - device pci 13.2 alias pcie_rp03 off end # PCIE Express Root Port 3 - device pci 13.3 alias pcie_rp04 off end # PCIE Express Root Port 4 - device pci 14.0 alias pcie_rp05 off end # PCIE Express Root Port 5 - device pci 14.1 alias pcie_rp06 off end # PCIE Express Root Port 6 + device pci 13.0 alias pcie_rp01 off ops pcie_rp_ops end # PCIE Express Root Port 1 + device pci 13.1 alias pcie_rp02 off ops pcie_rp_ops end # PCIE Express Root Port 2 + device pci 13.2 alias pcie_rp03 off ops pcie_rp_ops end # PCIE Express Root Port 3 + device pci 13.3 alias pcie_rp04 off ops pcie_rp_ops end # PCIE Express Root Port 4 + device pci 14.0 alias pcie_rp05 off ops pcie_rp_ops end # PCIE Express Root Port 5 + device pci 14.1 alias pcie_rp06 off ops pcie_rp_ops end # PCIE Express Root Port 6 device pci 15.0 alias xhci off end # XHCI device pci 15.1 alias xdci off end # XDCI device pci 16.0 alias i2c0 off end # I2C0 diff --git a/src/soc/intel/cannonlake/chipset.cb b/src/soc/intel/cannonlake/chipset.cb index b33aadfd32..eb0a0bcb92 100644 --- a/src/soc/intel/cannonlake/chipset.cb +++ b/src/soc/intel/cannonlake/chipset.cb @@ -97,22 +97,22 @@ chip soc/intel/cannonlake device pci 19.1 alias i2c5 off end # I2C #5 device pci 19.2 alias uart2 off end # UART #2 device pci 1a.0 alias emmc off end # eMMC - device pci 1c.0 alias pcie_rp1 off end # PCI Express Port 1 - device pci 1c.1 alias pcie_rp2 off end # PCI Express Port 2 - device pci 1c.2 alias pcie_rp3 off end # PCI Express Port 3 - device pci 1c.3 alias pcie_rp4 off end # PCI Express Port 4 - device pci 1c.4 alias pcie_rp5 off end # PCI Express Port 5 - device pci 1c.5 alias pcie_rp6 off end # PCI Express Port 6 - device pci 1c.6 alias pcie_rp7 off end # PCI Express Port 7 - device pci 1c.7 alias pcie_rp8 off end # PCI Express Port 8 - device pci 1d.0 alias pcie_rp9 off end # PCI Express Port 9 - device pci 1d.1 alias pcie_rp10 off end # PCI Express Port 10 - device pci 1d.2 alias pcie_rp11 off end # PCI Express Port 11 - device pci 1d.3 alias pcie_rp12 off end # PCI Express Port 12 - device pci 1d.4 alias pcie_rp13 off end # PCI Express Port 13 - device pci 1d.5 alias pcie_rp14 off end # PCI Express Port 14 - device pci 1d.6 alias pcie_rp15 off end # PCI Express Port 15 - device pci 1d.7 alias pcie_rp16 off end # PCI Express Port 16 + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end # PCI Express Port 1 + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end # PCI Express Port 2 + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end # PCI Express Port 3 + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end # PCI Express Port 4 + device pci 1c.4 alias pcie_rp5 off ops pcie_rp_ops end # PCI Express Port 5 + device pci 1c.5 alias pcie_rp6 off ops pcie_rp_ops end # PCI Express Port 6 + device pci 1c.6 alias pcie_rp7 off ops pcie_rp_ops end # PCI Express Port 7 + device pci 1c.7 alias pcie_rp8 off ops pcie_rp_ops end # PCI Express Port 8 + device pci 1d.0 alias pcie_rp9 off ops pcie_rp_ops end # PCI Express Port 9 + device pci 1d.1 alias pcie_rp10 off ops pcie_rp_ops end # PCI Express Port 10 + device pci 1d.2 alias pcie_rp11 off ops pcie_rp_ops end # PCI Express Port 11 + device pci 1d.3 alias pcie_rp12 off ops pcie_rp_ops end # PCI Express Port 12 + device pci 1d.4 alias pcie_rp13 off ops pcie_rp_ops end # PCI Express Port 13 + device pci 1d.5 alias pcie_rp14 off ops pcie_rp_ops end # PCI Express Port 14 + device pci 1d.6 alias pcie_rp15 off ops pcie_rp_ops end # PCI Express Port 15 + device pci 1d.7 alias pcie_rp16 off ops pcie_rp_ops end # PCI Express Port 16 device pci 1e.0 alias uart0 off end # UART #0 device pci 1e.1 alias uart1 off end # UART #1 device pci 1e.2 alias gspi0 off end # GSPI #0 diff --git a/src/soc/intel/cannonlake/chipset_pch_h.cb b/src/soc/intel/cannonlake/chipset_pch_h.cb index 3904697b11..fa7660b5af 100644 --- a/src/soc/intel/cannonlake/chipset_pch_h.cb +++ b/src/soc/intel/cannonlake/chipset_pch_h.cb @@ -123,30 +123,30 @@ chip soc/intel/cannonlake ops uart_ops end device pci 1a.0 alias emmc off end # eMMC - device pci 1b.0 alias pcie_rp17 off end # PCI Express Port 17 - device pci 1b.1 alias pcie_rp18 off end # PCI Express Port 18 - device pci 1b.2 alias pcie_rp19 off end # PCI Express Port 19 - device pci 1b.3 alias pcie_rp20 off end # PCI Express Port 20 - device pci 1b.4 alias pcie_rp21 off end # PCI Express Port 21 - device pci 1b.5 alias pcie_rp22 off end # PCI Express Port 22 - device pci 1b.6 alias pcie_rp23 off end # PCI Express Port 23 - device pci 1b.7 alias pcie_rp24 off end # PCI Express Port 24 - device pci 1c.0 alias pcie_rp1 off end # PCI Express Port 1 - device pci 1c.1 alias pcie_rp2 off end # PCI Express Port 2 - device pci 1c.2 alias pcie_rp3 off end # PCI Express Port 3 - device pci 1c.3 alias pcie_rp4 off end # PCI Express Port 4 - device pci 1c.4 alias pcie_rp5 off end # PCI Express Port 5 - device pci 1c.5 alias pcie_rp6 off end # PCI Express Port 6 - device pci 1c.6 alias pcie_rp7 off end # PCI Express Port 7 - device pci 1c.7 alias pcie_rp8 off end # PCI Express Port 8 - device pci 1d.0 alias pcie_rp9 off end # PCI Express Port 9 - device pci 1d.1 alias pcie_rp10 off end # PCI Express Port 10 - device pci 1d.2 alias pcie_rp11 off end # PCI Express Port 11 - device pci 1d.3 alias pcie_rp12 off end # PCI Express Port 12 - device pci 1d.4 alias pcie_rp13 off end # PCI Express Port 13 - device pci 1d.5 alias pcie_rp14 off end # PCI Express Port 14 - device pci 1d.6 alias pcie_rp15 off end # PCI Express Port 15 - device pci 1d.7 alias pcie_rp16 off end # PCI Express Port 16 + device pci 1b.0 alias pcie_rp17 off ops pcie_rp_ops end # PCI Express Port 17 + device pci 1b.1 alias pcie_rp18 off ops pcie_rp_ops end # PCI Express Port 18 + device pci 1b.2 alias pcie_rp19 off ops pcie_rp_ops end # PCI Express Port 19 + device pci 1b.3 alias pcie_rp20 off ops pcie_rp_ops end # PCI Express Port 20 + device pci 1b.4 alias pcie_rp21 off ops pcie_rp_ops end # PCI Express Port 21 + device pci 1b.5 alias pcie_rp22 off ops pcie_rp_ops end # PCI Express Port 22 + device pci 1b.6 alias pcie_rp23 off ops pcie_rp_ops end # PCI Express Port 23 + device pci 1b.7 alias pcie_rp24 off ops pcie_rp_ops end # PCI Express Port 24 + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end # PCI Express Port 1 + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end # PCI Express Port 2 + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end # PCI Express Port 3 + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end # PCI Express Port 4 + device pci 1c.4 alias pcie_rp5 off ops pcie_rp_ops end # PCI Express Port 5 + device pci 1c.5 alias pcie_rp6 off ops pcie_rp_ops end # PCI Express Port 6 + device pci 1c.6 alias pcie_rp7 off ops pcie_rp_ops end # PCI Express Port 7 + device pci 1c.7 alias pcie_rp8 off ops pcie_rp_ops end # PCI Express Port 8 + device pci 1d.0 alias pcie_rp9 off ops pcie_rp_ops end # PCI Express Port 9 + device pci 1d.1 alias pcie_rp10 off ops pcie_rp_ops end # PCI Express Port 10 + device pci 1d.2 alias pcie_rp11 off ops pcie_rp_ops end # PCI Express Port 11 + device pci 1d.3 alias pcie_rp12 off ops pcie_rp_ops end # PCI Express Port 12 + device pci 1d.4 alias pcie_rp13 off ops pcie_rp_ops end # PCI Express Port 13 + device pci 1d.5 alias pcie_rp14 off ops pcie_rp_ops end # PCI Express Port 14 + device pci 1d.6 alias pcie_rp15 off ops pcie_rp_ops end # PCI Express Port 15 + device pci 1d.7 alias pcie_rp16 off ops pcie_rp_ops end # PCI Express Port 16 device pci 1e.0 alias uart0 off end # UART #0 device pci 1e.1 alias uart1 off end # UART #1 device pci 1e.2 alias gspi0 off end # GSPI #0 diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c index 31e70d6edc..ccddb8026f 100644 --- a/src/soc/intel/common/block/pcie/pcie.c +++ b/src/soc/intel/common/block/pcie/pcie.c @@ -81,34 +81,6 @@ static const unsigned short pcie_device_ids[] = { PCI_DID_INTEL_NVL_PCIE_RP12, PCI_DID_INTEL_NVL_PCIE_RP13, PCI_DID_INTEL_NVL_PCIE_RP14, - PCI_DID_INTEL_WCL_PCIE_RP1, - PCI_DID_INTEL_WCL_PCIE_RP2, - PCI_DID_INTEL_WCL_PCIE_RP3, - PCI_DID_INTEL_WCL_PCIE_RP4, - PCI_DID_INTEL_WCL_PCIE_RP5, - PCI_DID_INTEL_WCL_PCIE_RP6, - PCI_DID_INTEL_PTL_H_PCIE_RP1, - PCI_DID_INTEL_PTL_H_PCIE_RP2, - PCI_DID_INTEL_PTL_H_PCIE_RP3, - PCI_DID_INTEL_PTL_H_PCIE_RP4, - PCI_DID_INTEL_PTL_H_PCIE_RP5, - PCI_DID_INTEL_PTL_H_PCIE_RP6, - PCI_DID_INTEL_PTL_H_PCIE_RP7, - PCI_DID_INTEL_PTL_H_PCIE_RP8, - PCI_DID_INTEL_PTL_H_PCIE_RP9, - PCI_DID_INTEL_PTL_H_PCIE_RP10, - PCI_DID_INTEL_PTL_U_H_PCIE_RP1, - PCI_DID_INTEL_PTL_U_H_PCIE_RP2, - PCI_DID_INTEL_PTL_U_H_PCIE_RP3, - PCI_DID_INTEL_PTL_U_H_PCIE_RP4, - PCI_DID_INTEL_PTL_U_H_PCIE_RP5, - PCI_DID_INTEL_PTL_U_H_PCIE_RP6, - PCI_DID_INTEL_PTL_U_H_PCIE_RP7, - PCI_DID_INTEL_PTL_U_H_PCIE_RP8, - PCI_DID_INTEL_PTL_U_H_PCIE_RP9, - PCI_DID_INTEL_PTL_U_H_PCIE_RP10, - PCI_DID_INTEL_PTL_U_H_PCIE_RP11, - PCI_DID_INTEL_PTL_U_H_PCIE_RP12, PCI_DID_INTEL_LNL_PCIE_RP1, PCI_DID_INTEL_LNL_PCIE_RP2, PCI_DID_INTEL_LNL_PCIE_RP3, @@ -117,218 +89,6 @@ static const unsigned short pcie_device_ids[] = { PCI_DID_INTEL_LNL_PCIE_RP6, PCI_DID_INTEL_LNL_PCIE_RP7, PCI_DID_INTEL_LNL_PCIE_RP8, - PCI_DID_INTEL_RPL_P_PCIE_RP1, - PCI_DID_INTEL_RPL_P_PCIE_RP2, - PCI_DID_INTEL_RPL_P_PCIE_RP3, - PCI_DID_INTEL_RPL_P_PCIE_RP4, - PCI_DID_INTEL_MTL_SOC_PCIE_RP1, - PCI_DID_INTEL_MTL_SOC_PCIE_RP2, - PCI_DID_INTEL_MTL_SOC_PCIE_RP3, - PCI_DID_INTEL_MTL_SOC_PCIE_RP4, - PCI_DID_INTEL_MTL_SOC_PCIE_RP5, - PCI_DID_INTEL_MTL_SOC_PCIE_RP6, - PCI_DID_INTEL_MTL_SOC_PCIE_RP7, - PCI_DID_INTEL_MTL_SOC_PCIE_RP8, - PCI_DID_INTEL_MTL_SOC_PCIE_RP9, - PCI_DID_INTEL_MTL_IOE_P_PCIE_RP10, - PCI_DID_INTEL_MTL_IOE_P_PCIE_RP11, - PCI_DID_INTEL_MTL_IOE_P_PCIE_RP12, - PCI_DID_INTEL_ARL_SOC_PCIE_RP1, - PCI_DID_INTEL_ARL_SOC_PCIE_RP2, - PCI_DID_INTEL_ARL_SOC_PCIE_RP3, - PCI_DID_INTEL_ARL_SOC_PCIE_RP4, - PCI_DID_INTEL_ARL_SOC_PCIE_RP5, - PCI_DID_INTEL_ARL_SOC_PCIE_RP6, - PCI_DID_INTEL_ARL_SOC_PCIE_RP7, - PCI_DID_INTEL_ARL_SOC_PCIE_RP8, - PCI_DID_INTEL_ARL_SOC_PCIE_RP9, - PCI_DID_INTEL_ARL_S_PCIE_RP13, - PCI_DID_INTEL_ARL_S_PCIE_RP14, - PCI_DID_INTEL_ARL_S_PCIE_RP15, - PCI_DID_INTEL_ARP_S_PCIE_RP1, - PCI_DID_INTEL_ARP_S_PCIE_RP2, - PCI_DID_INTEL_ARP_S_PCIE_RP3, - PCI_DID_INTEL_ARP_S_PCIE_RP4, - PCI_DID_INTEL_ARP_S_PCIE_RP5, - PCI_DID_INTEL_ARP_S_PCIE_RP6, - PCI_DID_INTEL_ARP_S_PCIE_RP7, - PCI_DID_INTEL_ARP_S_PCIE_RP8, - PCI_DID_INTEL_ARP_S_PCIE_RP9, - PCI_DID_INTEL_ARP_S_PCIE_RP10, - PCI_DID_INTEL_ARP_S_PCIE_RP11, - PCI_DID_INTEL_ARP_S_PCIE_RP12, - PCI_DID_INTEL_ARP_S_PCIE_RP13, - PCI_DID_INTEL_ARP_S_PCIE_RP14, - PCI_DID_INTEL_ARP_S_PCIE_RP15, - PCI_DID_INTEL_ARP_S_PCIE_RP16, - PCI_DID_INTEL_ARP_S_PCIE_RP17, - PCI_DID_INTEL_ARP_S_PCIE_RP18, - PCI_DID_INTEL_ARP_S_PCIE_RP19, - PCI_DID_INTEL_ARP_S_PCIE_RP20, - PCI_DID_INTEL_ARP_S_PCIE_RP21, - PCI_DID_INTEL_ARP_S_PCIE_RP22, - PCI_DID_INTEL_ARP_S_PCIE_RP23, - PCI_DID_INTEL_ARP_S_PCIE_RP24, - PCI_DID_INTEL_LWB_PCIE_RP1, - PCI_DID_INTEL_LWB_PCIE_RP2, - PCI_DID_INTEL_LWB_PCIE_RP3, - PCI_DID_INTEL_LWB_PCIE_RP4, - PCI_DID_INTEL_LWB_PCIE_RP5, - PCI_DID_INTEL_LWB_PCIE_RP6, - PCI_DID_INTEL_LWB_PCIE_RP7, - PCI_DID_INTEL_LWB_PCIE_RP8, - PCI_DID_INTEL_LWB_PCIE_RP9, - PCI_DID_INTEL_LWB_PCIE_RP10, - PCI_DID_INTEL_LWB_PCIE_RP11, - PCI_DID_INTEL_LWB_PCIE_RP12, - PCI_DID_INTEL_LWB_PCIE_RP13, - PCI_DID_INTEL_LWB_PCIE_RP14, - PCI_DID_INTEL_LWB_PCIE_RP15, - PCI_DID_INTEL_LWB_PCIE_RP16, - PCI_DID_INTEL_LWB_PCIE_RP17, - PCI_DID_INTEL_LWB_PCIE_RP18, - PCI_DID_INTEL_LWB_PCIE_RP19, - PCI_DID_INTEL_LWB_PCIE_RP20, - PCI_DID_INTEL_LWB_PCIE_RP1_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP2_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP3_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP4_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP5_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP6_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP7_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP8_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP9_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP10_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP11_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP12_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP13_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP14_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP15_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP16_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP17_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP18_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP19_SUPER, - PCI_DID_INTEL_LWB_PCIE_RP20_SUPER, - PCI_DID_INTEL_CNL_LP_PCIE_RP1, - PCI_DID_INTEL_CNL_LP_PCIE_RP2, - PCI_DID_INTEL_CNL_LP_PCIE_RP3, - PCI_DID_INTEL_CNL_LP_PCIE_RP4, - PCI_DID_INTEL_CNL_LP_PCIE_RP5, - PCI_DID_INTEL_CNL_LP_PCIE_RP6, - PCI_DID_INTEL_CNL_LP_PCIE_RP7, - PCI_DID_INTEL_CNL_LP_PCIE_RP8, - PCI_DID_INTEL_CNL_LP_PCIE_RP9, - PCI_DID_INTEL_CNL_LP_PCIE_RP10, - PCI_DID_INTEL_CNL_LP_PCIE_RP11, - PCI_DID_INTEL_CNL_LP_PCIE_RP12, - PCI_DID_INTEL_CNL_LP_PCIE_RP13, - PCI_DID_INTEL_CNL_LP_PCIE_RP14, - PCI_DID_INTEL_CNL_LP_PCIE_RP15, - PCI_DID_INTEL_CNL_LP_PCIE_RP16, - PCI_DID_INTEL_CNP_H_PCIE_RP1, - PCI_DID_INTEL_CNP_H_PCIE_RP2, - PCI_DID_INTEL_CNP_H_PCIE_RP3, - PCI_DID_INTEL_CNP_H_PCIE_RP4, - PCI_DID_INTEL_CNP_H_PCIE_RP5, - PCI_DID_INTEL_CNP_H_PCIE_RP6, - PCI_DID_INTEL_CNP_H_PCIE_RP7, - PCI_DID_INTEL_CNP_H_PCIE_RP8, - PCI_DID_INTEL_CNP_H_PCIE_RP9, - PCI_DID_INTEL_CNP_H_PCIE_RP10, - PCI_DID_INTEL_CNP_H_PCIE_RP11, - PCI_DID_INTEL_CNP_H_PCIE_RP12, - PCI_DID_INTEL_CNP_H_PCIE_RP13, - PCI_DID_INTEL_CNP_H_PCIE_RP14, - PCI_DID_INTEL_CNP_H_PCIE_RP15, - PCI_DID_INTEL_CNP_H_PCIE_RP16, - PCI_DID_INTEL_CNP_H_PCIE_RP17, - PCI_DID_INTEL_CNP_H_PCIE_RP18, - PCI_DID_INTEL_CNP_H_PCIE_RP19, - PCI_DID_INTEL_CNP_H_PCIE_RP20, - PCI_DID_INTEL_CNP_H_PCIE_RP21, - PCI_DID_INTEL_CNP_H_PCIE_RP22, - PCI_DID_INTEL_CNP_H_PCIE_RP23, - PCI_DID_INTEL_CNP_H_PCIE_RP24, - PCI_DID_INTEL_CMP_LP_PCIE_RP1, - PCI_DID_INTEL_CMP_LP_PCIE_RP2, - PCI_DID_INTEL_CMP_LP_PCIE_RP3, - PCI_DID_INTEL_CMP_LP_PCIE_RP4, - PCI_DID_INTEL_CMP_LP_PCIE_RP5, - PCI_DID_INTEL_CMP_LP_PCIE_RP6, - PCI_DID_INTEL_CMP_LP_PCIE_RP7, - PCI_DID_INTEL_CMP_LP_PCIE_RP8, - PCI_DID_INTEL_CMP_LP_PCIE_RP9, - PCI_DID_INTEL_CMP_LP_PCIE_RP10, - PCI_DID_INTEL_CMP_LP_PCIE_RP11, - PCI_DID_INTEL_CMP_LP_PCIE_RP12, - PCI_DID_INTEL_CMP_LP_PCIE_RP13, - PCI_DID_INTEL_CMP_LP_PCIE_RP14, - PCI_DID_INTEL_CMP_LP_PCIE_RP15, - PCI_DID_INTEL_CMP_LP_PCIE_RP16, - PCI_DID_INTEL_CMP_H_PCIE_RP1, - PCI_DID_INTEL_CMP_H_PCIE_RP2, - PCI_DID_INTEL_CMP_H_PCIE_RP3, - PCI_DID_INTEL_CMP_H_PCIE_RP4, - PCI_DID_INTEL_CMP_H_PCIE_RP5, - PCI_DID_INTEL_CMP_H_PCIE_RP6, - PCI_DID_INTEL_CMP_H_PCIE_RP7, - PCI_DID_INTEL_CMP_H_PCIE_RP8, - PCI_DID_INTEL_CMP_H_PCIE_RP9, - PCI_DID_INTEL_CMP_H_PCIE_RP10, - PCI_DID_INTEL_CMP_H_PCIE_RP11, - PCI_DID_INTEL_CMP_H_PCIE_RP12, - PCI_DID_INTEL_CMP_H_PCIE_RP13, - PCI_DID_INTEL_CMP_H_PCIE_RP14, - PCI_DID_INTEL_CMP_H_PCIE_RP15, - PCI_DID_INTEL_CMP_H_PCIE_RP16, - PCI_DID_INTEL_CMP_H_PCIE_RP17, - PCI_DID_INTEL_CMP_H_PCIE_RP18, - PCI_DID_INTEL_CMP_H_PCIE_RP19, - PCI_DID_INTEL_CMP_H_PCIE_RP20, - PCI_DID_INTEL_CMP_H_PCIE_RP21, - PCI_DID_INTEL_CMP_H_PCIE_RP22, - PCI_DID_INTEL_CMP_H_PCIE_RP23, - PCI_DID_INTEL_CMP_H_PCIE_RP24, - PCI_DID_INTEL_TGP_LP_PCIE_RP1, - PCI_DID_INTEL_TGP_LP_PCIE_RP2, - PCI_DID_INTEL_TGP_LP_PCIE_RP3, - PCI_DID_INTEL_TGP_LP_PCIE_RP4, - PCI_DID_INTEL_TGP_LP_PCIE_RP5, - PCI_DID_INTEL_TGP_LP_PCIE_RP6, - PCI_DID_INTEL_TGP_LP_PCIE_RP7, - PCI_DID_INTEL_TGP_LP_PCIE_RP8, - PCI_DID_INTEL_TGP_LP_PCIE_RP9, - PCI_DID_INTEL_TGP_LP_PCIE_RP10, - PCI_DID_INTEL_TGP_LP_PCIE_RP11, - PCI_DID_INTEL_TGP_LP_PCIE_RP12, - PCI_DID_INTEL_TGP_LP_PCIE_RP13, - PCI_DID_INTEL_TGP_LP_PCIE_RP14, - PCI_DID_INTEL_TGP_LP_PCIE_RP15, - PCI_DID_INTEL_TGP_LP_PCIE_RP16, - PCI_DID_INTEL_TGP_H_PCIE_RP1, - PCI_DID_INTEL_TGP_H_PCIE_RP2, - PCI_DID_INTEL_TGP_H_PCIE_RP3, - PCI_DID_INTEL_TGP_H_PCIE_RP4, - PCI_DID_INTEL_TGP_H_PCIE_RP5, - PCI_DID_INTEL_TGP_H_PCIE_RP6, - PCI_DID_INTEL_TGP_H_PCIE_RP7, - PCI_DID_INTEL_TGP_H_PCIE_RP8, - PCI_DID_INTEL_TGP_H_PCIE_RP9, - PCI_DID_INTEL_TGP_H_PCIE_RP10, - PCI_DID_INTEL_TGP_H_PCIE_RP11, - PCI_DID_INTEL_TGP_H_PCIE_RP12, - PCI_DID_INTEL_TGP_H_PCIE_RP13, - PCI_DID_INTEL_TGP_H_PCIE_RP14, - PCI_DID_INTEL_TGP_H_PCIE_RP15, - PCI_DID_INTEL_TGP_H_PCIE_RP16, - PCI_DID_INTEL_TGP_H_PCIE_RP17, - PCI_DID_INTEL_TGP_H_PCIE_RP18, - PCI_DID_INTEL_TGP_H_PCIE_RP19, - PCI_DID_INTEL_TGP_H_PCIE_RP20, - PCI_DID_INTEL_TGP_H_PCIE_RP21, - PCI_DID_INTEL_TGP_H_PCIE_RP22, - PCI_DID_INTEL_TGP_H_PCIE_RP23, - PCI_DID_INTEL_TGP_H_PCIE_RP24, PCI_DID_INTEL_MCC_PCIE_RP1, PCI_DID_INTEL_MCC_PCIE_RP2, PCI_DID_INTEL_MCC_PCIE_RP3, @@ -336,97 +96,6 @@ static const unsigned short pcie_device_ids[] = { PCI_DID_INTEL_MCC_PCIE_RP5, PCI_DID_INTEL_MCC_PCIE_RP6, PCI_DID_INTEL_MCC_PCIE_RP7, - PCI_DID_INTEL_JSP_PCIE_RP1, - PCI_DID_INTEL_JSP_PCIE_RP2, - PCI_DID_INTEL_JSP_PCIE_RP3, - PCI_DID_INTEL_JSP_PCIE_RP4, - PCI_DID_INTEL_JSP_PCIE_RP5, - PCI_DID_INTEL_JSP_PCIE_RP6, - PCI_DID_INTEL_JSP_PCIE_RP7, - PCI_DID_INTEL_JSP_PCIE_RP8, - PCI_DID_INTEL_ADL_P_PCIE_RP1, - PCI_DID_INTEL_ADL_P_PCIE_RP2, - PCI_DID_INTEL_ADL_P_PCIE_RP3, - PCI_DID_INTEL_ADP_P_PCIE_RP1, - PCI_DID_INTEL_ADP_P_PCIE_RP2, - PCI_DID_INTEL_ADP_P_PCIE_RP3, - PCI_DID_INTEL_ADP_P_PCIE_RP4, - PCI_DID_INTEL_ADP_P_PCIE_RP5, - PCI_DID_INTEL_ADP_P_PCIE_RP6, - PCI_DID_INTEL_ADP_P_PCIE_RP7, - PCI_DID_INTEL_ADP_P_PCIE_RP8, - PCI_DID_INTEL_ADP_P_PCIE_RP9, - PCI_DID_INTEL_ADP_P_PCIE_RP10, - PCI_DID_INTEL_ADP_P_PCIE_RP11, - PCI_DID_INTEL_ADP_P_PCIE_RP12, - PCI_DID_INTEL_ADP_S_PCIE_RP1, - PCI_DID_INTEL_ADP_S_PCIE_RP2, - PCI_DID_INTEL_ADP_S_PCIE_RP3, - PCI_DID_INTEL_ADP_S_PCIE_RP4, - PCI_DID_INTEL_ADP_S_PCIE_RP5, - PCI_DID_INTEL_ADP_S_PCIE_RP6, - PCI_DID_INTEL_ADP_S_PCIE_RP7, - PCI_DID_INTEL_ADP_S_PCIE_RP8, - PCI_DID_INTEL_ADP_S_PCIE_RP9, - PCI_DID_INTEL_ADP_S_PCIE_RP10, - PCI_DID_INTEL_ADP_S_PCIE_RP11, - PCI_DID_INTEL_ADP_S_PCIE_RP12, - PCI_DID_INTEL_ADP_S_PCIE_RP13, - PCI_DID_INTEL_ADP_S_PCIE_RP14, - PCI_DID_INTEL_ADP_S_PCIE_RP15, - PCI_DID_INTEL_ADP_S_PCIE_RP16, - PCI_DID_INTEL_ADP_S_PCIE_RP17, - PCI_DID_INTEL_ADP_S_PCIE_RP18, - PCI_DID_INTEL_ADP_S_PCIE_RP19, - PCI_DID_INTEL_ADP_S_PCIE_RP20, - PCI_DID_INTEL_ADP_S_PCIE_RP21, - PCI_DID_INTEL_ADP_S_PCIE_RP22, - PCI_DID_INTEL_ADP_S_PCIE_RP23, - PCI_DID_INTEL_ADP_S_PCIE_RP24, - PCI_DID_INTEL_ADP_S_PCIE_RP25, - PCI_DID_INTEL_ADP_S_PCIE_RP26, - PCI_DID_INTEL_ADP_S_PCIE_RP27, - PCI_DID_INTEL_ADP_S_PCIE_RP28, - PCI_DID_INTEL_ADP_M_N_PCIE_RP1, - PCI_DID_INTEL_ADP_M_N_PCIE_RP2, - PCI_DID_INTEL_ADP_M_N_PCIE_RP3, - PCI_DID_INTEL_ADP_M_N_PCIE_RP4, - PCI_DID_INTEL_ADP_M_PCIE_RP5, - PCI_DID_INTEL_ADP_M_PCIE_RP6, - PCI_DID_INTEL_ADP_M_N_PCIE_RP7, - PCI_DID_INTEL_ADP_M_PCIE_RP8, - PCI_DID_INTEL_ADP_M_N_PCIE_RP9, - PCI_DID_INTEL_ADP_M_N_PCIE_RP10, - PCI_DID_INTEL_ADP_N_PCIE_RP11, - PCI_DID_INTEL_ADP_N_PCIE_RP12, - PCI_DID_INTEL_RPP_S_PCIE_RP1, - PCI_DID_INTEL_RPP_S_PCIE_RP2, - PCI_DID_INTEL_RPP_S_PCIE_RP3, - PCI_DID_INTEL_RPP_S_PCIE_RP4, - PCI_DID_INTEL_RPP_S_PCIE_RP5, - PCI_DID_INTEL_RPP_S_PCIE_RP6, - PCI_DID_INTEL_RPP_S_PCIE_RP7, - PCI_DID_INTEL_RPP_S_PCIE_RP8, - PCI_DID_INTEL_RPP_S_PCIE_RP9, - PCI_DID_INTEL_RPP_S_PCIE_RP10, - PCI_DID_INTEL_RPP_S_PCIE_RP11, - PCI_DID_INTEL_RPP_S_PCIE_RP12, - PCI_DID_INTEL_RPP_S_PCIE_RP13, - PCI_DID_INTEL_RPP_S_PCIE_RP14, - PCI_DID_INTEL_RPP_S_PCIE_RP15, - PCI_DID_INTEL_RPP_S_PCIE_RP16, - PCI_DID_INTEL_RPP_S_PCIE_RP17, - PCI_DID_INTEL_RPP_S_PCIE_RP18, - PCI_DID_INTEL_RPP_S_PCIE_RP19, - PCI_DID_INTEL_RPP_S_PCIE_RP20, - PCI_DID_INTEL_RPP_S_PCIE_RP21, - PCI_DID_INTEL_RPP_S_PCIE_RP22, - PCI_DID_INTEL_RPP_S_PCIE_RP23, - PCI_DID_INTEL_RPP_S_PCIE_RP24, - PCI_DID_INTEL_RPP_S_PCIE_RP25, - PCI_DID_INTEL_RPP_S_PCIE_RP26, - PCI_DID_INTEL_RPP_S_PCIE_RP27, - PCI_DID_INTEL_RPP_S_PCIE_RP28, 0 }; diff --git a/src/soc/intel/jasperlake/chipset.cb b/src/soc/intel/jasperlake/chipset.cb index f713d22595..aa25ff5e8e 100644 --- a/src/soc/intel/jasperlake/chipset.cb +++ b/src/soc/intel/jasperlake/chipset.cb @@ -77,14 +77,14 @@ chip soc/intel/jasperlake device pci 19.1 alias i2c5 off end device pci 19.2 alias uart2 off end device pci 1a.0 alias emmc off end - device pci 1c.0 alias pcie_rp1 off end - device pci 1c.1 alias pcie_rp2 off end - device pci 1c.2 alias pcie_rp3 off end - device pci 1c.3 alias pcie_rp4 off end - device pci 1c.4 alias pcie_rp5 off end - device pci 1c.5 alias pcie_rp6 off end - device pci 1c.6 alias pcie_rp7 off end - device pci 1c.7 alias pcie_rp8 off end + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end + device pci 1c.4 alias pcie_rp5 off ops pcie_rp_ops end + device pci 1c.5 alias pcie_rp6 off ops pcie_rp_ops end + device pci 1c.6 alias pcie_rp7 off ops pcie_rp_ops end + device pci 1c.7 alias pcie_rp8 off ops pcie_rp_ops end device pci 1e.0 alias uart0 off end device pci 1e.1 alias uart1 off end device pci 1e.2 alias gspi0 off end diff --git a/src/soc/intel/meteorlake/chipset.cb b/src/soc/intel/meteorlake/chipset.cb index 7b26670ff8..6851b5769f 100644 --- a/src/soc/intel/meteorlake/chipset.cb +++ b/src/soc/intel/meteorlake/chipset.cb @@ -31,13 +31,13 @@ chip soc/intel/meteorlake device domain 0 on device pci 00.0 alias system_agent on end - device pci 01.0 alias pcie_rp12 off end + device pci 01.0 alias pcie_rp12 off ops pcie_rp_ops end device pci 02.0 alias igpu off end device pci 04.0 alias dtt off end device pci 05.0 alias ipu off end - device pci 06.0 alias pcie_rp9 off end - device pci 06.1 alias pcie_rp10 off end - device pci 06.2 alias pcie_rp11 off end + device pci 06.0 alias pcie_rp9 off ops pcie_rp_ops end + device pci 06.1 alias pcie_rp10 off ops pcie_rp_ops end + device pci 06.2 alias pcie_rp11 off ops pcie_rp_ops end device pci 07.0 alias tbt_pcie_rp0 off chip soc/intel/common/block/usb4 use tcss_dma0 as usb4_port @@ -169,14 +169,14 @@ chip soc/intel/meteorlake device pci 19.0 alias i2c4 off end device pci 19.1 alias i2c5 off end device pci 19.2 alias uart2 off end - device pci 1c.0 alias pcie_rp1 off end - device pci 1c.1 alias pcie_rp2 off end - device pci 1c.2 alias pcie_rp3 off end - device pci 1c.3 alias pcie_rp4 off end - device pci 1c.4 alias pcie_rp5 off end - device pci 1c.5 alias pcie_rp6 off end - device pci 1c.6 alias pcie_rp7 off end - device pci 1c.7 alias pcie_rp8 off end + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end + device pci 1c.4 alias pcie_rp5 off ops pcie_rp_ops end + device pci 1c.5 alias pcie_rp6 off ops pcie_rp_ops end + device pci 1c.6 alias pcie_rp7 off ops pcie_rp_ops end + device pci 1c.7 alias pcie_rp8 off ops pcie_rp_ops end device pci 1e.0 alias uart0 off end device pci 1e.1 alias uart1 off end device pci 1e.2 alias gspi0 off end diff --git a/src/soc/intel/pantherlake/chipset_ptl.cb b/src/soc/intel/pantherlake/chipset_ptl.cb index fb78b88659..31a898182f 100644 --- a/src/soc/intel/pantherlake/chipset_ptl.cb +++ b/src/soc/intel/pantherlake/chipset_ptl.cb @@ -112,10 +112,10 @@ chip soc/intel/pantherlake device pci 02.0 alias igpu on end device pci 04.0 alias dtt off end device pci 05.0 alias ipu off end - device pci 06.0 alias pcie_rp9 off end - device pci 06.1 alias pcie_rp10 off end - device pci 06.2 alias pcie_rp11 off end - device pci 06.3 alias pcie_rp12 off end + device pci 06.0 alias pcie_rp9 off ops pcie_rp_ops end + device pci 06.1 alias pcie_rp10 off ops pcie_rp_ops end + device pci 06.2 alias pcie_rp11 off ops pcie_rp_ops end + device pci 06.3 alias pcie_rp12 off ops pcie_rp_ops end device pci 07.0 alias tbt_pcie_rp0 off chip soc/intel/common/block/usb4 use tcss_dma0 as usb4_port @@ -229,14 +229,14 @@ chip soc/intel/pantherlake device pci 19.0 alias i2c4 off end device pci 19.1 alias i2c5 off end device pci 19.2 alias uart2 off end - device pci 1c.0 alias pcie_rp1 off end - device pci 1c.1 alias pcie_rp2 off end - device pci 1c.2 alias pcie_rp3 off end - device pci 1c.3 alias pcie_rp4 off end - device pci 1c.4 alias pcie_rp5 off end - device pci 1c.5 alias pcie_rp6 off end - device pci 1c.6 alias pcie_rp7 off end - device pci 1c.7 alias pcie_rp8 off end + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end + device pci 1c.4 alias pcie_rp5 off ops pcie_rp_ops end + device pci 1c.5 alias pcie_rp6 off ops pcie_rp_ops end + device pci 1c.6 alias pcie_rp7 off ops pcie_rp_ops end + device pci 1c.7 alias pcie_rp8 off ops pcie_rp_ops end device pci 1e.0 alias uart0 off end device pci 1e.1 alias uart1 off end device pci 1e.2 alias gspi0 off end diff --git a/src/soc/intel/pantherlake/chipset_wcl.cb b/src/soc/intel/pantherlake/chipset_wcl.cb index 31abe5be94..2236d930e2 100644 --- a/src/soc/intel/pantherlake/chipset_wcl.cb +++ b/src/soc/intel/pantherlake/chipset_wcl.cb @@ -20,8 +20,8 @@ chip soc/intel/pantherlake device pci 00.0 alias system_agent on end device pci 02.0 alias igpu on end device pci 04.0 alias dtt off end - device pci 06.0 alias pcie_rp5 off end - device pci 06.1 alias pcie_rp6 off end + device pci 06.0 alias pcie_rp5 off ops pcie_rp_ops end + device pci 06.1 alias pcie_rp6 off ops pcie_rp_ops end device pci 07.0 alias tbt_pcie_rp0 off chip soc/intel/common/block/usb4 use tcss_dma0 as usb4_port @@ -116,10 +116,10 @@ chip soc/intel/pantherlake device pci 19.0 alias i2c4 off end device pci 19.1 alias i2c5 off end device pci 19.2 alias uart2 off end - device pci 1c.0 alias pcie_rp1 off end - device pci 1c.1 alias pcie_rp2 off end - device pci 1c.2 alias pcie_rp3 off end - device pci 1c.3 alias pcie_rp4 off end + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end device pci 1e.0 alias uart0 off end device pci 1e.1 alias uart1 off end device pci 1e.2 alias gspi0 off end diff --git a/src/soc/intel/tigerlake/chipset.cb b/src/soc/intel/tigerlake/chipset.cb index f0576ad5e6..bdf0138229 100644 --- a/src/soc/intel/tigerlake/chipset.cb +++ b/src/soc/intel/tigerlake/chipset.cb @@ -129,18 +129,18 @@ chip soc/intel/tigerlake device pci 19.0 alias i2c4 off end device pci 19.1 alias i2c5 off end device pci 19.2 alias uart2 off end - device pci 1c.0 alias pcie_rp1 off end - device pci 1c.1 alias pcie_rp2 off end - device pci 1c.2 alias pcie_rp3 off end - device pci 1c.3 alias pcie_rp4 off end - device pci 1c.4 alias pcie_rp5 off end - device pci 1c.5 alias pcie_rp6 off end - device pci 1c.6 alias pcie_rp7 off end - device pci 1c.7 alias pcie_rp8 off end - device pci 1d.0 alias pcie_rp9 off end - device pci 1d.1 alias pcie_rp10 off end - device pci 1d.2 alias pcie_rp11 off end - device pci 1d.3 alias pcie_rp12 off end + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end + device pci 1c.4 alias pcie_rp5 off ops pcie_rp_ops end + device pci 1c.5 alias pcie_rp6 off ops pcie_rp_ops end + device pci 1c.6 alias pcie_rp7 off ops pcie_rp_ops end + device pci 1c.7 alias pcie_rp8 off ops pcie_rp_ops end + device pci 1d.0 alias pcie_rp9 off ops pcie_rp_ops end + device pci 1d.1 alias pcie_rp10 off ops pcie_rp_ops end + device pci 1d.2 alias pcie_rp11 off ops pcie_rp_ops end + device pci 1d.3 alias pcie_rp12 off ops pcie_rp_ops end device pci 1e.0 alias uart0 off end device pci 1e.1 alias uart1 off end device pci 1e.2 alias gspi0 off end diff --git a/src/soc/intel/tigerlake/chipset_pch_h.cb b/src/soc/intel/tigerlake/chipset_pch_h.cb index 40f613ff4a..e2c7022546 100644 --- a/src/soc/intel/tigerlake/chipset_pch_h.cb +++ b/src/soc/intel/tigerlake/chipset_pch_h.cb @@ -151,30 +151,30 @@ chip soc/intel/tigerlake device pci 19.0 alias i2c4 off end device pci 19.1 alias i2c5 off end device pci 19.2 alias uart2 off end - device pci 1b.0 alias pcie_rp17 off end - device pci 1b.1 alias pcie_rp18 off end - device pci 1b.2 alias pcie_rp19 off end - device pci 1b.3 alias pcie_rp20 off end - device pci 1b.4 alias pcie_rp21 off end - device pci 1b.5 alias pcie_rp22 off end - device pci 1b.6 alias pcie_rp23 off end - device pci 1b.7 alias pcie_rp24 off end - device pci 1c.0 alias pcie_rp1 off end - device pci 1c.1 alias pcie_rp2 off end - device pci 1c.2 alias pcie_rp3 off end - device pci 1c.3 alias pcie_rp4 off end - device pci 1c.4 alias pcie_rp5 off end - device pci 1c.5 alias pcie_rp6 off end - device pci 1c.6 alias pcie_rp7 off end - device pci 1c.7 alias pcie_rp8 off end - device pci 1d.0 alias pcie_rp9 off end - device pci 1d.1 alias pcie_rp10 off end - device pci 1d.2 alias pcie_rp11 off end - device pci 1d.3 alias pcie_rp12 off end - device pci 1d.4 alias pcie_rp13 off end - device pci 1d.5 alias pcie_rp14 off end - device pci 1d.6 alias pcie_rp15 off end - device pci 1d.7 alias pcie_rp16 off end + device pci 1b.0 alias pcie_rp17 off ops pcie_rp_ops end + device pci 1b.1 alias pcie_rp18 off ops pcie_rp_ops end + device pci 1b.2 alias pcie_rp19 off ops pcie_rp_ops end + device pci 1b.3 alias pcie_rp20 off ops pcie_rp_ops end + device pci 1b.4 alias pcie_rp21 off ops pcie_rp_ops end + device pci 1b.5 alias pcie_rp22 off ops pcie_rp_ops end + device pci 1b.6 alias pcie_rp23 off ops pcie_rp_ops end + device pci 1b.7 alias pcie_rp24 off ops pcie_rp_ops end + device pci 1c.0 alias pcie_rp1 off ops pcie_rp_ops end + device pci 1c.1 alias pcie_rp2 off ops pcie_rp_ops end + device pci 1c.2 alias pcie_rp3 off ops pcie_rp_ops end + device pci 1c.3 alias pcie_rp4 off ops pcie_rp_ops end + device pci 1c.4 alias pcie_rp5 off ops pcie_rp_ops end + device pci 1c.5 alias pcie_rp6 off ops pcie_rp_ops end + device pci 1c.6 alias pcie_rp7 off ops pcie_rp_ops end + device pci 1c.7 alias pcie_rp8 off ops pcie_rp_ops end + device pci 1d.0 alias pcie_rp9 off ops pcie_rp_ops end + device pci 1d.1 alias pcie_rp10 off ops pcie_rp_ops end + device pci 1d.2 alias pcie_rp11 off ops pcie_rp_ops end + device pci 1d.3 alias pcie_rp12 off ops pcie_rp_ops end + device pci 1d.4 alias pcie_rp13 off ops pcie_rp_ops end + device pci 1d.5 alias pcie_rp14 off ops pcie_rp_ops end + device pci 1d.6 alias pcie_rp15 off ops pcie_rp_ops end + device pci 1d.7 alias pcie_rp16 off ops pcie_rp_ops end device pci 1e.0 alias uart0 off end device pci 1e.1 alias uart1 off end device pci 1e.2 alias gspi0 off end