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

@ -25,6 +25,7 @@
#include "gpio_names/alderlake_p.h"
#include "gpio_names/elkhartlake.h"
#include "gpio_names/jasperlake.h"
#include "gpio_names/meteorlake.h"
#define SBBAR_SIZE (16 * MiB)
#define PCR_PORT_SIZE (64 * KiB)
@ -254,7 +255,17 @@ const struct gpio_community *const *get_gpio_communities(struct pci_dev *const s
*community_count = ARRAY_SIZE(elkhartlake_pch_communities);
*pad_stepping = 16;
return elkhartlake_pch_communities;
case PCI_DEVICE_ID_INTEL_MTL_0:
case PCI_DEVICE_ID_INTEL_MTL_1:
case PCI_DEVICE_ID_INTEL_MTL_2:
case PCI_DEVICE_ID_INTEL_MTL_3:
case PCI_DEVICE_ID_INTEL_MTL_4:
case PCI_DEVICE_ID_INTEL_MTL_5:
case PCI_DEVICE_ID_INTEL_MTL_6:
case PCI_DEVICE_ID_INTEL_MTL_7:
*community_count = ARRAY_SIZE(meteorlake_pch_communities);
*pad_stepping = 16;
return meteorlake_pch_communities;
default:
return NULL;
}