From 0e7a52a13896c90ad7772b592915ae25b3ff3007 Mon Sep 17 00:00:00 2001 From: Jamie Ryu Date: Fri, 22 Jul 2022 10:13:45 -0700 Subject: [PATCH] mb/intel/mtlrvp: Add MTL reference mainboard for MTLRVP-P This adds an initial mainboard code for mtlrvp, Intel Meteorlake reference platform. BUG=b:224325352 TEST=util/abuild/abuild -p none -t intel/mtlrvp -a -c max Signed-off-by: Jamie Ryu Signed-off-by: Usha P Change-Id: I097db4de9734ff81283cf470aabf3eb23b63aab8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66097 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) Reviewed-by: Balaji Manigandan Reviewed-by: Sridhar Siricilla Reviewed-by: Eric Lai Reviewed-by: Subrata Banik --- src/mainboard/intel/mtlrvp/Kconfig | 34 ++++++++++++++++++++++++ src/mainboard/intel/mtlrvp/Kconfig.name | 2 ++ src/mainboard/intel/mtlrvp/devicetree.cb | 6 +++++ src/mainboard/intel/mtlrvp/dsdt.asl | 14 ++++++++++ 4 files changed, 56 insertions(+) create mode 100644 src/mainboard/intel/mtlrvp/Kconfig create mode 100644 src/mainboard/intel/mtlrvp/Kconfig.name create mode 100644 src/mainboard/intel/mtlrvp/devicetree.cb create mode 100644 src/mainboard/intel/mtlrvp/dsdt.asl diff --git a/src/mainboard/intel/mtlrvp/Kconfig b/src/mainboard/intel/mtlrvp/Kconfig new file mode 100644 index 0000000000..3c29d3ad69 --- /dev/null +++ b/src/mainboard/intel/mtlrvp/Kconfig @@ -0,0 +1,34 @@ +config BOARD_INTEL_MTLRVP_COMMON + def_bool n + select BOARD_ROMSIZE_KB_32768 + select HAVE_ACPI_TABLES + select SOC_INTEL_METEORLAKE + +config BOARD_INTEL_MTLRVP_P + select BOARD_INTEL_MTLRVP_COMMON + +if BOARD_INTEL_MTLRVP_COMMON + +config MAINBOARD_DIR + default "intel/mtlrvp" + +config MAINBOARD_PART_NUMBER + string + default "mtlrvp" + +config FMDFILE + default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" + +config MAINBOARD_FAMILY + string + default "Intel_mtlrvp" + +config VARIANT_DIR + string + default "mtlrvp_p" if BOARD_INTEL_MTLRVP_P + +config DEVICETREE + string + default "devicetree.cb" + +endif # BOARD_INTEL_MTLRVP_COMMON diff --git a/src/mainboard/intel/mtlrvp/Kconfig.name b/src/mainboard/intel/mtlrvp/Kconfig.name new file mode 100644 index 0000000000..b643b94234 --- /dev/null +++ b/src/mainboard/intel/mtlrvp/Kconfig.name @@ -0,0 +1,2 @@ +config BOARD_INTEL_MTLRVP_P + bool "Meteorlake-P RVP" diff --git a/src/mainboard/intel/mtlrvp/devicetree.cb b/src/mainboard/intel/mtlrvp/devicetree.cb new file mode 100644 index 0000000000..ad261da896 --- /dev/null +++ b/src/mainboard/intel/mtlrvp/devicetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/meteorlake + + device domain 0 on + device ref igpu on end + end +end diff --git a/src/mainboard/intel/mtlrvp/dsdt.asl b/src/mainboard/intel/mtlrvp/dsdt.asl new file mode 100644 index 0000000000..82d11c67fb --- /dev/null +++ b/src/mainboard/intel/mtlrvp/dsdt.asl @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include + +DefinitionBlock( + "dsdt.aml", + "DSDT", + ACPI_DSDT_REV_2, + OEM_ID, + ACPI_TABLE_CREATOR, + 0x20110725 +) +{ +}