VIM4 reboot by GPIO remotely

Ubuntu 22.04 server
Khadas official images

How to make reboot by GPIO remotely on VIM4 ?
Reason: an SBC located in another room.