summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos5250-arndale.dts
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-05-27 19:56:16 +0400
committerKukjin Kim <kgene.kim@samsung.com>2014-05-30 21:06:51 +0400
commit2d7a5bd9d6cf49a12bd50256c20d07e3284a31e8 (patch)
tree97020787cfeea243d72d61b964f75cd96df4abb0 /arch/arm/boot/dts/exynos5250-arndale.dts
parentdb0706790b0ab75d1448cabc8ee302533ff3e9c8 (diff)
downloadlinux-2d7a5bd9d6cf49a12bd50256c20d07e3284a31e8.tar.xz
ARM: dts: use key code macros on Origen and Arndale boards
Key code macros improve readability on exnos4210-origen, exynos4412-origen and exynos5250-arndale boards. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> [kgene.kim@samsung.com: squashed similar two patches] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5250-arndale.dts')
-rw-r--r--arch/arm/boot/dts/exynos5250-arndale.dts13
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index 090f9830b129..1f5afb39355f 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -12,6 +12,7 @@
/dts-v1/;
#include "exynos5250.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/input/input.h>
/ {
model = "Insignal Arndale evaluation board based on EXYNOS5250";
@@ -444,42 +445,42 @@
menu {
label = "SW-TACT2";
gpios = <&gpx1 4 1>;
- linux,code = <139>;
+ linux,code = <KEY_MENU>;
gpio-key,wakeup;
};
home {
label = "SW-TACT3";
gpios = <&gpx1 5 1>;
- linux,code = <102>;
+ linux,code = <KEY_HOME>;
gpio-key,wakeup;
};
up {
label = "SW-TACT4";
gpios = <&gpx1 6 1>;
- linux,code = <103>;
+ linux,code = <KEY_UP>;
gpio-key,wakeup;
};
down {
label = "SW-TACT5";
gpios = <&gpx1 7 1>;
- linux,code = <108>;
+ linux,code = <KEY_DOWN>;
gpio-key,wakeup;
};
back {
label = "SW-TACT6";
gpios = <&gpx2 0 1>;
- linux,code = <158>;
+ linux,code = <KEY_BACK>;
gpio-key,wakeup;
};
wakeup {
label = "SW-TACT7";
gpios = <&gpx2 1 1>;
- linux,code = <143>;
+ linux,code = <KEY_WAKEUP>;
gpio-key,wakeup;
};
};