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>
This commit is contained in:
Werner Zeh 2017-05-29 14:35:09 +02:00
parent 57cbd21a52
commit cd37fef2e1
2 changed files with 6 additions and 7 deletions

View File

@ -12,7 +12,8 @@ config BOARD_SPECIFIC_OPTIONS
select USE_SIEMENS_HWILIB select USE_SIEMENS_HWILIB
select DRIVER_INTEL_I210 select DRIVER_INTEL_I210
select DRIVER_SIEMENS_NC_FPGA select DRIVER_SIEMENS_NC_FPGA
select DRIVERS_I2C_PCF8523 select DRIVERS_I2C_RX6110SA
select RX6110SA_USE_SMBUS
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -11,16 +11,14 @@ chip soc/intel/fsp_broadwell_de
device pci 1f.2 on end # SATA Controller device pci 1f.2 on end # SATA Controller
device pci 1f.3 on device pci 1f.3 on
# Enable external RTC chip # Enable external RTC chip
chip drivers/i2c/pcf8523 chip drivers/i2c/rx6110sa
register "cap_sel" = "CAP_SEL_7_PF" register "cof_selection" = "0"
register "power_mode" = "PM_BAT_SW_OFF_LOW_DETECT_OFF"
register "cof_selection" = "COF_OFF"
register "set_user_date" = "1" register "set_user_date" = "1"
register "user_year" = "04" register "user_year" = "04"
register "user_month" = "07" register "user_month" = "07"
register "user_day" = "01" register "user_day" = "01"
register "user_weekday" = "0" register "user_weekday" = "4"
device i2c 0x68 on end # RTC PCF8523 device i2c 0x32 on end # RTC RX6110 SA
end end
end # SMBus Controller end # SMBus Controller
device pci 1f.5 on end # SATA Controller device pci 1f.5 on end # SATA Controller