UPSTREAM: 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.

BUG=none
BRANCH=none
TEST=none

Change-Id: I6aedee70a912bce4c5c1c651aa8d4c4363b0f632
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: cd37fef2e1
Original-Change-Id: I7c4911191cae254900f9a958da42ecd18497484c
Original-Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Original-Reviewed-on: https://review.coreboot.org/19979
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-on: https://chromium-review.googlesource.com/521031
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
Werner Zeh 2017-05-29 14:35:09 +02:00 committed by chrome-bot
commit b08ac1a563
2 changed files with 6 additions and 7 deletions

View file

@ -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

View file

@ -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