Does DiePI support GPIO wakeup switch on Odroid N2

i was wondering if DietPi supports a GPIO wakeup switch, like described in Odroid wiki.

How to get it work?