util/inteltool: add Meteor Lake support

Based on:
Intel Core Ultra Processor External Design Specification
Meteor Lake SOC IO Registers
Meteor Lake-U/H/U Type4 and Arrow Lake-U/H GPIO Implementation Summary

Change-Id: I7473119fa97c57cd2a1303f08f964abd0ca96270
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81843
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Kopeć <michal.kopec@3mdeb.com>
This commit is contained in:
Filip Lewiński
2024-04-12 16:39:47 +02:00
committed by Martin L Roth
parent 6d5cc39a78
commit eacc1c7ea9
6 changed files with 587 additions and 2 deletions

View File

@ -248,6 +248,15 @@ static inline uint32_t inl(unsigned port)
#define PCI_DEVICE_ID_INTEL_C262 0x7a14
#define PCI_DEVICE_ID_INTEL_C266 0x7a13
#define PCI_DEVICE_ID_INTEL_MTL_0 0x7e00
#define PCI_DEVICE_ID_INTEL_MTL_1 0x7e01
#define PCI_DEVICE_ID_INTEL_MTL_2 0x7e02
#define PCI_DEVICE_ID_INTEL_MTL_3 0x7e03
#define PCI_DEVICE_ID_INTEL_MTL_4 0x7e04
#define PCI_DEVICE_ID_INTEL_MTL_5 0x7e05
#define PCI_DEVICE_ID_INTEL_MTL_6 0x7e06
#define PCI_DEVICE_ID_INTEL_MTL_7 0x7e07
#define PCI_DEVICE_ID_INTEL_82810 0x7120
#define PCI_DEVICE_ID_INTEL_82810_DC 0x7122
#define PCI_DEVICE_ID_INTEL_82810E_DC 0x7124
@ -392,6 +401,12 @@ static inline uint32_t inl(unsigned port)
#define PCI_DEVICE_ID_INTEL_CORE_ADL_ID_N_0_8 0x4617 /* Alderlake N 0+8 */
#define PCI_DEVICE_ID_INTEL_CORE_ADL_ID_N_0_4 0x461b /* Alderlake N 0+4 */
#define PCI_DEVICE_ID_INTEL_CORE_ADL_ID_N_0_4_1 0x461c /* Alderlake N 0+4 */
#define PCI_DEVICE_ID_INTEL_CORE_MTL_ID_M 0x7D00 /* Meteorlake M */
#define PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_1 0x7D01 /* Meteorlake P */
#define PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_2 0x7D02 /* Meteorlake P */
#define PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_3 0x7d14 /* Meteorlake P */
#define PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_4 0x7d15 /* Meteorlake P */
#define PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_5 0x7d16 /* Meteorlake P */
#define PCI_DEVICE_ID_INTEL_CORE_RPL_ID_H_8_6 0xa706 /* Raptorlake H 8+6 */
/* Intel GPUs */
@ -476,6 +491,11 @@ static inline uint32_t inl(unsigned port)
#define PCI_DEVICE_ID_INTEL_ADL_N_UHD 0x46D0
#define PCI_DEVICE_ID_INTEL_ADL_N_UHD_2 0x46D1
#define PCI_DEVICE_ID_INTEL_ADL_N_UHD_3 0x46D2
#define PCI_DEVICE_ID_INTEL_MTL_M_GT2 0x7d40
#define PCI_DEVICE_ID_INTEL_MTL_P_GT2_1 0x7d45
#define PCI_DEVICE_ID_INTEL_MTL_P_GT2_2 0x7d50
#define PCI_DEVICE_ID_INTEL_MTL_P_GT2_3 0x7d55
#define PCI_DEVICE_ID_INTEL_MTL_P_GT2_4 0x7d60
#define PCI_DEVICE_ID_INTEL_RPL_H_IRIS_XE 0xa7a0
#if !defined(__DARWIN__) && !defined(__FreeBSD__)