summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/zork/Kconfig2
-rw-r--r--src/mainboard/google/zork/Kconfig.name4
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/Makefile.inc3
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/audio.asl3
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/mainboard.asl3
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/sleep.asl3
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/thermal.asl3
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/include/variant/ec.h3
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/include/variant/gpio.h3
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/include/variant/thermal.h3
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/overridetree.cb42
11 files changed, 72 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/Kconfig b/src/mainboard/google/zork/Kconfig
index 75b3e01345..b6ad7e0afb 100644
--- a/src/mainboard/google/zork/Kconfig
+++ b/src/mainboard/google/zork/Kconfig
@@ -69,6 +69,7 @@ config VARIANT_DIR
default "berknip" if BOARD_GOOGLE_BERKNIP
default "vilboz" if BOARD_GOOGLE_VILBOZ
default "woomax" if BOARD_GOOGLE_WOOMAX
+ default "dirinboz" if BOARD_GOOGLE_DIRINBOZ
config MAINBOARD_PART_NUMBER
string
@@ -79,6 +80,7 @@ config MAINBOARD_PART_NUMBER
default "Berknip" if BOARD_GOOGLE_BERKNIP
default "Vilboz" if BOARD_GOOGLE_VILBOZ
default "Woomax" if BOARD_GOOGLE_WOOMAX
+ default "Dirinboz" if BOARD_GOOGLE_DIRINBOZ
config DEVICETREE
string
diff --git a/src/mainboard/google/zork/Kconfig.name b/src/mainboard/google/zork/Kconfig.name
index 801c1b7b39..6f9a90c682 100644
--- a/src/mainboard/google/zork/Kconfig.name
+++ b/src/mainboard/google/zork/Kconfig.name
@@ -27,3 +27,7 @@ config BOARD_GOOGLE_BERKNIP
config BOARD_GOOGLE_WOOMAX
bool "-> Woomax"
select BOARD_GOOGLE_BASEBOARD_TREMBYLE
+
+config BOARD_GOOGLE_DIRINBOZ
+ bool "-> Dirinboz"
+ select BOARD_GOOGLE_BASEBOARD_DALBOZ
diff --git a/src/mainboard/google/zork/variants/dirinboz/Makefile.inc b/src/mainboard/google/zork/variants/dirinboz/Makefile.inc
new file mode 100644
index 0000000000..9dc5159c53
--- /dev/null
+++ b/src/mainboard/google/zork/variants/dirinboz/Makefile.inc
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+subdirs-y += ../baseboard/spd
diff --git a/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/audio.asl b/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/audio.asl
new file mode 100644
index 0000000000..900e36f277
--- /dev/null
+++ b/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/audio.asl
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/acpi/audio.asl>
diff --git a/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/mainboard.asl b/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/mainboard.asl
new file mode 100644
index 0000000000..a1161edb5f
--- /dev/null
+++ b/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/mainboard.asl
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/acpi/mainboard.asl>
diff --git a/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/sleep.asl b/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/sleep.asl
new file mode 100644
index 0000000000..8177a9df2a
--- /dev/null
+++ b/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/sleep.asl
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/acpi/sleep.asl>
diff --git a/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/thermal.asl b/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/thermal.asl
new file mode 100644
index 0000000000..7a793d8102
--- /dev/null
+++ b/src/mainboard/google/zork/variants/dirinboz/include/variant/acpi/thermal.asl
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/acpi/thermal.asl>
diff --git a/src/mainboard/google/zork/variants/dirinboz/include/variant/ec.h b/src/mainboard/google/zork/variants/dirinboz/include/variant/ec.h
new file mode 100644
index 0000000000..9e61a440cf
--- /dev/null
+++ b/src/mainboard/google/zork/variants/dirinboz/include/variant/ec.h
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/ec.h>
diff --git a/src/mainboard/google/zork/variants/dirinboz/include/variant/gpio.h b/src/mainboard/google/zork/variants/dirinboz/include/variant/gpio.h
new file mode 100644
index 0000000000..dfaeec3ae1
--- /dev/null
+++ b/src/mainboard/google/zork/variants/dirinboz/include/variant/gpio.h
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/gpio.h>
diff --git a/src/mainboard/google/zork/variants/dirinboz/include/variant/thermal.h b/src/mainboard/google/zork/variants/dirinboz/include/variant/thermal.h
new file mode 100644
index 0000000000..2af647973d
--- /dev/null
+++ b/src/mainboard/google/zork/variants/dirinboz/include/variant/thermal.h
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/thermal.h>
diff --git a/src/mainboard/google/zork/variants/dirinboz/overridetree.cb b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
new file mode 100644
index 0000000000..7645ba33e3
--- /dev/null
+++ b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+chip soc/amd/picasso
+
+ # Start : OPN Performance Configuration
+ # See devhub #56670 Chapter 5 for documentation
+ # For the below fields, 0 indicates use SOC default
+
+ # System config index
+ register "system_config" = "1"
+
+ # Set STAPM confiuration. All of these fields must be set >0 to take affect
+ register "slow_ppt_limit" = "6000" #mw
+ register "fast_ppt_limit" = "9000" #mw
+ register "slow_ppt_time_constant" = "5" #second
+ register "stapm_time_constant" = "2500" #second
+ register "sustained_power_limit" = "4800" #mw
+
+ # End : OPN Performance Configuration
+
+ # I2C2 for touchscreen and trackpad
+
+ register "i2c[2]" = "{
+ .speed = I2C_SPEED_FAST,
+ }"
+
+ # I2C3 for H1
+
+ register "i2c[3]" = "{
+ .speed = I2C_SPEED_FAST,
+ .early_init = true,
+ }"
+
+ # See AMD 55570-B1 Table 13: PCI Device ID Assignments.
+ device domain 0 on
+ subsystemid 0x1022 0x1510 inherit
+ end # domain
+
+ device mmio 0xfedc4000 on # APU_I2C2_BASE
+ end # device
+
+end # chip soc/amd/picasso