diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-03-23 20:35:01 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-04-14 04:31:15 +0200 |
commit | c9b60e922c7551ff1c477a121ad09f3790c1a575 (patch) | |
tree | 3180d23db96a631c9f8b4fbf9032a61cb6b26179 /arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | |
parent | ARM: shmobile: koelsch: Set ethernet PHY LED mode (diff) | |
download | linux-c9b60e922c7551ff1c477a121ad09f3790c1a575.tar.xz linux-c9b60e922c7551ff1c477a121ad09f3790c1a575.zip |
ARM: shmobile: armadillo-reference dts: Use KEY_* macros for gpio-keys
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts index 95a849bf921f..97342a4820cf 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "r8a7740.dtsi" #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/pwm/pwm.h> @@ -77,26 +78,26 @@ power-key { gpios = <&pfc 99 GPIO_ACTIVE_LOW>; - linux,code = <116>; + linux,code = <KEY_POWER>; label = "SW3"; gpio-key,wakeup; }; back-key { gpios = <&pfc 100 GPIO_ACTIVE_LOW>; - linux,code = <158>; + linux,code = <KEY_BACK>; label = "SW4"; }; menu-key { gpios = <&pfc 97 GPIO_ACTIVE_LOW>; - linux,code = <139>; + linux,code = <KEY_MENU>; label = "SW5"; }; home-key { gpios = <&pfc 98 GPIO_ACTIVE_LOW>; - linux,code = <102>; + linux,code = <KEY_HOME>; label = "SW6"; }; }; |