diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-07-19 10:40:23 -0300 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-08-22 23:29:35 +0800 |
commit | 6c30640dc215b0277ba559aabfc729932c074bff (patch) | |
tree | b23d0d491f4df59d835d90945ee6636ce13db145 | |
parent | a94f8ecb2f778f92deb1d3633426a70e1fcf56db (diff) | |
download | op-kernel-dev-6c30640dc215b0277ba559aabfc729932c074bff.zip op-kernel-dev-6c30640dc215b0277ba559aabfc729932c074bff.tar.gz |
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>
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 75b36b2..1d2dcef 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/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 */ }; }; |