@Alex-Butler you might get some useful info from this page,
https://wiki.openwrt.org/doc/hardware/port.gpio#gpio_interrupts