summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJing Tong <tongjian@huaqin.corp-partner.google.com>2024-07-01 13:42:33 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-07-03 13:57:22 +0000
commitd5de10f02ee3c344f81a39428b60114c521b4597 (patch)
treedfa1575fb63e3a777e2dad0404e3df61318feed0 /src/mainboard
parentcae81a567462b4ab2494b4e6cee0ee20ea4a2fcf (diff)
mb/google/brox/var/lotso: Tune I2C frequency for 400 kHz
Before: I2C0 - 401kHz I2C4 - 405kHz After: I2C0 - 392kHz I2C4 - 395kHz HW: Change R8409/R8411 to 33ohm. BUG=b:349743464,b:349735055 TEST=emerge-brox sys-boot/coreboot Test pass by EE Change-Id: I985837b1b80e973f148529b446905580c0f95e98 Signed-off-by: Jian Tong <tongjian@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83290 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kun Liu <liukun11@huaqin.corp-partner.google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brox/variants/lotso/overridetree.cb16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/google/brox/variants/lotso/overridetree.cb b/src/mainboard/google/brox/variants/lotso/overridetree.cb
index 274e22c106..187840f1ce 100644
--- a/src/mainboard/google/brox/variants/lotso/overridetree.cb
+++ b/src/mainboard/google/brox/variants/lotso/overridetree.cb
@@ -48,6 +48,22 @@ chip soc/intel/alderlake
register "tcss_ports[0]" = "TCSS_PORT_EMPTY" # Disable TCP0
register "tcss_ports[2]" = "TCSS_PORT_EMPTY" # Disable TCP2
+ register "common_soc_config" = "{
+ .i2c[0] = {
+ .speed = I2C_SPEED_FAST,
+ .rise_time_ns = 650,
+ .fall_time_ns = 350,
+ .data_hold_time_ns = 400,
+ },
+ .i2c[4] = {
+ .early_init = 1,
+ .speed = I2C_SPEED_FAST,
+ .rise_time_ns = 600,
+ .fall_time_ns = 110,
+ .data_hold_time_ns = 100,
+ },
+ }"
+
register "serial_io_gspi_mode" = "{
[PchSerialIoIndexGSPI0] = PchSerialIoPci,
[PchSerialIoIndexGSPI1] = PchSerialIoPci,