summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTushar Behera <[tushar.behera@linaro.org]>2013-04-04 14:24:47 +0900
committerKukjin Kim <kgene.kim@samsung.com>2013-04-09 01:17:13 +0900
commit89fec22d7b39167567065ec6a1c190fec2a0751b (patch)
tree5e6ef7c2cb42f64043f0063e7e93804f29f3da92 /arch
parent6a446172aeb8eaf18d4e42eb238be3b2e4ea443e (diff)
downloadlinux-89fec22d7b39167567065ec6a1c190fec2a0751b.tar.bz2
ARM: dts: Add gpio-button entries for Arndale board
Added GPIO buttons DT node to Arndale board file. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/exynos5250-arndale.dts46
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index d07a21f5dd89..6417bbc3c075 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -116,6 +116,52 @@
status = "disabled";
};
+ gpio_keys {
+ compatible = "gpio-keys";
+
+ menu {
+ label = "SW-TACT2";
+ gpios = <&gpx1 4 1>;
+ linux,code = <139>;
+ gpio-key,wakeup;
+ };
+
+ home {
+ label = "SW-TACT3";
+ gpios = <&gpx1 5 1>;
+ linux,code = <102>;
+ gpio-key,wakeup;
+ };
+
+ up {
+ label = "SW-TACT4";
+ gpios = <&gpx1 6 1>;
+ linux,code = <103>;
+ gpio-key,wakeup;
+ };
+
+ down {
+ label = "SW-TACT5";
+ gpios = <&gpx1 7 1>;
+ linux,code = <108>;
+ gpio-key,wakeup;
+ };
+
+ back {
+ label = "SW-TACT6";
+ gpios = <&gpx2 0 1>;
+ linux,code = <158>;
+ gpio-key,wakeup;
+ };
+
+ wakeup {
+ label = "SW-TACT7";
+ gpios = <&gpx2 1 1>;
+ linux,code = <143>;
+ gpio-key,wakeup;
+ };
+ };
+
fixed-rate-clocks {
xxti {
compatible = "samsung,clock-xxti";