Hi Jomon,
Have you checked this thread https://renesasrulz.com/rz/f/rz---forum/6963/rz-a1-rsk-linux-gpio-mapping? I think Chris answered in that thread how to control the GPIO pins.
JBRenesasRulz Forum Moderator
https://renesasrulz.com/https://academy.renesas.com/https://en-us.knowledgebase.renesas.com/