imx8mq Device Tree Possible Tweaking for Enumerating I2C Interface?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mq Device Tree Possible Tweaking for Enumerating I2C Interface?

485 Views
joseph_chen
Contributor I

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

0 Kudos
1 Reply

467 Views
gusarambula
NXP TechSupport
NXP TechSupport

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,

0 Kudos