From 339e771055ff8f7d1f9652cb4d68be6b15e97016 Mon Sep 17 00:00:00 2001 From: Justin TerAvest Date: Fri, 26 Jan 2018 15:19:08 -0700 Subject: mb/google/kahlee: Fix I2C bus 1 timing for Grunt I measured the rise and fall times for I2C bus 1 from userspace manually, using "i2cdetect 1" called from userspace and an oscilloscope. This commit fixes the values there to reflect reality. BUG=b:72442912,b:70232394 Change-Id: I4f593cb2674006060cad9a77753c23f7d9828c9b Signed-off-by: Justin TerAvest Reviewed-on: https://review.coreboot.org/23459 Reviewed-by: Martin Roth Reviewed-by: Chris Ching Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/mainboard/google/kahlee/variants/grunt/devicetree.cb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard/google/kahlee') diff --git a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb index 977e32d1db..d2453a1e67 100644 --- a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb +++ b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb @@ -28,11 +28,11 @@ chip soc/amd/stoneyridge .fall_time_ns = 52, }" - # TODO(teravest): Fix speeds here. + # Enable I2C1 for H1 at 400kHz register "i2c[1]" = "{ .speed = I2C_SPEED_FAST, - .rise_time_ns = 104, - .fall_time_ns = 52, + .rise_time_ns = 84, + .fall_time_ns = 4, }" # TODO(teravest): Fix speeds here. -- cgit v1.2.3