[coreboot-gerrit] Change in coreboot[master]: kahlee: Grunt i2c bus devicetree support

Justin TerAvest (Code Review) gerrit at coreboot.org
Wed Jan 24 16:29:38 CET 2018


Justin TerAvest has uploaded this change for review. ( https://review.coreboot.org/23407


Change subject: kahlee: Grunt i2c bus devicetree support
......................................................................

kahlee: Grunt i2c bus devicetree support

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).

Change-Id: I2b12c82d2bab42ab470aa207880be8876e7cb75f
---
M src/mainboard/google/kahlee/variants/grunt/devicetree.cb
1 file changed, 28 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/23407/1

diff --git a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
index d35467f..d42d40a 100644
--- a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
+++ b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
@@ -21,6 +21,34 @@
 	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

-- 
To view, visit https://review.coreboot.org/23407
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b12c82d2bab42ab470aa207880be8876e7cb75f
Gerrit-Change-Number: 23407
Gerrit-PatchSet: 1
Gerrit-Owner: Justin TerAvest <teravest at chromium.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180124/e4b0e387/attachment.html>


More information about the coreboot-gerrit mailing list