seems you can use any gpio to do this.

Here you can find the gpios of 6416 and AR150

You can connect direct to the GPIO and GND, better with a resistor to protect the SoC.

Then you need to export the GPIO and control it in shell. GPIO [Old OpenWrt Wiki]