Can someone point me to a right direction to do this?
After I removed the device tree configurations for I2C2 and I2C3, the enumerated interface becomes like thins:
I2C1 is enumerated as /dev/i2c-0
I2C4 is enumerated as /dev/i2c-1
However, I want the enumerated interfaces to match the physical IOMUX names, as
I2C1 is to be as /dev/i2c-0
I2C4 is to be as /dev/i2c-3
Thanks,
-- Joe
Hello Joe,
There is some information on the following documentation:
https://www.kernel.org/doc/Documentation/i2c/instantiating-devices
I think to achieve what you want you would need to instantiate from user-spare as to setup the desired number to each of the I2C interfaces.
I hope this helps!
Regards,