Hello @EulerCsLin
I hope you are doing well.
It should be possible, I tested it with cortex M33 using the EXP_GPIO_IO05 in BB.
About of the usage on Cortex A, you can refer to device tree of i.MX8MM to get an example.
Just you need to modify the pinctrl of your device tree to get the EXP_GPIO_IO05 to work at tmp.
Best regards,
--... ...--
Salas.