[PATCH 3/5] ARM: dts: am43xx-epos-evm: Add matrix keypad as wakeup source
From: Andrew F. Davis
Date: Fri Mar 29 2019 - 13:53:46 EST
Mark matrix-keypad as a wakeup source.
Signed-off-by: Andrew F. Davis <afd@xxxxxx>
---
arch/arm/boot/dts/am43x-epos-evm.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index 606b848d809f..9b8b132b04e1 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -80,6 +80,7 @@
pinctrl-names = "default", "sleep";
pinctrl-0 = <&matrix_keypad_default>;
pinctrl-1 = <&matrix_keypad_sleep>;
+ wakeup-source;
row-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH /* Bank0, pin12 */
&gpio0 13 GPIO_ACTIVE_HIGH /* Bank0, pin13 */
--
2.21.0