summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2017-05-29 14:35:09 +0200
committerWerner Zeh <werner.zeh@siemens.com>2017-05-31 09:16:16 +0200
commitcd37fef2e1602be50daf895a09daa568cf74db29 (patch)
treebb2d8853b32bad8f7b298031c936c015d6b34ab4 /src
parent57cbd21a52a157bbe2df38a44127b343f642e611 (diff)
downloadcoreboot-cd37fef2e1602be50daf895a09daa568cf74db29.tar.xz
mc_bdx1: Switch to RTC RX6110SA
The prior used RTC PCF8523 is replaced with RX6110SA on this mainboard. Switch to the new RTC in Kconfig and adapt devicetree to the new chip. Change-Id: I7c4911191cae254900f9a958da42ecd18497484c Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/19979 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/siemens/mc_bdx1/Kconfig3
-rw-r--r--src/mainboard/siemens/mc_bdx1/devicetree.cb10
2 files changed, 6 insertions, 7 deletions
diff --git a/src/mainboard/siemens/mc_bdx1/Kconfig b/src/mainboard/siemens/mc_bdx1/Kconfig
index f64b22bf09..0200d926d5 100644
--- a/src/mainboard/siemens/mc_bdx1/Kconfig
+++ b/src/mainboard/siemens/mc_bdx1/Kconfig
@@ -12,7 +12,8 @@ config BOARD_SPECIFIC_OPTIONS
select USE_SIEMENS_HWILIB
select DRIVER_INTEL_I210
select DRIVER_SIEMENS_NC_FPGA
- select DRIVERS_I2C_PCF8523
+ select DRIVERS_I2C_RX6110SA
+ select RX6110SA_USE_SMBUS
config MAINBOARD_DIR
string
diff --git a/src/mainboard/siemens/mc_bdx1/devicetree.cb b/src/mainboard/siemens/mc_bdx1/devicetree.cb
index 804b78179a..543786b43c 100644
--- a/src/mainboard/siemens/mc_bdx1/devicetree.cb
+++ b/src/mainboard/siemens/mc_bdx1/devicetree.cb
@@ -11,16 +11,14 @@ chip soc/intel/fsp_broadwell_de
device pci 1f.2 on end # SATA Controller
device pci 1f.3 on
# Enable external RTC chip
- chip drivers/i2c/pcf8523
- register "cap_sel" = "CAP_SEL_7_PF"
- register "power_mode" = "PM_BAT_SW_OFF_LOW_DETECT_OFF"
- register "cof_selection" = "COF_OFF"
+ chip drivers/i2c/rx6110sa
+ register "cof_selection" = "0"
register "set_user_date" = "1"
register "user_year" = "04"
register "user_month" = "07"
register "user_day" = "01"
- register "user_weekday" = "0"
- device i2c 0x68 on end # RTC PCF8523
+ register "user_weekday" = "4"
+ device i2c 0x32 on end # RTC RX6110 SA
end
end # SMBus Controller
device pci 1f.5 on end # SATA Controller