How to activate i2c pins 3 and 5 on the board?

Here’s the .dts for that particular overlay:

You should be able to compile it with sudo dtc -@ -I dts -O dtb -o meson-g12a-i2c-ee-m3-gpioa-14-gpioa-15.dtbo meson-g12a-i2c-ee-m3-gpioa-14-gpioa-15.dts

Then you move the resulting meson-g12a-i2c-ee-m3-gpioa-14-gpioa-15.dtbo to wherever other overlays are stored, usually somewhere in /boot. Then you can add the appropriate line in uEnv.txt or whatever boot script your system uses.

1 Like