From 9f4010753d54447574d7a4e01a11f8b4f810830f Mon Sep 17 00:00:00 2001 From: Wonkyu Kim Date: Fri, 13 Nov 2020 15:16:32 -0800 Subject: soc/intel/common: Include Meteor Lake device IDs Reference: chapter2 in Meteor Lake EDS vol1 (640228) Signed-off-by: Wonkyu Kim Change-Id: Ie71abb70b88db0acec8a320c3e2c20c54bbb4a8a Reviewed-on: https://review.coreboot.org/c/coreboot/+/62581 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/cnvi/cnvi.c | 4 ++++ src/soc/intel/common/block/cpu/mp_init.c | 2 ++ src/soc/intel/common/block/cse/cse.c | 1 + src/soc/intel/common/block/dsp/dsp.c | 8 ++++++++ src/soc/intel/common/block/dtt/dtt.c | 1 + src/soc/intel/common/block/graphics/graphics.c | 3 +++ src/soc/intel/common/block/hda/hda.c | 8 ++++++++ src/soc/intel/common/block/i2c/i2c.c | 6 ++++++ src/soc/intel/common/block/lpc/lpc.c | 8 ++++++++ src/soc/intel/common/block/p2sb/p2sb.c | 3 +++ src/soc/intel/common/block/pcie/pcie.c | 12 ++++++++++++ src/soc/intel/common/block/pmc/pmc.c | 3 +++ src/soc/intel/common/block/sata/sata.c | 1 + src/soc/intel/common/block/smbus/smbus.c | 1 + src/soc/intel/common/block/spi/spi.c | 4 ++++ src/soc/intel/common/block/sram/sram.c | 4 ++++ src/soc/intel/common/block/systemagent/systemagent.c | 3 +++ src/soc/intel/common/block/uart/uart.c | 3 +++ src/soc/intel/common/block/usb4/usb4.c | 3 +++ src/soc/intel/common/block/usb4/xhci.c | 2 ++ src/soc/intel/common/block/xdci/xdci.c | 1 + src/soc/intel/common/block/xhci/xhci.c | 1 + 22 files changed, 82 insertions(+) (limited to 'src/soc/intel/common') diff --git a/src/soc/intel/common/block/cnvi/cnvi.c b/src/soc/intel/common/block/cnvi/cnvi.c index fd0c33de4a..f4fa019702 100644 --- a/src/soc/intel/common/block/cnvi/cnvi.c +++ b/src/soc/intel/common/block/cnvi/cnvi.c @@ -21,6 +21,10 @@ static struct device_operations cnvi_wifi_ops = { }; static const unsigned short wifi_pci_device_ids[] = { + PCI_DID_INTEL_MTL_CNVI_WIFI_0, + PCI_DID_INTEL_MTL_CNVI_WIFI_1, + PCI_DID_INTEL_MTL_CNVI_WIFI_2, + PCI_DID_INTEL_MTL_CNVI_WIFI_3, PCI_DID_INTEL_CML_LP_CNVI_WIFI, PCI_DID_INTEL_CML_H_CNVI_WIFI, PCI_DID_INTEL_CNL_LP_CNVI_WIFI, diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c index 8f220a84a2..99d9507c55 100644 --- a/src/soc/intel/common/block/cpu/mp_init.c +++ b/src/soc/intel/common/block/cpu/mp_init.c @@ -28,6 +28,8 @@ static struct device_operations cpu_dev_ops = { }; static const struct cpu_device_id cpu_table[] = { + { X86_VENDOR_INTEL, CPUID_METEORLAKE_A0_1}, + { X86_VENDOR_INTEL, CPUID_METEORLAKE_A0_2}, { X86_VENDOR_INTEL, CPUID_SKYLAKE_C0 }, { X86_VENDOR_INTEL, CPUID_SKYLAKE_D0 }, { X86_VENDOR_INTEL, CPUID_SKYLAKE_HQ0 }, diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c index b0b2c5adaf..18f9ba8622 100644 --- a/src/soc/intel/common/block/cse/cse.c +++ b/src/soc/intel/common/block/cse/cse.c @@ -1257,6 +1257,7 @@ static struct device_operations cse_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_CSE0, PCI_DID_INTEL_APL_CSE0, PCI_DID_INTEL_GLK_CSE0, PCI_DID_INTEL_CNL_CSE0, diff --git a/src/soc/intel/common/block/dsp/dsp.c b/src/soc/intel/common/block/dsp/dsp.c index 102ec60594..2bb12b777f 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_MTL_AUDIO_1, + PCI_DID_INTEL_MTL_AUDIO_2, + PCI_DID_INTEL_MTL_AUDIO_3, + PCI_DID_INTEL_MTL_AUDIO_4, + PCI_DID_INTEL_MTL_AUDIO_5, + PCI_DID_INTEL_MTL_AUDIO_6, + PCI_DID_INTEL_MTL_AUDIO_7, + PCI_DID_INTEL_MTL_AUDIO_8, PCI_DID_INTEL_APL_AUDIO, PCI_DID_INTEL_CNL_AUDIO, PCI_DID_INTEL_GLK_AUDIO, diff --git a/src/soc/intel/common/block/dtt/dtt.c b/src/soc/intel/common/block/dtt/dtt.c index e15e302956..5fe883c2de 100644 --- a/src/soc/intel/common/block/dtt/dtt.c +++ b/src/soc/intel/common/block/dtt/dtt.c @@ -5,6 +5,7 @@ #include static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_DTT, PCI_DID_INTEL_CML_DTT, PCI_DID_INTEL_TGL_DTT, PCI_DID_INTEL_JSL_DTT, diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c index 84e800db6f..5fc67aa06c 100644 --- a/src/soc/intel/common/block/graphics/graphics.c +++ b/src/soc/intel/common/block/graphics/graphics.c @@ -177,6 +177,9 @@ static const struct device_operations graphics_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_M_GT2, + PCI_DID_INTEL_MTL_P_GT2_1, + PCI_DID_INTEL_MTL_P_GT2_2, PCI_DID_INTEL_APL_IGD_HD_505, PCI_DID_INTEL_APL_IGD_HD_500, PCI_DID_INTEL_CNL_GT2_ULX_1, diff --git a/src/soc/intel/common/block/hda/hda.c b/src/soc/intel/common/block/hda/hda.c index 1311bcd6b2..b9c6290620 100644 --- a/src/soc/intel/common/block/hda/hda.c +++ b/src/soc/intel/common/block/hda/hda.c @@ -21,6 +21,14 @@ static struct device_operations hda_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_AUDIO_1, + PCI_DID_INTEL_MTL_AUDIO_2, + PCI_DID_INTEL_MTL_AUDIO_3, + PCI_DID_INTEL_MTL_AUDIO_4, + PCI_DID_INTEL_MTL_AUDIO_5, + PCI_DID_INTEL_MTL_AUDIO_6, + PCI_DID_INTEL_MTL_AUDIO_7, + PCI_DID_INTEL_MTL_AUDIO_8, PCI_DID_INTEL_SKL_AUDIO, PCI_DID_INTEL_SKL_H_AUDIO, PCI_DID_INTEL_LWB_AUDIO, diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c index ba10b2c5bb..c359417318 100644 --- a/src/soc/intel/common/block/i2c/i2c.c +++ b/src/soc/intel/common/block/i2c/i2c.c @@ -175,6 +175,12 @@ static struct device_operations i2c_dev_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_I2C0, + PCI_DID_INTEL_MTL_I2C1, + PCI_DID_INTEL_MTL_I2C2, + PCI_DID_INTEL_MTL_I2C3, + PCI_DID_INTEL_MTL_I2C4, + PCI_DID_INTEL_MTL_I2C5, PCI_DID_INTEL_SPT_I2C0, PCI_DID_INTEL_SPT_I2C1, PCI_DID_INTEL_SPT_I2C2, diff --git a/src/soc/intel/common/block/lpc/lpc.c b/src/soc/intel/common/block/lpc/lpc.c index cd5cbe6f55..625db746ad 100644 --- a/src/soc/intel/common/block/lpc/lpc.c +++ b/src/soc/intel/common/block/lpc/lpc.c @@ -106,6 +106,14 @@ static struct device_operations device_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_ESPI_0, + PCI_DID_INTEL_MTL_ESPI_1, + PCI_DID_INTEL_MTL_ESPI_2, + PCI_DID_INTEL_MTL_ESPI_3, + PCI_DID_INTEL_MTL_ESPI_4, + PCI_DID_INTEL_MTL_ESPI_5, + PCI_DID_INTEL_MTL_ESPI_6, + PCI_DID_INTEL_MTL_ESPI_7, PCI_DID_INTEL_SPT_LP_SAMPLE, PCI_DID_INTEL_SPT_LP_U_BASE, PCI_DID_INTEL_SPT_LP_U_PREMIUM, diff --git a/src/soc/intel/common/block/p2sb/p2sb.c b/src/soc/intel/common/block/p2sb/p2sb.c index 03c341a26d..94db33d2fe 100644 --- a/src/soc/intel/common/block/p2sb/p2sb.c +++ b/src/soc/intel/common/block/p2sb/p2sb.c @@ -144,6 +144,9 @@ static const struct device_operations device_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_SOC_P2SB, + PCI_DID_INTEL_MTL_IOE_M_P2SB, + PCI_DID_INTEL_MTL_IOE_P_P2SB, PCI_DID_INTEL_APL_P2SB, PCI_DID_INTEL_GLK_P2SB, PCI_DID_INTEL_LWB_P2SB, diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c index 1ac879c661..11038ab5b2 100644 --- a/src/soc/intel/common/block/pcie/pcie.c +++ b/src/soc/intel/common/block/pcie/pcie.c @@ -66,6 +66,18 @@ static struct device_operations device_ops = { }; static const unsigned short pcie_device_ids[] = { + 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_SPT_LP_PCIE_RP1, PCI_DID_INTEL_SPT_LP_PCIE_RP2, PCI_DID_INTEL_SPT_LP_PCIE_RP3, diff --git a/src/soc/intel/common/block/pmc/pmc.c b/src/soc/intel/common/block/pmc/pmc.c index 105d92c5f4..b6a2fc982f 100644 --- a/src/soc/intel/common/block/pmc/pmc.c +++ b/src/soc/intel/common/block/pmc/pmc.c @@ -111,6 +111,9 @@ static struct device_operations device_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_SOC_PMC, + PCI_DID_INTEL_MTL_IOE_M_PMC, + PCI_DID_INTEL_MTL_IOE_P_PMC, PCI_DID_INTEL_DNV_PMC, PCI_DID_INTEL_SPT_LP_PMC, PCI_DID_INTEL_SPT_H_PMC, diff --git a/src/soc/intel/common/block/sata/sata.c b/src/soc/intel/common/block/sata/sata.c index fa937f4fd5..bc3c1b1d94 100644 --- a/src/soc/intel/common/block/sata/sata.c +++ b/src/soc/intel/common/block/sata/sata.c @@ -13,6 +13,7 @@ static struct device_operations sata_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_SATA, PCI_DID_INTEL_SPT_U_SATA, PCI_DID_INTEL_SPT_U_Y_PREMIUM_SATA, PCI_DID_INTEL_SPT_KBL_SATA, diff --git a/src/soc/intel/common/block/smbus/smbus.c b/src/soc/intel/common/block/smbus/smbus.c index 2b135c75e8..d1b65230b3 100644 --- a/src/soc/intel/common/block/smbus/smbus.c +++ b/src/soc/intel/common/block/smbus/smbus.c @@ -74,6 +74,7 @@ static struct device_operations smbus_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_SMBUS, PCI_DID_INTEL_APL_SMBUS, PCI_DID_INTEL_CNL_SMBUS, PCI_DID_INTEL_CNP_H_SMBUS, diff --git a/src/soc/intel/common/block/spi/spi.c b/src/soc/intel/common/block/spi/spi.c index 914809951c..50e1beaf1e 100644 --- a/src/soc/intel/common/block/spi/spi.c +++ b/src/soc/intel/common/block/spi/spi.c @@ -39,6 +39,10 @@ static struct device_operations spi_dev_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_HWSEQ_SPI, + PCI_DID_INTEL_MTL_GSPI0, + PCI_DID_INTEL_MTL_GSPI1, + PCI_DID_INTEL_MTL_GSPI2, PCI_DID_INTEL_SPT_SPI1, PCI_DID_INTEL_SPT_SPI2, PCI_DID_INTEL_SPT_SPI3, diff --git a/src/soc/intel/common/block/sram/sram.c b/src/soc/intel/common/block/sram/sram.c index 60e06dc368..bde0f4fb6f 100644 --- a/src/soc/intel/common/block/sram/sram.c +++ b/src/soc/intel/common/block/sram/sram.c @@ -33,6 +33,10 @@ static const struct device_operations device_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_SOC_SRAM, + PCI_DID_INTEL_MTL_IOE_M_SRAM, + PCI_DID_INTEL_MTL_IOE_P_SRAM, + PCI_DID_INTEL_MTL_CRASHLOG_SRAM, PCI_DID_INTEL_APL_SRAM, PCI_DID_INTEL_GLK_SRAM, PCI_DID_INTEL_ICL_SRAM, diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c index 3c068577d0..07bcb0cc73 100644 --- a/src/soc/intel/common/block/systemagent/systemagent.c +++ b/src/soc/intel/common/block/systemagent/systemagent.c @@ -327,6 +327,9 @@ static struct device_operations systemagent_ops = { }; static const unsigned short systemagent_ids[] = { + PCI_DID_INTEL_MTL_M_ID, + PCI_DID_INTEL_MTL_P_ID_1, + PCI_DID_INTEL_MTL_P_ID_2, PCI_DID_INTEL_GLK_NB, PCI_DID_INTEL_APL_NB, PCI_DID_INTEL_CNL_ID_U, diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c index cd960f2ea9..12f28829f6 100644 --- a/src/soc/intel/common/block/uart/uart.c +++ b/src/soc/intel/common/block/uart/uart.c @@ -344,6 +344,9 @@ static struct device_operations device_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_UART0, + PCI_DID_INTEL_MTL_UART1, + PCI_DID_INTEL_MTL_UART2, PCI_DID_INTEL_SPT_UART0, PCI_DID_INTEL_SPT_UART1, PCI_DID_INTEL_SPT_UART2, diff --git a/src/soc/intel/common/block/usb4/usb4.c b/src/soc/intel/common/block/usb4/usb4.c index 996e7f52ee..6924bb70df 100644 --- a/src/soc/intel/common/block/usb4/usb4.c +++ b/src/soc/intel/common/block/usb4/usb4.c @@ -53,6 +53,9 @@ static void tbt_dma_fill_ssdt(const struct device *dev) #endif static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_M_TBT_DMA0, + PCI_DID_INTEL_MTL_P_TBT_DMA0, + PCI_DID_INTEL_MTL_P_TBT_DMA1, PCI_DID_INTEL_TGL_TBT_DMA0, PCI_DID_INTEL_TGL_TBT_DMA1, PCI_DID_INTEL_TGL_H_TBT_DMA0, diff --git a/src/soc/intel/common/block/usb4/xhci.c b/src/soc/intel/common/block/usb4/xhci.c index ba6b83f1ac..64e5601cde 100644 --- a/src/soc/intel/common/block/usb4/xhci.c +++ b/src/soc/intel/common/block/usb4/xhci.c @@ -26,6 +26,8 @@ static struct device_operations usb4_xhci_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_M_TCSS_XHCI, + PCI_DID_INTEL_MTL_P_TCSS_XHCI, PCI_DID_INTEL_TGP_TCSS_XHCI, PCI_DID_INTEL_TGP_H_TCSS_XHCI, PCI_DID_INTEL_ADP_TCSS_XHCI, diff --git a/src/soc/intel/common/block/xdci/xdci.c b/src/soc/intel/common/block/xdci/xdci.c index 4b751aea24..585ed68c0e 100644 --- a/src/soc/intel/common/block/xdci/xdci.c +++ b/src/soc/intel/common/block/xdci/xdci.c @@ -27,6 +27,7 @@ static struct device_operations usb_xdci_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_XDCI, PCI_DID_INTEL_APL_XDCI, PCI_DID_INTEL_CNL_LP_XDCI, PCI_DID_INTEL_GLK_XDCI, diff --git a/src/soc/intel/common/block/xhci/xhci.c b/src/soc/intel/common/block/xhci/xhci.c index 353840a2ca..9317bb073f 100644 --- a/src/soc/intel/common/block/xhci/xhci.c +++ b/src/soc/intel/common/block/xhci/xhci.c @@ -106,6 +106,7 @@ static struct device_operations usb_xhci_ops = { }; static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_MTL_XHCI, PCI_DID_INTEL_APL_XHCI, PCI_DID_INTEL_CNL_LP_XHCI, PCI_DID_INTEL_GLK_XHCI, -- cgit v1.2.3