How to change I2C2_1 into GPIO mode

Hi team,
as I know pins AG1 & Y6 are configured as I2C signals by default. So how should I do to check these into GPIO mode? I want to use these pins to control our external board connecting through the DSI port.

Thank in advance!

For your system image, to check whether these two GPIO pins are used, you can use GPIO sysfs interface.
If you succeed to export these two GPIOs, you can use them as GPIO pins.

1 Like

Thank you so much. It works like a charm

Good day!