summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/siemens/mc_ehl/Kconfig2
-rw-r--r--src/mainboard/siemens/mc_ehl/variants/mc_ehl1/devicetree.cb17
2 files changed, 17 insertions, 2 deletions
diff --git a/src/mainboard/siemens/mc_ehl/Kconfig b/src/mainboard/siemens/mc_ehl/Kconfig
index fb8dc035ca..5c36c8f14e 100644
--- a/src/mainboard/siemens/mc_ehl/Kconfig
+++ b/src/mainboard/siemens/mc_ehl/Kconfig
@@ -5,7 +5,7 @@ config BOARD_SIEMENS_BASEBOARD_MC_EHL
select DRIVERS_I2C_GENERIC
select HAVE_SPD_IN_CBFS
select HAVE_ACPI_TABLES
-
+ select DRIVERS_I2C_RX6110SA
source "src/mainboard/siemens/mc_ehl/variants/*/Kconfig"
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/devicetree.cb b/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/devicetree.cb
index 950f5016f3..03d10aacb1 100644
--- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/devicetree.cb
+++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/devicetree.cb
@@ -218,7 +218,22 @@ chip soc/intel/elkhartlake
device pci 1f.1 on end # P2SB
device pci 1f.2 hidden end # Power Management Controller
device pci 1f.3 off end # Intel cAVS/HDA
- device pci 1f.4 on end # SMBus
+ device pci 1f.4 on # SMBus
+ # Enable external RTC chip
+ chip drivers/i2c/rx6110sa
+ register "bus_speed" = "I2C_SPEED_STANDARD"
+ 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 1f.5 on end # PCH SPI (flash & TPM)
device pci 1f.7 off end # PCH Intel Trace Hub
end