ARM: tegra: apalis-eval: Fix power/wakeup key
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Fri, 28 Aug 2015 12:42:36 +0000 (14:42 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 15 Sep 2015 09:22:38 +0000 (11:22 +0200)
Rather than a power key, WAKE1_MICO is actually a standard Apalis MXM3
pin used for wake-up purposes which this patch fixes.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-apalis-eval.dts

index c832c157f76abd401549e2a7ef7ce5061aff4fad..f2879cfcca6253f0a86bcd562cbcd3d75307f6ae 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               power {
-                       label = "Power";
+               wakeup {
+                       label = "WAKE1_MICO";
                        gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>;
-                       linux,code = <KEY_POWER>;
+                       linux,code = <KEY_WAKEUP>;
                        debounce-interval = <10>;
                        gpio-key,wakeup;
                };
This page took 0.025842 seconds and 5 git commands to generate.