diff options
author | Jan Samek <jan.samek@siemens.com> | 2023-04-12 15:04:55 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-24 11:26:27 +0000 |
commit | 124c57a5c542ac883706a201c62927de3d3b2ed5 (patch) | |
tree | 92a894a0a97c71fd78cea30611b12db9f0b7154c | |
parent | 04705bfc26f06881d608bea46b01397018bf904b (diff) |
mb/siemens/mc_ehl1: Enable pi608gp I2C driver
Add devicetree and Kconfig entries to enable additional configuration
of the Pericom PI7C9X2G608GP PCIe switch on this board variant.
The amplitude is being adjusted to 425 mV and de-emphasis level to
6.0 mV.
BUG=none
TEST=Read out the PCIe config space values of the switch and check if
they match with the ones configured over SMBus.
Change-Id: I11459f0794278ad614aa6e16c56df1ad578fe2f8
Signed-off-by: Jan Samek <jan.samek@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74434
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
-rw-r--r-- | src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/siemens/mc_ehl/variants/mc_ehl1/devicetree.cb | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig index 5d382bdf97..a35ec131e4 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig @@ -3,6 +3,7 @@ if BOARD_SIEMENS_MC_EHL1 config BOARD_SPECIFIC_OPTIONS def_bool y select DRIVERS_I2C_RX6110SA + select DRIVERS_I2C_PI608GP select DRIVER_INTEL_I210 select INTEL_LPSS_UART_FOR_CONSOLE select NC_FPGA_POST_CODE 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 107ff72a96..6994e8ca15 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/devicetree.cb +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/devicetree.cb @@ -188,6 +188,15 @@ chip soc/intel/elkhartlake register "user_weekday" = "4" device i2c 0x32 on end # RTC RX6110 SA end + # PI7C9X2G608GP PCIe switch configuration + chip drivers/i2c/pi608gp + register "gen2_3p5_enable" = "true" + register "gen2_3p5_amp" = "AMP_LVL_MV(425)" + register "gen2_3p5_deemph" = "DEEMPH_LVL_MV(6, 0)" + device i2c 0x6f on + ops pi608gp_ops + end + end end device pci 1f.5 on end # PCH SPI (flash & TPM) end |