diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-05-27 19:56:16 +0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-05-30 21:06:51 +0400 |
commit | 2d7a5bd9d6cf49a12bd50256c20d07e3284a31e8 (patch) | |
tree | 97020787cfeea243d72d61b964f75cd96df4abb0 /arch/arm/boot/dts/exynos4412-origen.dts | |
parent | db0706790b0ab75d1448cabc8ee302533ff3e9c8 (diff) | |
download | linux-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/exynos4412-origen.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-origen.dts | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts index bd3985b767c4..e925c9fbfb07 100644 --- a/arch/arm/boot/dts/exynos4412-origen.dts +++ b/arch/arm/boot/dts/exynos4412-origen.dts @@ -14,6 +14,7 @@ /dts-v1/; #include "exynos4412.dtsi" +#include <dt-bindings/input/input.h> / { model = "Insignal Origen evaluation board based on Exynos4412"; @@ -84,37 +85,37 @@ key_home { keypad,row = <0>; keypad,column = <0>; - linux,code = <102>; + linux,code = <KEY_HOME>; }; key_down { keypad,row = <0>; keypad,column = <1>; - linux,code = <108>; + linux,code = <KEY_DOWN>; }; key_up { keypad,row = <1>; keypad,column = <0>; - linux,code = <103>; + linux,code = <KEY_UP>; }; key_menu { keypad,row = <1>; keypad,column = <1>; - linux,code = <139>; + linux,code = <KEY_MENU>; }; key_back { keypad,row = <2>; keypad,column = <0>; - linux,code = <158>; + linux,code = <KEY_BACK>; }; key_enter { keypad,row = <2>; keypad,column = <1>; - linux,code = <28>; + linux,code = <KEY_ENTER>; }; }; |