ARM: dts: Enable on-board keys as wakeup source for exynos4210-origen
authorTushar Behera <tushar.behera@linaro.org>
Fri, 21 Sep 2012 02:13:25 +0000 (11:13 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 21 Sep 2012 02:13:33 +0000 (11:13 +0900)
On board keys on Origen board can serve as wakeup sources,
hence they are marked accordingly in the device tree file.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4210-origen.dts

index d1a1101fd96eb780b6ab02c54c0e8065e742e0fb..c525e98f4953de2c38032f6c56e4c55793ceff80 100644 (file)
                        label = "Up";
                        gpios = <&gpx2 0 0 0 2>;
                        linux,code = <103>;
+                       gpio-key,wakeup;
                };
 
                down {
                        label = "Down";
                        gpios = <&gpx2 1 0 0 2>;
                        linux,code = <108>;
+                       gpio-key,wakeup;
                };
 
                back {
                        label = "Back";
                        gpios = <&gpx1 7 0 0 2>;
                        linux,code = <158>;
+                       gpio-key,wakeup;
                };
 
                home {
                        label = "Home";
                        gpios = <&gpx1 6 0 0 2>;
                        linux,code = <102>;
+                       gpio-key,wakeup;
                };
 
                menu {
                        label = "Menu";
                        gpios = <&gpx1 5 0 0 2>;
                        linux,code = <139>;
+                       gpio-key,wakeup;
                };
        };
 };