UPSTREAM: mb/google/brya: Create constitution variant

Create the constitution variant of the brask reference board by
copying the template files to a new directory named for the variant.

(Auto-Generated by create_coreboot_variant.sh version 4.5.0).

BUG=b:267539938
BRANCH=none
TEST=util/abuild/abuild -p none -t google/brya -x -a
make sure the build includes GOOGLE_CONSTITUTION

(cherry picked from commit fc84a555dacf490eaa57a457d8823db1f99e9e0c)

Original-Change-Id: Idb6089561d3aa5aac4448f9d46347c731f027e9c
Original-Signed-off-by: Morris Hsu <morris-hsu@quanta.corp-partner.google.com>
Original-Reviewed-on: https://review.coreboot.org/c/coreboot/+/72730
Original-Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
GitOrigin-RevId: fc84a555dacf490eaa57a457d8823db1f99e9e0c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/4230436
Commit-Queue: Nick Vaccaro <nvaccaro@google.com>
Tested-by: CopyBot Service Account <copybot.service@gmail.com>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Signed-off-by: Stefan Adolfsson <sadolfsson@google.com>
Change-Id: I5304e67a34864e82603b86391b5368ee670d581c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/4615783
Reviewed-by: Pablo Ceballos <pceballos@chromium.org>
Commit-Queue: Stefan Adolfsson <sadolfsson@chromium.org>
Tested-by: Stefan Adolfsson <sadolfsson@chromium.org>
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index f54e96b..426cdba 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -150,6 +150,7 @@
 	default 0x0 if BOARD_GOOGLE_YAVIKS
 	default 0x1 if BOARD_GOOGLE_ZYDRON
 	default 0x1 if BOARD_GOOGLE_LISBON
+	default 0x1 if BOARD_GOOGLE_CONSTITUTION
 
 config DRIVER_TPM_I2C_ADDR
 	hex
@@ -218,6 +219,7 @@
 	default "Lisbon" if BOARD_GOOGLE_LISBON
 	default "Zydron" if BOARD_GOOGLE_ZYDRON
 	default "Gladios" if BOARD_GOOGLE_GLADIOS
+	default "Constitution" if BOARD_GOOGLE_CONSTITUTION
 
 config VARIANT_DIR
 	default "brya0" if BOARD_GOOGLE_BRYA0
@@ -258,6 +260,7 @@
 	default "lisbon" if BOARD_GOOGLE_LISBON
 	default "zydron" if BOARD_GOOGLE_ZYDRON
 	default "gladios" if BOARD_GOOGLE_GLADIOS
+	default "constitution" if BOARD_GOOGLE_CONSTITUTION
 
 config VBOOT
 	select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index 8c5af45..5d28589 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -286,3 +286,7 @@
 config BOARD_GOOGLE_GLADIOS
 	bool "->  Gladios"
 	select BOARD_GOOGLE_BASEBOARD_BRASK
+
+config BOARD_GOOGLE_CONSTITUTION
+	bool "->  Constitution"
+	select BOARD_GOOGLE_BASEBOARD_BRASK
diff --git a/src/mainboard/google/brya/variants/constitution/include/variant/ec.h b/src/mainboard/google/brya/variants/constitution/include/variant/ec.h
new file mode 100644
index 0000000..7a2a6ff
--- /dev/null
+++ b/src/mainboard/google/brya/variants/constitution/include/variant/ec.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __VARIANT_EC_H__
+#define __VARIANT_EC_H__
+
+#include <baseboard/ec.h>
+
+#endif
diff --git a/src/mainboard/google/brya/variants/constitution/include/variant/gpio.h b/src/mainboard/google/brya/variants/constitution/include/variant/gpio.h
new file mode 100644
index 0000000..c4fe342
--- /dev/null
+++ b/src/mainboard/google/brya/variants/constitution/include/variant/gpio.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef VARIANT_GPIO_H
+#define VARIANT_GPIO_H
+
+#include <baseboard/gpio.h>
+
+#endif
diff --git a/src/mainboard/google/brya/variants/constitution/overridetree.cb b/src/mainboard/google/brya/variants/constitution/overridetree.cb
new file mode 100644
index 0000000..4f2c04a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/constitution/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+        device domain 0 on
+        end
+
+end