diff options
author | Werner Zeh <werner.zeh@siemens.com> | 2021-07-22 14:51:26 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-29 09:12:56 +0000 |
commit | 04d8cc3514c3da3e3790d56417e0b0d6420d56df (patch) | |
tree | 53c2c4e5905c7c4264b868cc03e8abecc3e1d9e4 | |
parent | 6a01ac25040e69186033d3d4292aa48545f34383 (diff) |
mb/siemens/mc_ehl: Add external RTC RX6110SA
All the mainboards based on mc_ehl use the external RTC RX6110SA.
Enable the driver in Kconfig for all boards based on mc_ehl. In
addition, as mc_ehl1 has the RTC attached to the SMBus, add the
devicetree entry on behalf of the SMBus device 00:1f.4 for this variant.
Change-Id: Ie1f45d0e6f9063c00253fe58a6268d40de91cf63
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56523
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/mainboard/siemens/mc_ehl/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/siemens/mc_ehl/variants/mc_ehl1/devicetree.cb | 17 |
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 |