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 <bora.guvendik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63750
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Anil Kumar K <anil.kumar.k@intel.com>
This commit is contained in:
Bora Guvendik
2022-02-28 14:43:49 -08:00
committed by Felix Held
parent 7e3159c3d2
commit a15b25f6fd
20 changed files with 161 additions and 10 deletions

View File

@ -231,6 +231,11 @@ enum adl_cpu_type get_adl_cpu_type(void)
PCI_DID_INTEL_ADL_N_ID_4,
};
const uint16_t rpl_p_mch_ids[] = {
PCI_DID_INTEL_RPL_P_ID_1,
PCI_DID_INTEL_RPL_P_ID_2,
};
const uint16_t mchid = pci_s_read_config16(PCI_DEV(0, PCI_SLOT(SA_DEVFN_ROOT),
PCI_FUNC(SA_DEVFN_ROOT)),
PCI_DEVICE_ID);
@ -255,6 +260,11 @@ enum adl_cpu_type get_adl_cpu_type(void)
return ADL_N;
}
for (size_t i = 0; i < ARRAY_SIZE(rpl_p_mch_ids); i++) {
if (rpl_p_mch_ids[i] == mchid)
return RPL_P;
}
return ADL_UNKNOWN;
}
@ -265,6 +275,7 @@ uint8_t get_supported_lpm_mask(void)
case ADL_M: /* fallthrough */
case ADL_N:
case ADL_P:
case RPL_P:
return LPM_S0i2_0 | LPM_S0i3_0;
case ADL_S:
return LPM_S0i2_0 | LPM_S0i2_1;