mb/siemens/mc_ehl8: Configure I2C and SMB devices
On this board, different I2C controllers must be activated and a different RTC chip is used compared to mc_ehl1. TEST=Booted into OS and verified that all relevant devices are detected. Change-Id: If2990b7d8d599c6e5f5841d8018d2a3f00dbc515 Signed-off-by: Uwe Poeche <uwe.poeche@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90766 Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
d810257008
commit
483c3e51ae
2 changed files with 13 additions and 12 deletions
|
|
@ -4,7 +4,7 @@ if BOARD_SIEMENS_MC_EHL8
|
|||
|
||||
config BOARD_SPECIFIC_OPTIONS
|
||||
def_bool y
|
||||
select DRIVERS_I2C_RX6110SA
|
||||
select DRIVERS_I2C_RV3028C7
|
||||
select DRIVERS_I2C_PI608GP
|
||||
select DRIVER_INTEL_I210
|
||||
select INTEL_LPSS_UART_FOR_CONSOLE
|
||||
|
|
|
|||
|
|
@ -95,18 +95,19 @@ chip soc/intel/elkhartlake
|
|||
# LPSS Serial IO (I2C/UART/GSPI) related UPDs
|
||||
register "SerialIoI2cMode" = "{
|
||||
[PchSerialIoIndexI2C0] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexI2C1] = PchSerialIoPci,
|
||||
[PchSerialIoIndexI2C2] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexI2C1] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexI2C2] = PchSerialIoPci,
|
||||
[PchSerialIoIndexI2C3] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexI2C4] = PchSerialIoPci,
|
||||
[PchSerialIoIndexI2C5] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexI2C6] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexI2C6] = PchSerialIoPci,
|
||||
[PchSerialIoIndexI2C7] = PchSerialIoDisabled,
|
||||
}"
|
||||
|
||||
register "SerialIoI2cPadsTermination" = "{
|
||||
[PchSerialIoIndexI2C1] = 1,
|
||||
[PchSerialIoIndexI2C2] = 1,
|
||||
[PchSerialIoIndexI2C4] = 1,
|
||||
[PchSerialIoIndexI2C6] = 1,
|
||||
}"
|
||||
|
||||
register "SerialIoUartMode" = "{
|
||||
|
|
@ -141,10 +142,12 @@ chip soc/intel/elkhartlake
|
|||
device pci 00.0 on end # Host Bridge
|
||||
device pci 02.0 on end # Integrated Graphics Device
|
||||
|
||||
device pci 10.0 on end # I2C6
|
||||
|
||||
device pci 14.0 on end # USB3.1 xHCI
|
||||
|
||||
device pci 15.0 off end # I2C0
|
||||
device pci 15.1 on end # I2C1
|
||||
device pci 15.2 on end # I2C2
|
||||
|
||||
device pci 16.0 hidden end # Management Engine Interface 1
|
||||
|
||||
|
|
@ -173,18 +176,16 @@ chip soc/intel/elkhartlake
|
|||
device pci 1f.2 hidden end # Power Management Controller
|
||||
device pci 1f.4 on # SMBus
|
||||
# Enable external RTC chip
|
||||
chip drivers/i2c/rx6110sa
|
||||
chip drivers/i2c/rv3028c7
|
||||
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
|
||||
register "bckup_sw_mode" = "BACKUP_SW_LEVEL"
|
||||
register "cap_charge" = "CHARGE_OFF"
|
||||
device i2c 0x52 on end # RTC RV3028-C7
|
||||
end
|
||||
# PI7C9X2G608GP PCIe switch configuration
|
||||
chip drivers/i2c/pi608gp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue