summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJamie Ryu <jamie.m.ryu@intel.com>2022-07-22 10:13:45 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-11-07 14:36:35 +0000
commit0e7a52a13896c90ad7772b592915ae25b3ff3007 (patch)
treed9919e8ba8f2ec477d2953a90fc3fa4618e4b9cc /src/mainboard
parent11be5562b2344e8395b64bba5f835d203ae4b910 (diff)
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 <jamie.m.ryu@intel.com> Signed-off-by: Usha P <usha.p@intel.com> Change-Id: I097db4de9734ff81283cf470aabf3eb23b63aab8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66097 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Balaji Manigandan <balaji.manigandan@intel.com> Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/intel/mtlrvp/Kconfig34
-rw-r--r--src/mainboard/intel/mtlrvp/Kconfig.name2
-rw-r--r--src/mainboard/intel/mtlrvp/devicetree.cb6
-rw-r--r--src/mainboard/intel/mtlrvp/dsdt.asl14
4 files changed, 56 insertions, 0 deletions
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 <acpi/acpi.h>
+
+DefinitionBlock(
+ "dsdt.aml",
+ "DSDT",
+ ACPI_DSDT_REV_2,
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
+ 0x20110725
+)
+{
+}