The GPIO can be configured as a wake-up device.
Important: The GIC must be set up correctly.
- Enable the GPIO interrupt in the GIC.
- Enable the GPIO interrupt for the wanted pin(s) using the gpio.INT_EN_{0..3} register. Set 1 to gpio.INT_EN_0[10] to enable the GPIO10 interrupt.
- Do not turn off any GPIO related clocks.