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>
This commit is contained in:
Werner Zeh 2021-07-22 14:51:26 +02:00 committed by Patrick Georgi
parent 6a01ac2504
commit 04d8cc3514
2 changed files with 17 additions and 2 deletions

View File

@ -5,7 +5,7 @@ config BOARD_SIEMENS_BASEBOARD_MC_EHL
select DRIVERS_I2C_GENERIC select DRIVERS_I2C_GENERIC
select HAVE_SPD_IN_CBFS select HAVE_SPD_IN_CBFS
select HAVE_ACPI_TABLES select HAVE_ACPI_TABLES
select DRIVERS_I2C_RX6110SA
source "src/mainboard/siemens/mc_ehl/variants/*/Kconfig" source "src/mainboard/siemens/mc_ehl/variants/*/Kconfig"

View File

@ -218,7 +218,22 @@ chip soc/intel/elkhartlake
device pci 1f.1 on end # P2SB device pci 1f.1 on end # P2SB
device pci 1f.2 hidden end # Power Management Controller device pci 1f.2 hidden end # Power Management Controller
device pci 1f.3 off end # Intel cAVS/HDA 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.5 on end # PCH SPI (flash & TPM)
device pci 1f.7 off end # PCH Intel Trace Hub device pci 1f.7 off end # PCH Intel Trace Hub
end end