How to add a Power Button to Le Potato board

Hi, it would be nice to get an working example… I’m trying this overlay:

/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/meson-gxl-gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/meson-gic.h>

/ {
        compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";

        fragment@0 {
			target-path = "/";
				__overlay__ {
						gpio_keys: gpio_keys@0 {
                                compatible = "gpio-keys";

                                button@1 {
                                        label = "power-sw";
                                        linux,code = <102>; /* KEY_HOME */
                                        gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
										interrupt-parent = <&gpio_intc>;
										interrupts = <MESON_GIC_GXL_GPIOX_6 3>;
                                };
                        };
                };
        };
};

And when enabling it with ldto enable overlay:

May 21 20:30:30 lepotato kernel: genirq: Setting trigger mode 3 for irq 49 failed (meson_gpio_irq_set_type+0x0/0x98)
May 21 20:30:30 lepotato kernel: gpio-keys gpio-keys: Unable to claim irq 49; error -22
May 21 20:30:30 lepotato kernel: gpio-keys: probe of gpio-keys failed with error -22