I'm a newbie to Linux andI would like to know how the i2c bus number is assigned in Linux? In one of our legacy development board we have i2c slave device connected. When I probe the device using i2cdetect, it shows /dev/i2c1 and /dev/i2c3.
What happened to i2c0 and i2c1 in /dev? How are these numbers assigned? Can someone throw some insight on this?
Note: what I observe is everytime I boot up , I get to see only 1 and 3 and not 0 and 1. That doesn't change for all the boot up's. If I would like to do a symlink of these i2c1 and i2c3 to i20 and i2c1, is it possible?