summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos4210-origen.dts
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-05-28 00:56:16 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-05-31 02:06:51 +0900
commit2d7a5bd9d6cf49a12bd50256c20d07e3284a31e8 (patch)
tree97020787cfeea243d72d61b964f75cd96df4abb0 /arch/arm/boot/dts/exynos4210-origen.dts
parentdb0706790b0ab75d1448cabc8ee302533ff3e9c8 (diff)
downloadblackbird-obmc-linux-2d7a5bd9d6cf49a12bd50256c20d07e3284a31e8.tar.gz
blackbird-obmc-linux-2d7a5bd9d6cf49a12bd50256c20d07e3284a31e8.zip
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/exynos4210-origen.dts')
-rw-r--r--arch/arm/boot/dts/exynos4210-origen.dts11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts
index f018e2149168..f767c425d0b5 100644
--- a/arch/arm/boot/dts/exynos4210-origen.dts
+++ b/arch/arm/boot/dts/exynos4210-origen.dts
@@ -16,6 +16,7 @@
/dts-v1/;
#include "exynos4210.dtsi"
+#include <dt-bindings/input/input.h>
/ {
model = "Insignal Origen evaluation board based on Exynos4210";
@@ -259,35 +260,35 @@
up {
label = "Up";
gpios = <&gpx2 0 1>;
- linux,code = <103>;
+ linux,code = <KEY_UP>;
gpio-key,wakeup;
};
down {
label = "Down";
gpios = <&gpx2 1 1>;
- linux,code = <108>;
+ linux,code = <KEY_DOWN>;
gpio-key,wakeup;
};
back {
label = "Back";
gpios = <&gpx1 7 1>;
- linux,code = <158>;
+ linux,code = <KEY_BACK>;
gpio-key,wakeup;
};
home {
label = "Home";
gpios = <&gpx1 6 1>;
- linux,code = <102>;
+ linux,code = <KEY_HOME>;
gpio-key,wakeup;
};
menu {
label = "Menu";
gpios = <&gpx1 5 1>;
- linux,code = <139>;
+ linux,code = <KEY_MENU>;
gpio-key,wakeup;
};
};
OpenPOWER on IntegriCloud