summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2014-09-15 14:42:38 +0200
committerStefan Agner <stefan@agner.ch>2015-04-13 17:52:57 +0200
commit5aa3a31ebfe11d83263c78005284327be58b12f2 (patch)
treea965c57926592499298d2fd8b857378c7a7b669d /arch/arm
parent9fd0ddd1b744ebc3be37bca56f559d23ab1f5576 (diff)
ARM: dts: vf610-colibri: GPIO wakeup key
Enable GPIO wakeup key on Vybrid PAD 41 which is routed to the Colibri default wakeup pin SO-DIMM 45.
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/vf-colibri-eval-v3.dtsi22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
index 606753eb72c8..b960f642fad6 100644
--- a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
@@ -7,6 +7,8 @@
* (at your option) any later version.
*/
+#include <dt-bindings/input/input.h>
+
/ {
chosen {
bootargs = "console=ttyLP0,115200";
@@ -45,6 +47,20 @@
vin-supply = <&sys_5v0_reg>;
};
};
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_gpiokeys>;
+
+ power {
+ label = "Wake-Up";
+ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+ linux,code = <KEY_WAKEUP>;
+ debounce-interval = <10>;
+ gpio-key,wakeup;
+ };
+ };
};
&bl {
@@ -123,5 +139,11 @@
VF610_PAD_PTB21__GPIO_43 0x22ed
>;
};
+
+ pinctrl_gpiokeys: gpiokeys {
+ fsl,pins = <
+ VF610_PAD_PTB19__GPIO_41 0x219d
+ >;
+ };
};
};