From f61011a56fba8fce5eee19f8c4e5979c4427c81e Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Fri, 20 Nov 2020 15:36:22 -0700 Subject: mb/google/brya: Add new google brya mainboard This commit is a stub for brya, which is a an Intel Alder Lake-P reference platform. BUG=b:173562731 TEST=util/abuild/abuild -p none -t google/brya -a -c max Signed-off-by: Tim Wawrzynczak Change-Id: Ia34130ff92a0a07063cb8e80527204b3a80184a0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47819 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: EricR Lai --- src/mainboard/google/brya/Kconfig | 29 ++++++++++++++++++++++ src/mainboard/google/brya/Kconfig.name | 4 +++ src/mainboard/google/brya/board_info.txt | 6 +++++ src/mainboard/google/brya/dsdt.asl | 14 +++++++++++ .../google/brya/variants/baseboard/devicetree.cb | 5 ++++ 5 files changed, 58 insertions(+) create mode 100644 src/mainboard/google/brya/Kconfig create mode 100644 src/mainboard/google/brya/Kconfig.name create mode 100644 src/mainboard/google/brya/board_info.txt create mode 100644 src/mainboard/google/brya/dsdt.asl create mode 100644 src/mainboard/google/brya/variants/baseboard/devicetree.cb (limited to 'src/mainboard/google/brya') diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig new file mode 100644 index 0000000000..f538adef01 --- /dev/null +++ b/src/mainboard/google/brya/Kconfig @@ -0,0 +1,29 @@ +config BOARD_GOOGLE_BASEBOARD_BRYA + def_bool n + select BOARD_ROMSIZE_KB_32768 + select HAVE_ACPI_TABLES + select SOC_INTEL_ALDERLAKE + +if BOARD_GOOGLE_BASEBOARD_BRYA + +config BASEBOARD_BRYA_LAPTOP + def_bool n + select SYSTEM_TYPE_LAPTOP + +config DEVICETREE + string + default "variants/baseboard/devicetree.cb" + +config MAINBOARD_DIR + string + default "google/brya" + +config MAINBOARD_FAMILY + string + default "Google_Brya0" if BOARD_GOOGLE_BRYA0 + +config MAINBOARD_PART_NUMBER + string + default "brya" if BOARD_GOOGLE_BRYA0 + +endif # BOARD_GOOGLE_BASEBOARD_BRYA diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name new file mode 100644 index 0000000000..db2252afe3 --- /dev/null +++ b/src/mainboard/google/brya/Kconfig.name @@ -0,0 +1,4 @@ +config BOARD_GOOGLE_BRYA0 + bool "Brya 0" + select BOARD_GOOGLE_BASEBOARD_BRYA + select BASEBOARD_BRYA_LAPTOP diff --git a/src/mainboard/google/brya/board_info.txt b/src/mainboard/google/brya/board_info.txt new file mode 100644 index 0000000000..dad16fa8b3 --- /dev/null +++ b/src/mainboard/google/brya/board_info.txt @@ -0,0 +1,6 @@ +Vendor name: Google +Board name: Brya +Category: laptop +ROM protocol: SPI +ROM socketed: n +Flashrom support: y diff --git a/src/mainboard/google/brya/dsdt.asl b/src/mainboard/google/brya/dsdt.asl new file mode 100644 index 0000000000..10d08e26e2 --- /dev/null +++ b/src/mainboard/google/brya/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 // OEM revision +) +{ +} diff --git a/src/mainboard/google/brya/variants/baseboard/devicetree.cb b/src/mainboard/google/brya/variants/baseboard/devicetree.cb new file mode 100644 index 0000000000..fbd7d72f9f --- /dev/null +++ b/src/mainboard/google/brya/variants/baseboard/devicetree.cb @@ -0,0 +1,5 @@ +chip soc/intel/alderlake + device cpu_cluster 0 on + device lapic 0 on end + end +end -- cgit v1.2.3