2025-01-19 08:42 PM
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)