From 9a045cf203bd05cef1b5aa8f2f01edf1eca99063 Mon Sep 17 00:00:00 2001 From: Justin TerAvest Date: Tue, 23 Jan 2018 22:05:19 -0700 Subject: mb/google/kahlee: Add Grunt devicetree i2c bus cfg I2C bus configuration is generally set up in devicetree.cb. This change establishes listings for the buses so that they can be used (though followup changes should update the buses to have correct timings). BUG=b:72121803 Change-Id: I2b12c82d2bab42ab470aa207880be8876e7cb75f Signed-off-by: Justin TerAvest Reviewed-on: https://review.coreboot.org/23407 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- .../google/kahlee/variants/grunt/devicetree.cb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb index d35467fab7..d42d40adaf 100644 --- a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb +++ b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb @@ -21,6 +21,34 @@ chip soc/amd/stoneyridge register "uma_mode" = "UMAMODE_SPECIFIED_SIZE" register "uma_size" = "128 * MiB" + # TODO(teravest): Fix speeds here. + register "i2c[0]" = "{ + .speed = I2C_SPEED_FAST, + .rise_time_ns = 104, + .fall_time_ns = 52, + }" + + # TODO(teravest): Fix speeds here. + register "i2c[1]" = "{ + .speed = I2C_SPEED_FAST, + .rise_time_ns = 104, + .fall_time_ns = 52, + }" + + # TODO(teravest): Fix speeds here. + register "i2c[2]" = "{ + .speed = I2C_SPEED_FAST, + .rise_time_ns = 104, + .fall_time_ns = 52, + }" + + # TODO(teravest): Fix speeds here. + register "i2c[3]" = "{ + .speed = I2C_SPEED_FAST, + .rise_time_ns = 104, + .fall_time_ns = 52, + }" + device cpu_cluster 0 on device lapic 10 on end end -- cgit v1.2.3