aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorAppukuttan V K <appukuttan.vk@intel.com>2024-01-11 18:05:11 +0530
committerFelix Held <felix-coreboot@felixheld.de>2024-01-26 21:56:13 +0000
commit50c8f2ef363637ee6219d4771ed5311489686285 (patch)
treee03109cdc49983338952edad32bde48d9b9e0112 /src/soc/intel
parent659f97c621c085248f68cf5a63819aa4c4497206 (diff)
soc/intel/common: Add lunarlake device IDs
Added Lunar Lake device IDs the device specific functions Reference: Lunar Lake External Design Specification Volume 1 (734362) Change-Id: Id31d567287b9921d60909b1eb617c7cfaf6672c9 Signed-off-by: Appukuttan V K <appukuttan.vk@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79900 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Saurabh Mishra <mishra.saurabh@intel.com> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com> Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/common/block/cpu/mp_init.c1
-rw-r--r--src/soc/intel/common/block/cse/cse.c1
-rw-r--r--src/soc/intel/common/block/dsp/dsp.c8
-rw-r--r--src/soc/intel/common/block/fast_spi/fast_spi.c1
-rw-r--r--src/soc/intel/common/block/graphics/graphics.c1
-rw-r--r--src/soc/intel/common/block/hda/hda.c8
-rw-r--r--src/soc/intel/common/block/i2c/i2c.c6
-rw-r--r--src/soc/intel/common/block/ipu/ipu.c1
-rw-r--r--src/soc/intel/common/block/lpc/lpc.c8
-rw-r--r--src/soc/intel/common/block/p2sb/p2sb.c1
-rw-r--r--src/soc/intel/common/block/pcie/pcie.c8
-rw-r--r--src/soc/intel/common/block/pmc/pmc.c1
-rw-r--r--src/soc/intel/common/block/smbus/smbus.c1
-rw-r--r--src/soc/intel/common/block/spi/spi.c3
-rw-r--r--src/soc/intel/common/block/sram/sram.c1
-rw-r--r--src/soc/intel/common/block/systemagent/systemagent.c1
-rw-r--r--src/soc/intel/common/block/uart/uart.c6
-rw-r--r--src/soc/intel/common/block/usb4/usb4.c2
-rw-r--r--src/soc/intel/common/block/usb4/xhci.c1
-rw-r--r--src/soc/intel/common/block/xhci/xhci.c1
20 files changed, 61 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c
index cb09385f82..bd435454d9 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 struct device_operations cpu_dev_ops = {
};
static const struct cpu_device_id cpu_table[] = {
+ { X86_VENDOR_INTEL, CPUID_LUNARLAKE_A0_1, CPUID_EXACT_MATCH_MASK },
{ X86_VENDOR_INTEL, CPUID_METEORLAKE_A0_1, CPUID_EXACT_MATCH_MASK },
{ X86_VENDOR_INTEL, CPUID_METEORLAKE_A0_2, CPUID_EXACT_MATCH_MASK },
{ X86_VENDOR_INTEL, CPUID_METEORLAKE_B0, 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 8a92332dbf..6d7569dbb0 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -1477,6 +1477,7 @@ struct device_operations cse_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_CSE0,
PCI_DID_INTEL_MTL_CSE0,
PCI_DID_INTEL_APL_CSE0,
PCI_DID_INTEL_GLK_CSE0,
diff --git a/src/soc/intel/common/block/dsp/dsp.c b/src/soc/intel/common/block/dsp/dsp.c
index 5419a2900e..1f11df06cf 100644
--- a/src/soc/intel/common/block/dsp/dsp.c
+++ b/src/soc/intel/common/block/dsp/dsp.c
@@ -13,6 +13,14 @@ static struct device_operations dsp_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_AUDIO_1,
+ PCI_DID_INTEL_LNL_AUDIO_2,
+ PCI_DID_INTEL_LNL_AUDIO_3,
+ PCI_DID_INTEL_LNL_AUDIO_4,
+ PCI_DID_INTEL_LNL_AUDIO_5,
+ PCI_DID_INTEL_LNL_AUDIO_6,
+ PCI_DID_INTEL_LNL_AUDIO_7,
+ PCI_DID_INTEL_LNL_AUDIO_8,
PCI_DID_INTEL_MTL_AUDIO_1,
PCI_DID_INTEL_MTL_AUDIO_2,
PCI_DID_INTEL_MTL_AUDIO_3,
diff --git a/src/soc/intel/common/block/fast_spi/fast_spi.c b/src/soc/intel/common/block/fast_spi/fast_spi.c
index 621dc963b6..74449df746 100644
--- a/src/soc/intel/common/block/fast_spi/fast_spi.c
+++ b/src/soc/intel/common/block/fast_spi/fast_spi.c
@@ -563,6 +563,7 @@ static struct device_operations fast_spi_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_HWSEQ_SPI,
PCI_DID_INTEL_ADP_M_N_HWSEQ_SPI,
PCI_DID_INTEL_ADP_P_HWSEQ_SPI,
PCI_DID_INTEL_ADP_S_HWSEQ_SPI,
diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c
index 9b780da210..ef4b269144 100644
--- a/src/soc/intel/common/block/graphics/graphics.c
+++ b/src/soc/intel/common/block/graphics/graphics.c
@@ -332,6 +332,7 @@ const struct device_operations graphics_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_M_GT2,
PCI_DID_INTEL_RPL_U_GT1,
PCI_DID_INTEL_RPL_U_GT2,
PCI_DID_INTEL_RPL_U_GT3,
diff --git a/src/soc/intel/common/block/hda/hda.c b/src/soc/intel/common/block/hda/hda.c
index fdd78fc6d0..44c03417b2 100644
--- a/src/soc/intel/common/block/hda/hda.c
+++ b/src/soc/intel/common/block/hda/hda.c
@@ -21,6 +21,14 @@ struct device_operations hda_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_AUDIO_1,
+ PCI_DID_INTEL_LNL_AUDIO_2,
+ PCI_DID_INTEL_LNL_AUDIO_3,
+ PCI_DID_INTEL_LNL_AUDIO_4,
+ PCI_DID_INTEL_LNL_AUDIO_5,
+ PCI_DID_INTEL_LNL_AUDIO_6,
+ PCI_DID_INTEL_LNL_AUDIO_7,
+ PCI_DID_INTEL_LNL_AUDIO_8,
PCI_DID_INTEL_MTL_AUDIO_1,
PCI_DID_INTEL_MTL_AUDIO_2,
PCI_DID_INTEL_MTL_AUDIO_3,
diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c
index 141b66e117..c0f0b6e0ba 100644
--- a/src/soc/intel/common/block/i2c/i2c.c
+++ b/src/soc/intel/common/block/i2c/i2c.c
@@ -174,6 +174,12 @@ struct device_operations i2c_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_I2C0,
+ PCI_DID_INTEL_LNL_I2C1,
+ PCI_DID_INTEL_LNL_I2C2,
+ PCI_DID_INTEL_LNL_I2C3,
+ PCI_DID_INTEL_LNL_I2C4,
+ PCI_DID_INTEL_LNL_I2C5,
PCI_DID_INTEL_MTL_I2C0,
PCI_DID_INTEL_MTL_I2C1,
PCI_DID_INTEL_MTL_I2C2,
diff --git a/src/soc/intel/common/block/ipu/ipu.c b/src/soc/intel/common/block/ipu/ipu.c
index cd0293dff6..b2d3904b06 100644
--- a/src/soc/intel/common/block/ipu/ipu.c
+++ b/src/soc/intel/common/block/ipu/ipu.c
@@ -12,6 +12,7 @@ struct device_operations ipu_pci_ops = {
};
static const uint16_t pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_IPU,
PCI_DID_INTEL_RPL_IPU,
PCI_DID_INTEL_MTL_IPU,
PCI_DID_INTEL_TGL_IPU,
diff --git a/src/soc/intel/common/block/lpc/lpc.c b/src/soc/intel/common/block/lpc/lpc.c
index 0de3154431..6d3b90f690 100644
--- a/src/soc/intel/common/block/lpc/lpc.c
+++ b/src/soc/intel/common/block/lpc/lpc.c
@@ -138,6 +138,14 @@ struct device_operations lpc_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_ESPI_0,
+ PCI_DID_INTEL_LNL_ESPI_1,
+ PCI_DID_INTEL_LNL_ESPI_2,
+ PCI_DID_INTEL_LNL_ESPI_3,
+ PCI_DID_INTEL_LNL_ESPI_4,
+ PCI_DID_INTEL_LNL_ESPI_5,
+ PCI_DID_INTEL_LNL_ESPI_6,
+ PCI_DID_INTEL_LNL_ESPI_7,
PCI_DID_INTEL_MTL_ESPI_0,
PCI_DID_INTEL_MTL_ESPI_1,
PCI_DID_INTEL_MTL_ESPI_2,
diff --git a/src/soc/intel/common/block/p2sb/p2sb.c b/src/soc/intel/common/block/p2sb/p2sb.c
index dea1c788c0..04318c8330 100644
--- a/src/soc/intel/common/block/p2sb/p2sb.c
+++ b/src/soc/intel/common/block/p2sb/p2sb.c
@@ -138,6 +138,7 @@ const struct device_operations p2sb_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_P2SB,
PCI_DID_INTEL_MTL_SOC_P2SB,
PCI_DID_INTEL_RPP_P_P2SB,
PCI_DID_INTEL_APL_P2SB,
diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c
index d86ba831d1..5c6681d0d0 100644
--- a/src/soc/intel/common/block/pcie/pcie.c
+++ b/src/soc/intel/common/block/pcie/pcie.c
@@ -67,6 +67,14 @@ struct device_operations pcie_rp_ops = {
};
static const unsigned short pcie_device_ids[] = {
+ PCI_DID_INTEL_LNL_PCIE_RP1,
+ PCI_DID_INTEL_LNL_PCIE_RP2,
+ PCI_DID_INTEL_LNL_PCIE_RP3,
+ PCI_DID_INTEL_LNL_PCIE_RP4,
+ PCI_DID_INTEL_LNL_PCIE_RP5,
+ 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,
diff --git a/src/soc/intel/common/block/pmc/pmc.c b/src/soc/intel/common/block/pmc/pmc.c
index 70e1449411..ca575ff7b0 100644
--- a/src/soc/intel/common/block/pmc/pmc.c
+++ b/src/soc/intel/common/block/pmc/pmc.c
@@ -111,6 +111,7 @@ struct device_operations pmc_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_PMC,
PCI_DID_INTEL_MTL_SOC_PMC,
PCI_DID_INTEL_MTL_IOE_M_PMC,
PCI_DID_INTEL_MTL_IOE_P_PMC,
diff --git a/src/soc/intel/common/block/smbus/smbus.c b/src/soc/intel/common/block/smbus/smbus.c
index ce98505da9..4f2ed3613d 100644
--- a/src/soc/intel/common/block/smbus/smbus.c
+++ b/src/soc/intel/common/block/smbus/smbus.c
@@ -50,6 +50,7 @@ struct device_operations smbus_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_SMBUS,
PCI_DID_INTEL_MTL_SMBUS,
PCI_DID_INTEL_RPP_P_SMBUS,
PCI_DID_INTEL_RPP_S_SMBUS,
diff --git a/src/soc/intel/common/block/spi/spi.c b/src/soc/intel/common/block/spi/spi.c
index b95ac96188..d1063f10a8 100644
--- a/src/soc/intel/common/block/spi/spi.c
+++ b/src/soc/intel/common/block/spi/spi.c
@@ -123,6 +123,9 @@ struct device_operations spi_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_GSPI0,
+ PCI_DID_INTEL_LNL_GSPI1,
+ PCI_DID_INTEL_LNL_GSPI2,
PCI_DID_INTEL_MTL_GSPI0,
PCI_DID_INTEL_MTL_GSPI1,
PCI_DID_INTEL_MTL_GSPI2,
diff --git a/src/soc/intel/common/block/sram/sram.c b/src/soc/intel/common/block/sram/sram.c
index a6f95e2bc7..cd8c3fd0aa 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 struct device_operations device_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_SRAM,
PCI_DID_INTEL_MTL_SOC_SRAM,
PCI_DID_INTEL_MTL_IOE_M_SRAM,
PCI_DID_INTEL_MTL_IOE_P_SRAM,
diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c
index 24c5a7e5cd..c2d561ae08 100644
--- a/src/soc/intel/common/block/systemagent/systemagent.c
+++ b/src/soc/intel/common/block/systemagent/systemagent.c
@@ -336,6 +336,7 @@ struct device_operations systemagent_ops = {
};
static const unsigned short systemagent_ids[] = {
+ PCI_DID_INTEL_LNL_M_ID,
PCI_DID_INTEL_MTL_M_ID,
PCI_DID_INTEL_MTL_P_ID_1,
PCI_DID_INTEL_MTL_P_ID_2,
diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c
index 912349850b..533fbee832 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_hid(const struct device *dev)
static const char *uart_acpi_name(const struct device *dev)
{
switch (dev->device) {
+ case PCI_DID_INTEL_LNL_UART0:
case PCI_DID_INTEL_ADP_P_UART0:
case PCI_DID_INTEL_APL_UART0:
case PCI_DID_INTEL_GLK_UART0:
@@ -316,6 +317,7 @@ static const char *uart_acpi_name(const struct device *dev)
case PCI_DID_INTEL_SPT_H_UART0:
case PCI_DID_INTEL_CNP_H_UART0:
return "UAR0";
+ case PCI_DID_INTEL_LNL_UART1:
case PCI_DID_INTEL_ADP_P_UART1:
case PCI_DID_INTEL_APL_UART1:
case PCI_DID_INTEL_GLK_UART1:
@@ -323,6 +325,7 @@ static const char *uart_acpi_name(const struct device *dev)
case PCI_DID_INTEL_SPT_H_UART1:
case PCI_DID_INTEL_CNP_H_UART1:
return "UAR1";
+ case PCI_DID_INTEL_LNL_UART2:
case PCI_DID_INTEL_ADP_P_UART2:
case PCI_DID_INTEL_APL_UART2:
case PCI_DID_INTEL_GLK_UART2:
@@ -349,6 +352,9 @@ struct device_operations uart_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_UART0,
+ PCI_DID_INTEL_LNL_UART1,
+ PCI_DID_INTEL_LNL_UART2,
PCI_DID_INTEL_MTL_UART0,
PCI_DID_INTEL_MTL_UART1,
PCI_DID_INTEL_MTL_UART2,
diff --git a/src/soc/intel/common/block/usb4/usb4.c b/src/soc/intel/common/block/usb4/usb4.c
index a90a35af95..a47bb9b221 100644
--- a/src/soc/intel/common/block/usb4/usb4.c
+++ b/src/soc/intel/common/block/usb4/usb4.c
@@ -52,6 +52,8 @@ static void tbt_dma_fill_ssdt(const struct device *dev)
#endif
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_TBT_DMA0,
+ PCI_DID_INTEL_LNL_TBT_DMA1,
PCI_DID_INTEL_RPL_TBT_DMA0,
PCI_DID_INTEL_RPL_TBT_DMA1,
PCI_DID_INTEL_MTL_M_TBT_DMA0,
diff --git a/src/soc/intel/common/block/usb4/xhci.c b/src/soc/intel/common/block/usb4/xhci.c
index d1a2dc6659..4912e1a1eb 100644
--- a/src/soc/intel/common/block/usb4/xhci.c
+++ b/src/soc/intel/common/block/usb4/xhci.c
@@ -26,6 +26,7 @@ static struct device_operations usb4_xhci_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_TCSS_XHCI,
PCI_DID_INTEL_RPP_P_TCSS_XHCI,
PCI_DID_INTEL_MTL_M_TCSS_XHCI,
PCI_DID_INTEL_MTL_P_TCSS_XHCI,
diff --git a/src/soc/intel/common/block/xhci/xhci.c b/src/soc/intel/common/block/xhci/xhci.c
index 9cc4211004..ff6fbf0957 100644
--- a/src/soc/intel/common/block/xhci/xhci.c
+++ b/src/soc/intel/common/block/xhci/xhci.c
@@ -131,6 +131,7 @@ struct device_operations usb_xhci_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_XHCI,
PCI_DID_INTEL_MTL_XHCI,
PCI_DID_INTEL_APL_XHCI,
PCI_DID_INTEL_CNL_LP_XHCI,