cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP13 - using I2C2 in TF-A - "I2C clock rate is 0"

FletcherD
Visitor

We have a board with PMIC attached to I2C2. I've followed the directions in https://wiki.st.com/stm32mpu/wiki/PMIC_hardware_components#TF-A to add the i2c2 node to the device tree. I have the I2C2 clock set to use HSI. No matter how I configure the clocks I can't get I2C2 to be initialized properly. Here is the message I get in TF-A:

ERROR: I2C clock rate is 0
ERROR: Cannot initialize I2C 40013000 (-22)

0 REPLIES 0