[odroid n2+] Power Off and Wake Up using GPIO Key Button

Hello,

I installed a switch with LED in the odroid n2+ and was able to use it under Ubuntu. See odroid-n2:application_note:gpio:gpio_key_wakeup [ODROID Wiki]
Is it possible to use this function under Home Assistant OS too? A configuration of the gpiopower flag in the boot.scr did nothing. A look in the dtb file from home assistant os shows that the parameters for led and gpio pins are different.

THX