summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2020-11-20 15:36:22 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-11-22 22:16:27 +0000
commitf61011a56fba8fce5eee19f8c4e5979c4427c81e (patch)
treedb559f3fb0a7e1796edef22d6e4b9f1f9fda9daf /src/mainboard
parent6c8ba9b9ae0a0eb04f6c7be3ba8185f49db13d00 (diff)
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 <twawrzynczak@chromium.org> Change-Id: Ia34130ff92a0a07063cb8e80527204b3a80184a0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47819 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/Kconfig29
-rw-r--r--src/mainboard/google/brya/Kconfig.name4
-rw-r--r--src/mainboard/google/brya/board_info.txt6
-rw-r--r--src/mainboard/google/brya/dsdt.asl14
-rw-r--r--src/mainboard/google/brya/variants/baseboard/devicetree.cb5
5 files changed, 58 insertions, 0 deletions
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 <acpi/acpi.h>
+
+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