Browse Source

ARM: dts: imx6qdl-sabresd: Allow buttons to wake-up the system

This is useful for testing suspend/resume sequence.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Fabio Estevam 12 years ago
parent
commit
6c30640dc2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/arm/boot/dts/imx6qdl-sabresd.dtsi

+ 2 - 0
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

@@ -41,12 +41,14 @@
 		volume-up {
 			label = "Volume Up";
 			gpios = <&gpio1 4 0>;
+			gpio-key,wakeup;
 			linux,code = <115>; /* KEY_VOLUMEUP */
 		};
 
 		volume-down {
 			label = "Volume Down";
 			gpios = <&gpio1 5 0>;
+			gpio-key,wakeup;
 			linux,code = <114>; /* KEY_VOLUMEDOWN */
 		};
 	};