From 609eb4c5f1a33f740bfb895ad7c7fe35de0e99ba Mon Sep 17 00:00:00 2001 From: Sowmya Aralguppe Date: Tue, 5 Aug 2025 14:39:32 +0530 Subject: [PATCH] mb/google/ocelot/var/ocelot: Remove unused I2C controllers Set I2C2, I2C3, and I2C4 controllers to disabled in serial_io_i2c_mode Remove configuration for I2C2, I2C3, and I2C4 from common_soc_config Schematic version: schematic_1433518 Platform Mapping Document : Rev0p86 BUG=b: None TEST= Build Ocelot and verify it compiles without any error. Change-Id: Ibe26bde3ffbd4b188584369cdd686ffb116d6a7d Signed-off-by: Sowmya Aralguppe Reviewed-on: https://review.coreboot.org/c/coreboot/+/88650 Reviewed-by: Pranava Y N Tested-by: build bot (Jenkins) Reviewed-by: Avi Uday --- .../google/ocelot/variants/ocelot/overridetree.cb | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb b/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb index d20e0297ea..2e0114badc 100644 --- a/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb +++ b/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb @@ -92,9 +92,9 @@ chip soc/intel/pantherlake register "serial_io_i2c_mode" = "{ [PchSerialIoIndexI2C0] = PchSerialIoPci, [PchSerialIoIndexI2C1] = PchSerialIoPci, - [PchSerialIoIndexI2C2] = PchSerialIoPci, - [PchSerialIoIndexI2C3] = PchSerialIoPci, - [PchSerialIoIndexI2C4] = PchSerialIoPci, + [PchSerialIoIndexI2C2] = PchSerialIoDisabled, + [PchSerialIoIndexI2C3] = PchSerialIoDisabled, + [PchSerialIoIndexI2C4] = PchSerialIoDisabled, [PchSerialIoIndexI2C5] = PchSerialIoPci, }" @@ -118,15 +118,6 @@ chip soc/intel/pantherlake .speed = I2C_SPEED_FAST, .early_init = 1, }, - .i2c[2] = { - .speed = I2C_SPEED_FAST, - }, - .i2c[3] = { - .speed = I2C_SPEED_FAST, - }, - .i2c[4] = { - .speed = I2C_SPEED_FAST, - }, .i2c[5] = { .speed = I2C_SPEED_FAST, },