Saurabh Mishra has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81848?usp=email )
Change subject: soc/intel/common: Add pantherlake device IDs ......................................................................
soc/intel/common: Add pantherlake device IDs
Added Panther Lake device IDs the device specific functions
Reference: Panther Lake External Design Specification Volume 1
Change-Id: I941d6e1c8a697234b8e64a2523e60587897d7f7a Signed-off-by: Saurabh Mishra mishra.saurabh@intel.com --- M src/drivers/intel/ish/ish.c M src/soc/intel/common/block/cnvi/cnvi.c M src/soc/intel/common/block/cpu/mp_init.c M src/soc/intel/common/block/cse/cse.c M src/soc/intel/common/block/dsp/dsp.c M src/soc/intel/common/block/graphics/graphics.c M src/soc/intel/common/block/hda/hda.c M src/soc/intel/common/block/i2c/i2c.c M src/soc/intel/common/block/ipu/ipu.c M src/soc/intel/common/block/lpc/lpc.c M src/soc/intel/common/block/pcie/pcie.c M src/soc/intel/common/block/pmc/pmc.c M src/soc/intel/common/block/smbus/smbus.c M src/soc/intel/common/block/spi/spi.c M src/soc/intel/common/block/sram/sram.c M src/soc/intel/common/block/systemagent/systemagent.c M src/soc/intel/common/block/uart/uart.c M src/soc/intel/common/block/usb4/usb4.c M src/soc/intel/common/block/usb4/xhci.c M src/soc/intel/common/block/xhci/xhci.c 20 files changed, 90 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/81848/1
diff --git a/src/drivers/intel/ish/ish.c b/src/drivers/intel/ish/ish.c index 0ad0bb8..7d332e1 100644 --- a/src/drivers/intel/ish/ish.c +++ b/src/drivers/intel/ish/ish.c @@ -79,6 +79,7 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_ISHB, PCI_DID_INTEL_LNL_ISHB, PCI_DID_INTEL_MTL_ISHB, PCI_DID_INTEL_CNL_ISHB, diff --git a/src/soc/intel/common/block/cnvi/cnvi.c b/src/soc/intel/common/block/cnvi/cnvi.c index e0ea793..bf51e49 100644 --- a/src/soc/intel/common/block/cnvi/cnvi.c +++ b/src/soc/intel/common/block/cnvi/cnvi.c @@ -21,6 +21,10 @@ };
static const unsigned short wifi_pci_device_ids[] = { + PCI_DID_INTEL_PTL_CNVI_WIFI_0, + PCI_DID_INTEL_PTL_CNVI_WIFI_1, + PCI_DID_INTEL_PTL_CNVI_WIFI_2, + PCI_DID_INTEL_PTL_CNVI_WIFI_3, PCI_DID_INTEL_LNL_CNVI_WIFI_0, PCI_DID_INTEL_LNL_CNVI_WIFI_1, PCI_DID_INTEL_LNL_CNVI_WIFI_2, diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c index a178405..cb80d1a 100644 --- a/src/soc/intel/common/block/cpu/mp_init.c +++ b/src/soc/intel/common/block/cpu/mp_init.c @@ -32,6 +32,7 @@ };
static const struct cpu_device_id cpu_table[] = { + { X86_VENDOR_INTEL, CPUID_PANTHERLAKE_P, CPUID_EXACT_MATCH_MASK }, { X86_VENDOR_INTEL, CPUID_LUNARLAKE_A0_1, CPUID_EXACT_MATCH_MASK }, { X86_VENDOR_INTEL, CPUID_LUNARLAKE_A0_2, CPUID_EXACT_MATCH_MASK }, { X86_VENDOR_INTEL, CPUID_METEORLAKE_A0_1, CPUID_EXACT_MATCH_MASK }, diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c index d0ca57b..26685e5 100644 --- a/src/soc/intel/common/block/cse/cse.c +++ b/src/soc/intel/common/block/cse/cse.c @@ -1475,6 +1475,7 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_P_CSE0, PCI_DID_INTEL_LNL_CSE0, PCI_DID_INTEL_MTL_CSE0, PCI_DID_INTEL_APL_CSE0, diff --git a/src/soc/intel/common/block/dsp/dsp.c b/src/soc/intel/common/block/dsp/dsp.c index 1f11df0..7e8322e 100644 --- a/src/soc/intel/common/block/dsp/dsp.c +++ b/src/soc/intel/common/block/dsp/dsp.c @@ -13,6 +13,14 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_AUDIO_1, + PCI_DID_INTEL_PTL_AUDIO_2, + PCI_DID_INTEL_PTL_AUDIO_3, + PCI_DID_INTEL_PTL_AUDIO_4, + PCI_DID_INTEL_PTL_AUDIO_5, + PCI_DID_INTEL_PTL_AUDIO_6, + PCI_DID_INTEL_PTL_AUDIO_7, + PCI_DID_INTEL_PTL_AUDIO_8, PCI_DID_INTEL_LNL_AUDIO_1, PCI_DID_INTEL_LNL_AUDIO_2, PCI_DID_INTEL_LNL_AUDIO_3, diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c index ef4b269..491212f 100644 --- a/src/soc/intel/common/block/graphics/graphics.c +++ b/src/soc/intel/common/block/graphics/graphics.c @@ -332,6 +332,8 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_P_GT3, + PCI_DID_INTEL_PTL_P_GT2, PCI_DID_INTEL_LNL_M_GT2, PCI_DID_INTEL_RPL_U_GT1, PCI_DID_INTEL_RPL_U_GT2, diff --git a/src/soc/intel/common/block/hda/hda.c b/src/soc/intel/common/block/hda/hda.c index 44c0341..ca50312 100644 --- a/src/soc/intel/common/block/hda/hda.c +++ b/src/soc/intel/common/block/hda/hda.c @@ -21,6 +21,14 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_AUDIO_1, + PCI_DID_INTEL_PTL_AUDIO_2, + PCI_DID_INTEL_PTL_AUDIO_3, + PCI_DID_INTEL_PTL_AUDIO_4, + PCI_DID_INTEL_PTL_AUDIO_5, + PCI_DID_INTEL_PTL_AUDIO_6, + PCI_DID_INTEL_PTL_AUDIO_7, + PCI_DID_INTEL_PTL_AUDIO_8, PCI_DID_INTEL_LNL_AUDIO_1, PCI_DID_INTEL_LNL_AUDIO_2, PCI_DID_INTEL_LNL_AUDIO_3, diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c index c0f0b6e0..f84b2cd 100644 --- a/src/soc/intel/common/block/i2c/i2c.c +++ b/src/soc/intel/common/block/i2c/i2c.c @@ -174,6 +174,12 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_I2C0, + PCI_DID_INTEL_PTL_I2C1, + PCI_DID_INTEL_PTL_I2C2, + PCI_DID_INTEL_PTL_I2C3, + PCI_DID_INTEL_PTL_I2C4, + PCI_DID_INTEL_PTL_I2C5, PCI_DID_INTEL_LNL_I2C0, PCI_DID_INTEL_LNL_I2C1, PCI_DID_INTEL_LNL_I2C2, diff --git a/src/soc/intel/common/block/ipu/ipu.c b/src/soc/intel/common/block/ipu/ipu.c index b2d3904..989da2e 100644 --- a/src/soc/intel/common/block/ipu/ipu.c +++ b/src/soc/intel/common/block/ipu/ipu.c @@ -12,6 +12,7 @@ };
static const uint16_t pci_device_ids[] = { + PCI_DID_INTEL_PTL_IPU, PCI_DID_INTEL_LNL_IPU, PCI_DID_INTEL_RPL_IPU, PCI_DID_INTEL_MTL_IPU, diff --git a/src/soc/intel/common/block/lpc/lpc.c b/src/soc/intel/common/block/lpc/lpc.c index e805035..20b8bfb 100644 --- a/src/soc/intel/common/block/lpc/lpc.c +++ b/src/soc/intel/common/block/lpc/lpc.c @@ -141,6 +141,38 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_ESPI_0, + PCI_DID_INTEL_PTL_ESPI_1, + PCI_DID_INTEL_PTL_ESPI_2, + PCI_DID_INTEL_PTL_ESPI_3, + PCI_DID_INTEL_PTL_ESPI_4, + PCI_DID_INTEL_PTL_ESPI_5, + PCI_DID_INTEL_PTL_ESPI_6, + PCI_DID_INTEL_PTL_ESPI_7, + PCI_DID_INTEL_PTL_ESPI_8, + PCI_DID_INTEL_PTL_ESPI_9, + PCI_DID_INTEL_PTL_ESPI_10, + PCI_DID_INTEL_PTL_ESPI_11, + PCI_DID_INTEL_PTL_ESPI_12, + PCI_DID_INTEL_PTL_ESPI_13, + PCI_DID_INTEL_PTL_ESPI_14, + PCI_DID_INTEL_PTL_ESPI_15, + PCI_DID_INTEL_PTL_ESPI_16, + PCI_DID_INTEL_PTL_ESPI_17, + PCI_DID_INTEL_PTL_ESPI_18, + PCI_DID_INTEL_PTL_ESPI_19, + PCI_DID_INTEL_PTL_ESPI_20, + PCI_DID_INTEL_PTL_ESPI_21, + PCI_DID_INTEL_PTL_ESPI_22, + PCI_DID_INTEL_PTL_ESPI_23, + PCI_DID_INTEL_PTL_ESPI_24, + PCI_DID_INTEL_PTL_ESPI_25, + PCI_DID_INTEL_PTL_ESPI_26, + PCI_DID_INTEL_PTL_ESPI_27, + PCI_DID_INTEL_PTL_ESPI_28, + PCI_DID_INTEL_PTL_ESPI_29, + PCI_DID_INTEL_PTL_ESPI_30, + PCI_DID_INTEL_PTL_ESPI_31, PCI_DID_INTEL_LNL_ESPI_0, PCI_DID_INTEL_LNL_ESPI_1, PCI_DID_INTEL_LNL_ESPI_2, diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c index 5c6681d..3c5e26a 100644 --- a/src/soc/intel/common/block/pcie/pcie.c +++ b/src/soc/intel/common/block/pcie/pcie.c @@ -67,6 +67,14 @@ };
static const unsigned short pcie_device_ids[] = { + PCI_DID_INTEL_PTL_PCIE_RP1, + PCI_DID_INTEL_PTL_PCIE_RP2, + PCI_DID_INTEL_PTL_PCIE_RP3, + PCI_DID_INTEL_PTL_PCIE_RP4, + PCI_DID_INTEL_PTL_PCIE_RP5, + PCI_DID_INTEL_PTL_PCIE_RP6, + PCI_DID_INTEL_PTL_PCIE_RP7, + PCI_DID_INTEL_PTL_PCIE_RP8, PCI_DID_INTEL_LNL_PCIE_RP1, PCI_DID_INTEL_LNL_PCIE_RP2, PCI_DID_INTEL_LNL_PCIE_RP3, diff --git a/src/soc/intel/common/block/pmc/pmc.c b/src/soc/intel/common/block/pmc/pmc.c index ca575ff..bc70b1a 100644 --- a/src/soc/intel/common/block/pmc/pmc.c +++ b/src/soc/intel/common/block/pmc/pmc.c @@ -111,6 +111,7 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_PMC, PCI_DID_INTEL_LNL_PMC, PCI_DID_INTEL_MTL_SOC_PMC, PCI_DID_INTEL_MTL_IOE_M_PMC, diff --git a/src/soc/intel/common/block/smbus/smbus.c b/src/soc/intel/common/block/smbus/smbus.c index 97651c0..7f87a52 100644 --- a/src/soc/intel/common/block/smbus/smbus.c +++ b/src/soc/intel/common/block/smbus/smbus.c @@ -49,6 +49,7 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_SMBUS, PCI_DID_INTEL_LNL_SMBUS, PCI_DID_INTEL_MTL_SMBUS, PCI_DID_INTEL_RPP_P_SMBUS, diff --git a/src/soc/intel/common/block/spi/spi.c b/src/soc/intel/common/block/spi/spi.c index d1063f1..0e8aa26 100644 --- a/src/soc/intel/common/block/spi/spi.c +++ b/src/soc/intel/common/block/spi/spi.c @@ -123,6 +123,10 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_HWSEQ_SPI, + PCI_DID_INTEL_PTL_SPI0, + PCI_DID_INTEL_PTL_SPI1, + PCI_DID_INTEL_PTL_SPI2, PCI_DID_INTEL_LNL_GSPI0, PCI_DID_INTEL_LNL_GSPI1, PCI_DID_INTEL_LNL_GSPI2, diff --git a/src/soc/intel/common/block/sram/sram.c b/src/soc/intel/common/block/sram/sram.c index cd8c3fd..8d0387b 100644 --- a/src/soc/intel/common/block/sram/sram.c +++ b/src/soc/intel/common/block/sram/sram.c @@ -33,6 +33,7 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_SRAM, PCI_DID_INTEL_LNL_SRAM, PCI_DID_INTEL_MTL_SOC_SRAM, PCI_DID_INTEL_MTL_IOE_M_SRAM, diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c index 97044ec..d5fb83a 100644 --- a/src/soc/intel/common/block/systemagent/systemagent.c +++ b/src/soc/intel/common/block/systemagent/systemagent.c @@ -414,6 +414,7 @@ };
static const unsigned short systemagent_ids[] = { + PCI_DID_INTEL_PTL_P_ID, PCI_DID_INTEL_LNL_M_ID, PCI_DID_INTEL_LNL_M_ID_1, PCI_DID_INTEL_MTL_M_ID, diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c index c03f5a9..e52bb0f 100644 --- a/src/soc/intel/common/block/uart/uart.c +++ b/src/soc/intel/common/block/uart/uart.c @@ -309,6 +309,7 @@ static const char *uart_acpi_name(const struct device *dev) { switch (dev->device) { + case PCI_DID_INTEL_PTL_UART0: case PCI_DID_INTEL_LNL_UART0: case PCI_DID_INTEL_ADP_P_UART0: case PCI_DID_INTEL_APL_UART0: @@ -317,6 +318,7 @@ case PCI_DID_INTEL_SPT_H_UART0: case PCI_DID_INTEL_CNP_H_UART0: return "UAR0"; + case PCI_DID_INTEL_PTL_UART1: case PCI_DID_INTEL_LNL_UART1: case PCI_DID_INTEL_ADP_P_UART1: case PCI_DID_INTEL_APL_UART1: @@ -325,6 +327,7 @@ case PCI_DID_INTEL_SPT_H_UART1: case PCI_DID_INTEL_CNP_H_UART1: return "UAR1"; + case PCI_DID_INTEL_PTL_UART2: case PCI_DID_INTEL_LNL_UART2: case PCI_DID_INTEL_ADP_P_UART2: case PCI_DID_INTEL_APL_UART2: @@ -352,6 +355,9 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_UART0, + PCI_DID_INTEL_PTL_UART1, + PCI_DID_INTEL_PTL_UART2, PCI_DID_INTEL_LNL_UART0, PCI_DID_INTEL_LNL_UART1, PCI_DID_INTEL_LNL_UART2, diff --git a/src/soc/intel/common/block/usb4/usb4.c b/src/soc/intel/common/block/usb4/usb4.c index a47bb9b..ff898ab 100644 --- a/src/soc/intel/common/block/usb4/usb4.c +++ b/src/soc/intel/common/block/usb4/usb4.c @@ -52,6 +52,8 @@ #endif
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_TBT_DMA0, + PCI_DID_INTEL_PTL_TBT_DMA1, PCI_DID_INTEL_LNL_TBT_DMA0, PCI_DID_INTEL_LNL_TBT_DMA1, PCI_DID_INTEL_RPL_TBT_DMA0, diff --git a/src/soc/intel/common/block/usb4/xhci.c b/src/soc/intel/common/block/usb4/xhci.c index 4912e1a..4e1a2a8 100644 --- a/src/soc/intel/common/block/usb4/xhci.c +++ b/src/soc/intel/common/block/usb4/xhci.c @@ -26,6 +26,7 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_TCSS_XHCI, PCI_DID_INTEL_LNL_TCSS_XHCI, PCI_DID_INTEL_RPP_P_TCSS_XHCI, PCI_DID_INTEL_MTL_M_TCSS_XHCI, diff --git a/src/soc/intel/common/block/xhci/xhci.c b/src/soc/intel/common/block/xhci/xhci.c index 03ed578..dd4e5de 100644 --- a/src/soc/intel/common/block/xhci/xhci.c +++ b/src/soc/intel/common/block/xhci/xhci.c @@ -131,6 +131,7 @@ };
static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_PTL_XHCI, PCI_DID_INTEL_LNL_XHCI, PCI_DID_INTEL_MTL_XHCI, PCI_DID_INTEL_APL_XHCI,