[coreboot-gerrit] Change in ...coreboot[master]: siemens/mc_apl4: Enable RTC RX6110SA on this mainboard

Uwe Poeche (Code Review) gerrit at coreboot.org
Wed Dec 12 16:15:43 CET 2018


Uwe Poeche has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30205


Change subject: siemens/mc_apl4: Enable RTC RX6110SA on this mainboard
......................................................................

siemens/mc_apl4: Enable RTC RX6110SA on this mainboard

Enaebl the RTC driver to be used on mc_apl4.

Change-Id: Ib8d2a9f6b8cea47cd10db4dfcc59eec1b21c7993
Signed-off-by: Uwe Poeche <uwe.poeche at siemens.com>
---
M src/mainboard/siemens/mc_apl1/variants/mc_apl4/Kconfig
M src/mainboard/siemens/mc_apl1/variants/mc_apl4/devicetree.cb
2 files changed, 16 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/30205/1

diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Kconfig b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Kconfig
index 925b04f..bc7922f 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Kconfig
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Kconfig
@@ -5,5 +5,6 @@
 	def_bool y
 	select DRIVER_INTEL_I210
 	select APL_SET_MIN_CLOCK_RATIO
+	select DRIVERS_I2C_RX6110SA
 
 endif # BOARD_SIEMENS_MC_APL4
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/devicetree.cb b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/devicetree.cb
index 2562bf6..a7d0844 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/devicetree.cb
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/devicetree.cb
@@ -75,7 +75,21 @@
 		device pci 17.0 on  end	# - I2C 4
 		device pci 17.1 on  end	# - I2C 5
 		device pci 17.2 on  end	# - I2C 6
-		device pci 17.3 on  end	# - I2C 7
+		device pci 17.3 on 	# - I2C 7
+		# Enable external RTC chip
+			chip drivers/i2c/rx6110sa
+				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"
+				register "user_day" = "01"
+				register "user_weekday" = "4"
+				device i2c 0x32 on end	# RTC RX6110 SA
+			end
+		end
 		device pci 18.0 on  end	# - UART 0
 		device pci 18.1 on  end	# - UART 1
 		device pci 18.2 on  end	# - UART 2

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/30205
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib8d2a9f6b8cea47cd10db4dfcc59eec1b21c7993
Gerrit-Change-Number: 30205
Gerrit-PatchSet: 1
Gerrit-Owner: Uwe Poeche <uwe.poeche at siemens.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181212/cadc5586/attachment-0001.html>


More information about the coreboot-gerrit mailing list