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.

Linux/AM5728: I2C5 issues

Part Number: AM5728

Tool/software: Linux

Hi, I am trying to enable i2c5 on my am5728 board. I added the following to my dts file. However I still do not see i2c-5 show up under /dev.


i2c5_pins_default: i2c5_pins_default {
pinctrl-single,pins = <
0x54 (PIN_INPUT | MUX_MODE7) /* i2c5_sda */
0x50 (PIN_INPUT | MUX_MODE7) /* i2c5_scl */
>;
};


&i2c5 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c5_pins_default>;
clock-frequency = <400000>;
};

I also see that the pinmux-pins file shows my i2c5 pins muxed for the correct operation.

 > cd /sys/kernel/debug/pinctrl/4a003400.pinmux

> cat pinmux-pins

This shows:

pin 20 (PIN20): 4807c000.i2c (GPIO UNCLAIMED) function i2c5_pins_default group i2c5_pins_default
pin 21 (PIN21): 4807c000.i2c (GPIO UNCLAIMED) function i2c5_pins_default group i2c5_pins_default

When I go to /dev to see which i2c devices are there, I can see i2c-0, i2c-2, i2c-4. I do not see i2c-5. Please let me know what issues I may be having. Thanks.