ARM: dts: Add wake up key to arndale-octa board
authorSachin Kamat <sachin.kamat@linaro.org>
Sun, 23 Feb 2014 23:54:51 +0000 (08:54 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 23 Feb 2014 23:54:56 +0000 (08:54 +0900)
Added GPIO based wake up key to Arndale octa board.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5420-arndale-octa.dts

index 492b2ce3495b0ed49ccc6d1b8a73c82d4498634b..99657452ecd8c72e7664fb31fe60275e4de7cc78 100644 (file)
@@ -12,6 +12,7 @@
 /dts-v1/;
 #include "exynos5420.dtsi"
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Insignal Arndale Octa evaluation board based on EXYNOS5420";
                };
        };
 
+       gpio_keys {
+               compatible = "gpio-keys";
+
+               wakeup {
+                       label = "SW-TACT1";
+                       gpios = <&gpx2 7 1>;
+                       linux,code = <KEY_WAKEUP>;
+                       gpio-key,wakeup;
+               };
+       };
 };