[coreboot-gerrit] Change in coreboot[master]: siemens/mc_apl1: Enable I2C0 with 100kHz
Mario Scheithauer (Code Review)
gerrit at coreboot.org
Mon Oct 23 16:37:19 CEST 2017
Mario Scheithauer has uploaded this change for review. ( https://review.coreboot.org/22140
Change subject: siemens/mc_apl1: Enable I2C0 with 100kHz
......................................................................
siemens/mc_apl1: Enable I2C0 with 100kHz
The default setting for I2Cx is 400kHz. On this mainboard there is a
device on I2C0 which requires a lower clock rate to work correctly. For
this reason we set the frequency to 100kHz.
Change-Id: I637a58a0c89ead55ca1176d6aecdfaba5897d64f
Signed-off-by: Mario Scheithauer <mario.scheithauer at siemens.com>
---
M src/mainboard/siemens/mc_apl1/devicetree.cb
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/22140/1
diff --git a/src/mainboard/siemens/mc_apl1/devicetree.cb b/src/mainboard/siemens/mc_apl1/devicetree.cb
index 04b3ae5..7e7ed04 100644
--- a/src/mainboard/siemens/mc_apl1/devicetree.cb
+++ b/src/mainboard/siemens/mc_apl1/devicetree.cb
@@ -43,6 +43,11 @@
# [6:0] steps of delay for HS200, each 125ps.
register "emmc_rx_cmd_data_cntl2" = "0x10008"
+ # Enable I2C0 for proximity sensor at 100kHz
+ register "i2c[0]" = "{
+ .speed = I2C_SPEED_STANDARD,
+ }"
+
device domain 0 on
device pci 00.0 on end # - Host Bridge
device pci 00.1 off end # - DPTF
--
To view, visit https://review.coreboot.org/22140
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I637a58a0c89ead55ca1176d6aecdfaba5897d64f
Gerrit-Change-Number: 22140
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer at siemens.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171023/20b4e12c/attachment.html>
More information about the coreboot-gerrit
mailing list