summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/zork/variants/gumboz/overridetree.cb
diff options
context:
space:
mode:
authorKevin Chiu <Kevin.Chiu@quantatw.com>2020-11-18 23:24:13 +0800
committerFelix Held <felix-coreboot@felixheld.de>2020-11-21 00:19:30 +0000
commitf73580f6242925487e9a39545ad84da7ec907453 (patch)
tree91e10f29ce9a137bafac1e66979e5b323671f14e /src/mainboard/google/zork/variants/gumboz/overridetree.cb
parentd5ffc75fa0d7a9b72b6a0b8e142c168cde839f34 (diff)
downloadcoreboot-f73580f6242925487e9a39545ad84da7ec907453.tar.gz
coreboot-f73580f6242925487e9a39545ad84da7ec907453.tar.bz2
coreboot-f73580f6242925487e9a39545ad84da7ec907453.zip
zork: Create gumboz variant
Create the gumboz variant of the dalboz reference board by copying the template files to a new directory named for the variant. (Auto-Generated by create_coreboot_variant.sh version 4.2.0). BUG=b:173536689 BRANCH=zork TEST=util/abuild/abuild -p none -t google/zork -x -a make sure the build includes GOOGLE_GUMBOZ Change-Id: I48db7eba7864c18e7307b45fe9f84073bfca0155 Signed-off-by: Kevin Chiu <kevin.chiu@quantatw.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47717 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'src/mainboard/google/zork/variants/gumboz/overridetree.cb')
-rw-r--r--src/mainboard/google/zork/variants/gumboz/overridetree.cb42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/variants/gumboz/overridetree.cb b/src/mainboard/google/zork/variants/gumboz/overridetree.cb
new file mode 100644
index 000000000000..1cc2364f5e9b
--- /dev/null
+++ b/src/mainboard/google/zork/variants/gumboz/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_mW" = "6000"
+ register "fast_ppt_limit_mW" = "9000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "2500"
+ register "sustained_power_limit_mW" = "4800"
+
+ # 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