aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/siemens/mc_ehl
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2022-08-26 13:58:27 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-09-07 09:24:31 +0000
commit4d51071c04518b9d920dffb66cf652eb2f5943ad (patch)
tree4b281164b9e3e3dadfe77567e55f99ae4ed22a00 /src/mainboard/siemens/mc_ehl
parentd518c6593ce67acea241a3e5c84b531d037c6c96 (diff)
mb/siemens/mc_ehl2: Change to new RTC RV3028-C7
Since the latest redesign a new RTC was introduced on mc_ehl2. Instead of the old RX6110SA the new Micro Crystal RTC RV3028 is used now. Since the address of this new RTC conflicts with an EEPROM on I2C bus 2, the new RTC was moved to I2C bus 1. As the mainboard is not finished yet, there are no incompatibility issues with this change. Every new mainboard will have the new RTC and the older mainboards are not delivered yet. Change-Id: I3dd00855b8c9b22bdea21d3c8563cdb392868751 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67101 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Diffstat (limited to 'src/mainboard/siemens/mc_ehl')
-rw-r--r--src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig2
-rw-r--r--src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb15
2 files changed, 7 insertions, 10 deletions
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig
index 6849245153..00875fbb25 100644
--- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig
+++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig
@@ -2,7 +2,7 @@ if BOARD_SIEMENS_MC_EHL2
config BOARD_SPECIFIC_OPTIONS
def_bool y
- select DRIVERS_I2C_RX6110SA
+ select DRIVERS_I2C_RV3028C7
select DRIVER_INTEL_I210
select SOC_INTEL_COMMON_BLOCK_LPC_COMB_ENABLE
select EHL_TSN_DRIVER
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
index a1c8ae3e04..78101d73e6 100644
--- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
+++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
@@ -123,23 +123,20 @@ chip soc/intel/elkhartlake
device pci 14.0 on end # USB3.1 xHCI
device pci 15.0 on end # I2C0
- device pci 15.1 on end # I2C1
- device pci 15.2 on # I2C2
+ device pci 15.1 on # I2C1
# 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"
+ chip drivers/i2c/rv3028c7
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
+ register "bckup_sw_mode" = "BACKUP_SW_LEVEL"
+ register "cap_charge" = "CHARGE_OFF"
+ device i2c 0x52 on end # RTC RV3028-C7
end
end
+ device pci 15.2 on end # I2C2
device pci 15.3 on end # I2C3
device pci 16.0 hidden end # Management Engine Interface 1