This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728 i2c read error

Other Parts Discussed in Thread: AM5728

Hi,

Am trying to configure I2C2 on a custom board on AM5728. The device tree entries is as follows.

 ********************************************************************

i2c2_pins_default: i2c2_pins_default {
pinctrl-single,pins = <
0x408 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda  BALLNUMBER:C25*/ 
0x40C (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl  BALLNUMBER:F17*/
>;
};

&i2c2 {
status = "okay";
clock-frequency = <400000>;
};

********************************************************************

After this, i see that i2c1 is shown in /dev whereas when i try to detect the i2c bus for any slave devices by i2cdetect -r 1, i see the error as below:

[ 37.867042] omap_i2c 48072000.i2c: controller timed out
-- [ 38.907038] omap_i2c 48072000.i2c: controller timed out
-- [ 39.947037] omap_i2c 48072000.i2c: controller timed out
-- [ 40.987036] omap_i2c 48072000.i2c: controller timed out

We have followed the similar configuration for i2c3 & 4 and it is working well. 

Is there anything am missing out here?

Best Regards,

Sri