mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
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>
This commit is contained in:
parent
9ad510b33e
commit
ccf7f6d427
1 changed files with 13 additions and 0 deletions
|
@ -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 @@ backlight: backlight {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue