summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2017-06-29 08:56:45 +0200
committerWerner Zeh <werner.zeh@siemens.com>2017-06-30 16:57:21 +0000
commitc439109359b91e597c06e9532f812931ed7fd0a2 (patch)
tree69902873f54e8bc985e35ff29037a1eaf69ba474
parent6e6261e89344ff25dc3beb0b8abb753ff2347624 (diff)
mb/siemens/mc_bdx1: Set up RTC backup mode to primary cell
The used RTC6110SA has issues to enter backup mode when the power supply decreases too slow when the mainboard is turned off. Switch to backup mode "primary cell" to make sure backup mode will be entered correctly on power-off. In addition set IOCUTEN to minimize the backup current consumption of the RTC. Change-Id: I9733aa9f2981a25f6d42279eff0c4980e5eb5a5a Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/20413 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/mainboard/siemens/mc_bdx1/devicetree.cb5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/siemens/mc_bdx1/devicetree.cb b/src/mainboard/siemens/mc_bdx1/devicetree.cb
index 543786b43c..8bb582e383 100644
--- a/src/mainboard/siemens/mc_bdx1/devicetree.cb
+++ b/src/mainboard/siemens/mc_bdx1/devicetree.cb
@@ -12,7 +12,10 @@ chip soc/intel/fsp_broadwell_de
device pci 1f.3 on
# Enable external RTC chip
chip drivers/i2c/rx6110sa
- register "cof_selection" = "0"
+ register "pmon_sampling" = "PMON_SAMPL_256_MS"
+ register "bks_on" = "0"
+ register "bks_off" = "1"
+ register "iocut_en" = "1"
register "set_user_date" = "1"
register "user_year" = "04"
register "user_month" = "07"