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>
diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c
index cb09385..bd43545 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_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 8a92332..6d7569d 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -1477,6 +1477,7 @@
 };
 
 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 5419a29..1f11df0 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_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 621dc96..74449df 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 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 9b780da..ef4b269 100644
--- a/src/soc/intel/common/block/graphics/graphics.c
+++ b/src/soc/intel/common/block/graphics/graphics.c
@@ -332,6 +332,7 @@
 };
 
 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 fdd78fc..44c0341 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_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 141b66e..c0f0b6e0 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_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 cd0293d..b2d3904 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_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 0de3154..6d3b90f 100644
--- a/src/soc/intel/common/block/lpc/lpc.c
+++ b/src/soc/intel/common/block/lpc/lpc.c
@@ -138,6 +138,14 @@
 };
 
 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 dea1c78..04318c8 100644
--- a/src/soc/intel/common/block/p2sb/p2sb.c
+++ b/src/soc/intel/common/block/p2sb/p2sb.c
@@ -138,6 +138,7 @@
 };
 
 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 d86ba83..5c6681d 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_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 70e1449..ca575ff 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_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 ce98505..4f2ed36 100644
--- a/src/soc/intel/common/block/smbus/smbus.c
+++ b/src/soc/intel/common/block/smbus/smbus.c
@@ -50,6 +50,7 @@
 };
 
 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 b95ac96..d1063f1 100644
--- a/src/soc/intel/common/block/spi/spi.c
+++ b/src/soc/intel/common/block/spi/spi.c
@@ -123,6 +123,9 @@
 };
 
 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 a6f95e2..cd8c3fd 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_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 24c5a7e..c2d561a 100644
--- a/src/soc/intel/common/block/systemagent/systemagent.c
+++ b/src/soc/intel/common/block/systemagent/systemagent.c
@@ -336,6 +336,7 @@
 };
 
 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 9123498..533fbee 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_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 @@
 	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 @@
 	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 @@
 };
 
 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 a90a35a..a47bb9b 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_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 d1a2dc6..4912e1a 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_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 9cc4211..ff6fbf0 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_LNL_XHCI,
 	PCI_DID_INTEL_MTL_XHCI,
 	PCI_DID_INTEL_APL_XHCI,
 	PCI_DID_INTEL_CNL_LP_XHCI,