ghost: set 1 MHz I2C buses to 400 KHz
This sets all I2C buses to run at no more than 400 KHz.
1 MHz operation should only be enabled after validation.
BRANCH=none
TEST=image boots on brya, PD charging works
@@ -23,7 +23,8 @@ const struct i2c_port_t i2c_ports[] = {
/* I2C1 */
.name = "tcpc0,2",
.port = I2C_PORT_USB_C0_C2_TCPC,
- .kbps = 1000,
+ /* TODO(b/233013680): set to 1000 when validated */
+ .kbps = 400,
.scl = GPIO_EC_I2C_USB_C0_C2_TCPC_SCL,
.sda = GPIO_EC_I2C_USB_C0_C2_TCPC_SDA,
},
@@ -31,7 +32,8 @@ const struct i2c_port_t i2c_ports[] = {
/* I2C2 */
.name = "ppc0,2",
.port = I2C_PORT_USB_C0_C2_PPC,
- .kbps = 1000,
+ /* TODO(b/233013680): set to 1000 when validated */
+ .kbps = 400,
.scl = GPIO_EC_I2C_USB_C0_C2_PPC_BC_SCL,
.sda = GPIO_EC_I2C_USB_C0_C2_PPC_BC_SDA,
},
@@ -39,7 +41,8 @@ const struct i2c_port_t i2c_ports[] = {
/* I2C3 */
.name = "retimer0,2",
.port = I2C_PORT_USB_C0_C2_MUX,
- .kbps = 1000,
+ /* TODO(b/233013680): set to 1000 when validated */
+ .kbps = 400,
.scl = GPIO_EC_I2C_USB_C0_C2_RT_SCL,
.sda = GPIO_EC_I2C_USB_C0_C2_RT_SDA,
},
