diff mbox series

[3/5] ARM: dts: imx6qdl: tqma6: Mark gpio-buttons as wakeup-source

Message ID 20220208123248.821826-3-alexander.stein@ew.tq-group.com (mailing list archive)
State New, archived
Headers show
Series [1/5] ARM: dts: imx6qdl-mba6: Move rtc alias to common location | expand

Commit Message

Alexander Stein Feb. 8, 2022, 12:32 p.m. UTC
They are connected directly to CPU, so they can be used as wakeup source.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm/boot/dts/imx6qdl-mba6.dtsi | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6qdl-mba6.dtsi b/arch/arm/boot/dts/imx6qdl-mba6.dtsi
index 8f6e1dd82ee4..1b6943802642 100644
--- a/arch/arm/boot/dts/imx6qdl-mba6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-mba6.dtsi
@@ -40,18 +40,21 @@  button1 {
 			label = "s6";
 			linux,code = <KEY_F6>;
 			gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
+			wakeup-source;
 		};
 
 		button2 {
 			label = "s7";
 			linux,code = <KEY_F7>;
 			gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
+			wakeup-source;
 		};
 
 		button3 {
 			label = "s8";
 			linux,code = <KEY_F8>;
 			gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
+			wakeup-source;
 		};
 	};