summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-02 13:08:49 +0300
committerThierry Reding <treding@nvidia.com>2018-09-26 17:55:14 +0300
commitccf7f6d42790c3e7fc0bb8747f38514f708f267f (patch)
tree1daca80ed0709b5b5fb7b9d2ff018783323e3073
parent9ad510b33e1779a0263fcb49bc199727208477cf (diff)
downloadlinux-ccf7f6d42790c3e7fc0bb8747f38514f708f267f.tar.xz
ARM: tegra: colibri_t20: iris: add gpio wakeup key
Add SODIMM pin 45 as GPIO wakeup key. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--arch/arm/boot/dts/tegra20-colibri-iris.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts
index cb7b11567437..5b25e4b38a69 100644
--- a/arch/arm/boot/dts/tegra20-colibri-iris.dts
+++ b/arch/arm/boot/dts/tegra20-colibri-iris.dts
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
+#include <dt-bindings/input/input.h>
#include "tegra20-colibri.dtsi"
/ {
@@ -177,6 +178,18 @@
pwms = <&pwm 0 5000000>; /* PWM<A> */
};
+ gpio-keys {
+ compatible = "gpio-keys";
+
+ wakeup {
+ label = "SODIMM pin 45 wakeup";
+ gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
+ linux,code = <KEY_WAKEUP>;
+ debounce-interval = <10>;
+ wakeup-source;
+ };
+ };
+
panel: panel {
/*
* edt,et057090dhu: EDT 5.7" LCD TFT