]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: at91: sama5d2_xplained: set PB_USER as wakeup source
authorLudovic Desroches <ludovic.desroches@microchip.com>
Tue, 10 Oct 2017 10:09:44 +0000 (13:09 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 10 Oct 2017 13:26:19 +0000 (15:26 +0200)
Set the PB_USER button as a wakeup source to resume from ulp0 mode.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
[claudiu.beznea@microchip.com: change subject to match the desired prefix]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91-sama5d2_xplained.dts

index 8e3365dd1ab48a77bd743a7fa1ed946aa167154c..69ca8573231c8990b069b03af7a2a7fb23d00b5e 100644 (file)
@@ -531,6 +531,7 @@ bp1 {
                        label = "PB_USER";
                        gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>;
                        linux,code = <0x104>;
+                       wakeup-source;
                };
        };