Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: markus2330 on December 30, 2021, 03:50:47 PM

Title: I2C PINs
Post by: markus2330 on December 30, 2021, 03:50:47 PM
Dear Olimex Community,

I am a very happy owner of several A20-OLinuXino-LIME2 with Linux a20-olinuxino 5.10.47-olimex. They booted like a charm and everything seems to work. I am, however, struggling with finding PINs on the hardware, in specific I would like to connect the I2C-Pins as used by the kernel driver /dev/i2c-* with a MOD-IO(2). (I know that there is a A20-OLinuXino-LIME2-UEXT.)

Where I looked so far without success:



What am I missing?

best regards,
Markus
Title: Re: I2C PINs
Post by: markus2330 on January 07, 2022, 06:13:26 PM
I got my LIME2-SHIELD and A20-OLinuXino-LIME2-UEXT, so the question is simpler now: which of the /dev/i2c-*  are connected with i2c of UEXT1 and UEXT2 of the LIME2-SHIELD respective A20-OLinuXino-LIME2-UEXT? Where is such information usually documented?

In olinuxino-overlay I2C0 and I2C1 seem to be disabled, only I2C2 is already enabled.

best regards,
Markus
Title: Re: I2C PINs
Post by: JohnS on January 07, 2022, 08:48:18 PM
Try
https://linux-arm-kernel.infradead.narkive.com/6CuVMRTe/patch-0-4-arm-sun7i-enable-the-i2c-support-for-the-a20

& the A20 datasheet has the addresses, ports, pins, etc.

John