From a15b25f6fd3b121913508bf6b603856d5026be2c Mon Sep 17 00:00:00 2001 From: Bora Guvendik Date: Mon, 28 Feb 2022 14:43:49 -0800 Subject: soc/intel: Add Raptor Lake device IDs Add Raptor Lake specific CPU, System Agent, PCH, IGD device IDs. References: RaptorLake External Design Specification Volume 1 (640555) 600/700 Series PCH External Design Specification Volume 1 (626817) Change-Id: I39e655dec2314a672ea63ba90d8bb3fc53bf77ba Signed-off-by: Bora Guvendik Reviewed-on: https://review.coreboot.org/c/coreboot/+/63750 Tested-by: build bot (Jenkins) Reviewed-by: Nick Vaccaro Reviewed-by: Subrata Banik Reviewed-by: Anil Kumar K --- src/soc/intel/common/block/cpu/mp_init.c | 1 + src/soc/intel/common/block/dsp/dsp.c | 1 + 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 | 1 + src/soc/intel/common/block/ipu/ipu.c | 1 + src/soc/intel/common/block/lpc/lpc.c | 36 +++++++++++++++++++--- src/soc/intel/common/block/p2sb/p2sb.c | 1 + src/soc/intel/common/block/pcie/pcie.c | 3 ++ src/soc/intel/common/block/pmc/pmc.c | 1 + src/soc/intel/common/block/sata/sata.c | 2 ++ src/soc/intel/common/block/smbus/smbus.c | 1 + .../intel/common/block/systemagent/systemagent.c | 2 ++ src/soc/intel/common/block/usb4/usb4.c | 2 ++ src/soc/intel/common/block/usb4/xhci.c | 1 + 15 files changed, 53 insertions(+), 4 deletions(-) (limited to 'src/soc/intel/common') diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c index 6105a617f0..9b4278fa1b 100644 --- a/src/soc/intel/common/block/cpu/mp_init.c +++ b/src/soc/intel/common/block/cpu/mp_init.c @@ -76,6 +76,7 @@ static const struct cpu_device_id cpu_table[] = { { X86_VENDOR_INTEL, CPUID_ALDERLAKE_Q0 }, { X86_VENDOR_INTEL, CPUID_ALDERLAKE_R0 }, { X86_VENDOR_INTEL, CPUID_ALDERLAKE_N_A0 }, + { X86_VENDOR_INTEL, CPUID_RAPTORLAKE_P_J0 }, { 0, 0 }, }; diff --git a/src/soc/intel/common/block/dsp/dsp.c b/src/soc/intel/common/block/dsp/dsp.c index 2bb12b777f..03aa4e52ce 100644 --- a/src/soc/intel/common/block/dsp/dsp.c +++ b/src/soc/intel/common/block/dsp/dsp.c @@ -21,6 +21,7 @@ static const unsigned short pci_device_ids[] = { PCI_DID_INTEL_MTL_AUDIO_6, PCI_DID_INTEL_MTL_AUDIO_7, PCI_DID_INTEL_MTL_AUDIO_8, + PCI_DID_INTEL_RPP_P_AUDIO, 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 5fe883c2de..a1a03ec289 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_RPL_DTT, PCI_DID_INTEL_MTL_DTT, PCI_DID_INTEL_CML_DTT, PCI_DID_INTEL_TGL_DTT, diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c index 5fc67aa06c..33ffa7f364 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_RPL_P_GT1, + PCI_DID_INTEL_RPL_P_GT2, + PCI_DID_INTEL_RPL_P_GT3, PCI_DID_INTEL_MTL_M_GT2, PCI_DID_INTEL_MTL_P_GT2_1, PCI_DID_INTEL_MTL_P_GT2_2, diff --git a/src/soc/intel/common/block/hda/hda.c b/src/soc/intel/common/block/hda/hda.c index 0143a4080f..fd0ab4abd5 100644 --- a/src/soc/intel/common/block/hda/hda.c +++ b/src/soc/intel/common/block/hda/hda.c @@ -29,6 +29,7 @@ static const unsigned short pci_device_ids[] = { PCI_DID_INTEL_MTL_AUDIO_6, PCI_DID_INTEL_MTL_AUDIO_7, PCI_DID_INTEL_MTL_AUDIO_8, + PCI_DID_INTEL_RPP_P_AUDIO, PCI_DID_INTEL_APL_AUDIO, PCI_DID_INTEL_GLK_AUDIO, PCI_DID_INTEL_SKL_AUDIO, diff --git a/src/soc/intel/common/block/ipu/ipu.c b/src/soc/intel/common/block/ipu/ipu.c index ead4094af3..a496f0abe8 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_RPL_IPU, PCI_DID_INTEL_TGL_IPU, PCI_DID_INTEL_TGL_H_IPU, PCI_DID_INTEL_JSL_IPU, diff --git a/src/soc/intel/common/block/lpc/lpc.c b/src/soc/intel/common/block/lpc/lpc.c index 81c7a6e766..2ba4cd60a7 100644 --- a/src/soc/intel/common/block/lpc/lpc.c +++ b/src/soc/intel/common/block/lpc/lpc.c @@ -146,6 +146,38 @@ static const unsigned short pci_device_ids[] = { PCI_DID_INTEL_MTL_ESPI_5, PCI_DID_INTEL_MTL_ESPI_6, PCI_DID_INTEL_MTL_ESPI_7, + PCI_DID_INTEL_RPP_P_ESPI_0, + PCI_DID_INTEL_RPP_P_ADP_P_ESPI_1, + PCI_DID_INTEL_RPP_P_ADP_P_ESPI_2, + PCI_DID_INTEL_RPP_P_ESPI_3, + PCI_DID_INTEL_RPP_P_ESPI_4, + PCI_DID_INTEL_RPP_P_ESPI_5, + PCI_DID_INTEL_RPP_P_ADP_M_ESPI_6, + PCI_DID_INTEL_RPP_P_ESPI_7, + PCI_DID_INTEL_RPP_P_ESPI_8, + PCI_DID_INTEL_RPP_P_ESPI_9, + PCI_DID_INTEL_RPP_P_ESPI_10, + PCI_DID_INTEL_RPP_P_ESPI_11, + PCI_DID_INTEL_RPP_P_ESPI_12, + PCI_DID_INTEL_RPP_P_ESPI_13, + PCI_DID_INTEL_RPP_P_ESPI_14, + PCI_DID_INTEL_RPP_P_ESPI_15, + PCI_DID_INTEL_RPP_P_ESPI_16, + PCI_DID_INTEL_RPP_P_ESPI_17, + PCI_DID_INTEL_RPP_P_ESPI_18, + PCI_DID_INTEL_RPP_P_ESPI_19, + PCI_DID_INTEL_RPP_P_ESPI_20, + PCI_DID_INTEL_RPP_P_ESPI_21, + PCI_DID_INTEL_RPP_P_ESPI_22, + PCI_DID_INTEL_RPP_P_ESPI_23, + PCI_DID_INTEL_RPP_P_ESPI_24, + PCI_DID_INTEL_RPP_P_ESPI_25, + PCI_DID_INTEL_RPP_P_ESPI_26, + PCI_DID_INTEL_RPP_P_ESPI_27, + PCI_DID_INTEL_RPP_P_ESPI_28, + PCI_DID_INTEL_RPP_P_ESPI_29, + PCI_DID_INTEL_RPP_P_ESPI_30, + PCI_DID_INTEL_RPP_P_ESPI_31, PCI_DID_INTEL_SPT_LP_SAMPLE, PCI_DID_INTEL_SPT_LP_U_BASE, PCI_DID_INTEL_SPT_LP_U_PREMIUM, @@ -316,8 +348,6 @@ static const unsigned short pci_device_ids[] = { PCI_DID_INTEL_ADP_P_ESPI_29, PCI_DID_INTEL_ADP_P_ESPI_30, PCI_DID_INTEL_ADP_P_ESPI_31, - PCI_DID_INTEL_ADP_P_ESPI_32, - PCI_DID_INTEL_ADP_P_ESPI_33, PCI_DID_INTEL_ADP_S_ESPI_0, PCI_DID_INTEL_ADP_S_ESPI_1, PCI_DID_INTEL_ADP_S_ESPI_2, @@ -350,7 +380,6 @@ static const unsigned short pci_device_ids[] = { PCI_DID_INTEL_ADP_S_ESPI_29, PCI_DID_INTEL_ADP_S_ESPI_30, PCI_DID_INTEL_ADP_S_ESPI_31, - PCI_DID_INTEL_ADP_P_ESPI_32, PCI_DID_INTEL_ADP_M_N_ESPI_0, PCI_DID_INTEL_ADP_M_N_ESPI_1, PCI_DID_INTEL_ADP_M_N_ESPI_2, @@ -382,7 +411,6 @@ static const unsigned short pci_device_ids[] = { PCI_DID_INTEL_ADP_M_N_ESPI_29, PCI_DID_INTEL_ADP_M_N_ESPI_30, PCI_DID_INTEL_ADP_M_N_ESPI_31, - PCI_DID_INTEL_ADP_M_ESPI_32, PCI_DID_INTEL_SPR_ESPI_1, 0 }; diff --git a/src/soc/intel/common/block/p2sb/p2sb.c b/src/soc/intel/common/block/p2sb/p2sb.c index 2517f69e96..c23947c473 100644 --- a/src/soc/intel/common/block/p2sb/p2sb.c +++ b/src/soc/intel/common/block/p2sb/p2sb.c @@ -139,6 +139,7 @@ static const struct device_operations device_ops = { static const unsigned short pci_device_ids[] = { PCI_DID_INTEL_MTL_SOC_P2SB, + PCI_DID_INTEL_RPP_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 11038ab5b2..d43528644c 100644 --- a/src/soc/intel/common/block/pcie/pcie.c +++ b/src/soc/intel/common/block/pcie/pcie.c @@ -66,6 +66,9 @@ static struct device_operations device_ops = { }; static const unsigned short pcie_device_ids[] = { + PCI_DID_INTEL_RPL_P_PCIE_RP1, + PCI_DID_INTEL_RPL_P_PCIE_RP2, + PCI_DID_INTEL_RPL_P_PCIE_RP3, PCI_DID_INTEL_MTL_SOC_PCIE_RP1, PCI_DID_INTEL_MTL_SOC_PCIE_RP2, PCI_DID_INTEL_MTL_SOC_PCIE_RP3, diff --git a/src/soc/intel/common/block/pmc/pmc.c b/src/soc/intel/common/block/pmc/pmc.c index fcfc7b28a8..73594cd07f 100644 --- a/src/soc/intel/common/block/pmc/pmc.c +++ b/src/soc/intel/common/block/pmc/pmc.c @@ -114,6 +114,7 @@ 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_RPP_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 bc3c1b1d94..d0dc11855e 100644 --- a/src/soc/intel/common/block/sata/sata.c +++ b/src/soc/intel/common/block/sata/sata.c @@ -14,6 +14,8 @@ static struct device_operations sata_ops = { static const unsigned short pci_device_ids[] = { PCI_DID_INTEL_MTL_SATA, + PCI_DID_INTEL_RPP_P_SATA_1, + PCI_DID_INTEL_RPP_P_SATA_2, 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 3a500cac6d..380cda308d 100644 --- a/src/soc/intel/common/block/smbus/smbus.c +++ b/src/soc/intel/common/block/smbus/smbus.c @@ -115,6 +115,7 @@ static struct device_operations smbus_ops = { static const unsigned short pci_device_ids[] = { PCI_DID_INTEL_MTL_SMBUS, + PCI_DID_INTEL_RPP_P_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/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c index 51fb0e53da..55e892c941 100644 --- a/src/soc/intel/common/block/systemagent/systemagent.c +++ b/src/soc/intel/common/block/systemagent/systemagent.c @@ -452,6 +452,8 @@ static const unsigned short systemagent_ids[] = { PCI_DID_INTEL_ADL_N_ID_2, PCI_DID_INTEL_ADL_N_ID_3, PCI_DID_INTEL_ADL_N_ID_4, + PCI_DID_INTEL_RPL_P_ID_1, + PCI_DID_INTEL_RPL_P_ID_2, 0 }; diff --git a/src/soc/intel/common/block/usb4/usb4.c b/src/soc/intel/common/block/usb4/usb4.c index 86bd09bb9d..d62496e4d8 100644 --- a/src/soc/intel/common/block/usb4/usb4.c +++ b/src/soc/intel/common/block/usb4/usb4.c @@ -53,6 +53,8 @@ static void tbt_dma_fill_ssdt(const struct device *dev) #endif static const unsigned short pci_device_ids[] = { + PCI_DID_INTEL_RPL_TBT_DMA0, + PCI_DID_INTEL_RPL_TBT_DMA1, PCI_DID_INTEL_MTL_M_TBT_DMA0, PCI_DID_INTEL_MTL_P_TBT_DMA0, PCI_DID_INTEL_MTL_P_TBT_DMA1, diff --git a/src/soc/intel/common/block/usb4/xhci.c b/src/soc/intel/common/block/usb4/xhci.c index 20ed2a5865..d1a2dc6659 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_RPP_P_TCSS_XHCI, PCI_DID_INTEL_MTL_M_TCSS_XHCI, PCI_DID_INTEL_MTL_P_TCSS_XHCI, PCI_DID_INTEL_TGP_TCSS_XHCI, -- cgit v1.2.3