Commit ccf7f6d4 authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Thierry Reding

ARM: tegra: colibri_t20: iris: add gpio wakeup key

Add SODIMM pin 45 as GPIO wakeup key.
Signed-off-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 9ad510b3
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/dts-v1/; /dts-v1/;
#include <dt-bindings/input/input.h>
#include "tegra20-colibri.dtsi" #include "tegra20-colibri.dtsi"
/ { / {
...@@ -177,6 +178,18 @@ backlight: backlight { ...@@ -177,6 +178,18 @@ backlight: backlight {
pwms = <&pwm 0 5000000>; /* PWM<A> */ 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 { panel: panel {
/* /*
* edt,et057090dhu: EDT 5.7" LCD TFT * edt,et057090dhu: EDT 5.7" LCD TFT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment