summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/dedede/Kconfig8
-rw-r--r--src/mainboard/google/dedede/Kconfig.name6
-rw-r--r--src/mainboard/google/dedede/variants/waddledoo/include/variant/ec.h14
-rw-r--r--src/mainboard/google/dedede/variants/waddledoo/include/variant/gpio.h14
-rw-r--r--src/mainboard/google/dedede/variants/waddledoo/overridetree.cb3
5 files changed, 44 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig
index a3d189d639..3eddabc985 100644
--- a/src/mainboard/google/dedede/Kconfig
+++ b/src/mainboard/google/dedede/Kconfig
@@ -44,12 +44,17 @@ config MAINBOARD_FAMILY
config MAINBOARD_PART_NUMBER
string
- default "dedede" if BOARD_GOOGLE_DEDEDE
+ default "Dedede" if BOARD_GOOGLE_DEDEDE
+ default "Waddledoo" if BOARD_GOOGLE_WADDLEDOO
config MAX_CPUS
int
default 4
+config OVERRIDE_DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_DEDEDE
+
config TPM_TIS_ACPI_INTERRUPT
int
default 4 # GPE0_DW0_4 (GPP_B4)
@@ -61,5 +66,6 @@ config UART_FOR_CONSOLE
config VARIANT_DIR
string
default "dedede" if BOARD_GOOGLE_DEDEDE
+ default "waddledoo" if BOARD_GOOGLE_WADDLEDOO
endif #BOARD_GOOGLE_BASEBOARD_DEDEDE
diff --git a/src/mainboard/google/dedede/Kconfig.name b/src/mainboard/google/dedede/Kconfig.name
index 4bf440d3cd..ae5df66df5 100644
--- a/src/mainboard/google/dedede/Kconfig.name
+++ b/src/mainboard/google/dedede/Kconfig.name
@@ -3,3 +3,9 @@ config BOARD_GOOGLE_DEDEDE
select BOARD_GOOGLE_BASEBOARD_DEDEDE
select BASEBOARD_DEDEDE_LAPTOP
select BOARD_ROMSIZE_KB_32768
+
+config BOARD_GOOGLE_WADDLEDOO
+ bool "Waddledoo"
+ select BOARD_GOOGLE_BASEBOARD_DEDEDE
+ select BASEBOARD_DEDEDE_LAPTOP
+ select BOARD_ROMSIZE_KB_32768
diff --git a/src/mainboard/google/dedede/variants/waddledoo/include/variant/ec.h b/src/mainboard/google/dedede/variants/waddledoo/include/variant/ec.h
new file mode 100644
index 0000000000..cc897dcdcf
--- /dev/null
+++ b/src/mainboard/google/dedede/variants/waddledoo/include/variant/ec.h
@@ -0,0 +1,14 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2020 The coreboot project Authors.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef MAINBOARD_EC_H
+#define MAINBOARD_EC_H
+
+#include <baseboard/ec.h>
+
+#endif
diff --git a/src/mainboard/google/dedede/variants/waddledoo/include/variant/gpio.h b/src/mainboard/google/dedede/variants/waddledoo/include/variant/gpio.h
new file mode 100644
index 0000000000..bf23f6e457
--- /dev/null
+++ b/src/mainboard/google/dedede/variants/waddledoo/include/variant/gpio.h
@@ -0,0 +1,14 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2020 The coreboot project Authors.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef MAINBOARD_GPIO_H
+#define MAINBOARD_GPIO_H
+
+#include <baseboard/gpio.h>
+
+#endif /* MAINBOARD_GPIO_H */
diff --git a/src/mainboard/google/dedede/variants/waddledoo/overridetree.cb b/src/mainboard/google/dedede/variants/waddledoo/overridetree.cb
new file mode 100644
index 0000000000..ac9d576d01
--- /dev/null
+++ b/src/mainboard/google/dedede/variants/waddledoo/overridetree.cb
@@ -0,0 +1,3 @@
+chip soc/intel/tigerlake
+ device domain 0 on end
+end