summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush
diff options
context:
space:
mode:
authorChris.Wang <chris.wang@amd.corp-partner.google.com>2021-11-10 15:38:01 +0800
committerPaul Fagerburg <pfagerburg@chromium.org>2021-11-11 16:01:15 +0000
commitca6915257913d6ebe7103b6d4e3077d727ea332f (patch)
tree56fdf292c76e9a621c0c92c95dd1b267a5addce5 /src/mainboard/google/guybrush
parent03c3d5d68ea5c4758c0e3dc9dd15a7013b2105bd (diff)
mb/google/guybrush/dewatt: update dewatt config
copy config from guybrush reference board. BUG=b:204151079 BRANCH=guybrush TEST=emerge-guybrush coreboot chromeos-bootimage Signed-off-by: Chris.Wang <chris.wang@amd.corp-partner.google.com> Change-Id: Ide9e002390e59725dc0e45f83280db2a78270993 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59092 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'src/mainboard/google/guybrush')
-rw-r--r--src/mainboard/google/guybrush/variants/dewatt/overridetree.cb50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/variants/dewatt/overridetree.cb b/src/mainboard/google/guybrush/variants/dewatt/overridetree.cb
index c182265075..5a0ad981ba 100644
--- a/src/mainboard/google/guybrush/variants/dewatt/overridetree.cb
+++ b/src/mainboard/google/guybrush/variants/dewatt/overridetree.cb
@@ -4,4 +4,54 @@ chip soc/amd/cezanne
device domain 0 on
end # domain
+
+ register "slow_ppt_limit_mW" = "25000"
+ register "fast_ppt_limit_mW" = "30000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "275"
+ register "sustained_power_limit_mW" = "15000"
+ register "thermctl_limit_degreeC" = "100"
+
+ #Update values based on final stardust SDLE test report.
+ register "telemetry_vddcrvddfull_scale_current_mA" = "94648" #mA
+ register "telemetry_vddcrvddoffset" = "785"
+ register "telemetry_vddcrsocfull_scale_current_mA" = "30314" #mA
+ register "telemetry_vddcrsocoffset" = "560"
+
+ # I2C Config
+ #+-------------------+---------------------------+
+ #| Field | Value |
+ #+-------------------+---------------------------+
+ #| I2C0 | Trackpad |
+ #| I2C1 | Touchscreen |
+ #| I2C2 | Speaker, Codec, P-SAR |
+ #| I2C3 | H1/D2 TPM |
+ #+-------------------+---------------------------+
+ register "i2c[0]" = "{
+ .speed = I2C_SPEED_FAST,
+ }"
+
+ register "i2c[1]" = "{
+ .speed = I2C_SPEED_FAST,
+ }"
+
+ register "i2c[2]" = "{
+ .speed = I2C_SPEED_FAST,
+ }"
+
+ register "i2c[3]" = "{
+ .speed = I2C_SPEED_FAST,
+ .early_init = true,
+ }"
+
+ device ref i2c_0 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)"
+ register "wake" = "GEVENT_22"
+ register "probed" = "1"
+ device i2c 15 on end
+ end
+ end # I2C0
end # chip soc/amd/cezanne