In 2023 the good approach is R5C
From the doc here :
https://wiki.friendlyelec.com/wiki/inde ... _package_2
The GPIOs are presently used for three UART. Who will use this ? You can disable UART and reuse the GPIO for your needs.
Note I have not tested this so I cannot guide you.