[coreboot-gerrit] Change in coreboot[master]: siemens/mc_bdx1: Enable PCA9538 I/O expander
Werner Zeh (Code Review)
gerrit at coreboot.org
Wed Feb 14 08:11:52 CET 2018
Werner Zeh has uploaded this change for review. ( https://review.coreboot.org/23749
Change subject: siemens/mc_bdx1: Enable PCA9538 I/O expander
......................................................................
siemens/mc_bdx1: Enable PCA9538 I/O expander
The I/O expander on the mc_bdx1 is used to get the hardware version of
the mainboard. This patch enables the chip driver for the I/O expander.
Change-Id: I98c667fe4dccf0698ab4cb5ede6082f020c70ec6
Signed-off-by: Werner Zeh <werner.zeh at siemens.com>
---
M src/mainboard/siemens/mc_bdx1/Kconfig
M src/mainboard/siemens/mc_bdx1/devicetree.cb
2 files changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/23749/1
diff --git a/src/mainboard/siemens/mc_bdx1/Kconfig b/src/mainboard/siemens/mc_bdx1/Kconfig
index dc2093d..a24d09d 100644
--- a/src/mainboard/siemens/mc_bdx1/Kconfig
+++ b/src/mainboard/siemens/mc_bdx1/Kconfig
@@ -13,6 +13,7 @@
select DRIVER_INTEL_I210
select DRIVER_SIEMENS_NC_FPGA
select DRIVERS_I2C_RX6110SA
+ select DRIVERS_I2C_PCA9538
config MAINBOARD_DIR
string
diff --git a/src/mainboard/siemens/mc_bdx1/devicetree.cb b/src/mainboard/siemens/mc_bdx1/devicetree.cb
index 8bb582e..bb5d843 100644
--- a/src/mainboard/siemens/mc_bdx1/devicetree.cb
+++ b/src/mainboard/siemens/mc_bdx1/devicetree.cb
@@ -23,6 +23,13 @@
register "user_weekday" = "4"
device i2c 0x32 on end # RTC RX6110 SA
end
+ #Enable I/O expander
+ chip drivers/i2c/pca9538
+ register "in_out" = "0xff"
+ register "invert" = "0xff"
+ register "out_val" = "0x00"
+ device i2c 0x71 on end # I/O expander
+ end
end # SMBus Controller
device pci 1f.5 on end # SATA Controller
end
--
To view, visit https://review.coreboot.org/23749
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: I98c667fe4dccf0698ab4cb5ede6082f020c70ec6
Gerrit-Change-Number: 23749
Gerrit-PatchSet: 1
Gerrit-Owner: Werner Zeh <werner.zeh at siemens.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180214/0eeb0043/attachment-0001.html>
More information about the coreboot-gerrit
mailing list