ARM: dts: at91: sama5d2_ptc_ek: add PB_USER as wakeup source
authorLudovic Desroches <ludovic.desroches@microchip.com>
Wed, 1 Apr 2020 22:15:02 +0000 (00:15 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 13 Apr 2020 11:00:08 +0000 (13:00 +0200)
Add the push button PB_USER as wakeup source

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/20200401221504.41196-3-ludovic.desroches@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts

index b803fa1..32435ce 100644 (file)
                        label = "PB_USER";
                        gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>;
                        linux,code = <0x104>;
+                       wakeup-source;
                };
        };