Commit 39b1c494 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Tony Lindgren

ARM: dts: omap3-gta04: make use of input event include file and constants

we can replace magic numbers by symbolic constants now.
Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent f38bb4e9
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
/dts-v1/; /dts-v1/;
#include "omap36xx.dtsi" #include "omap36xx.dtsi"
#include <dt-bindings/input/input.h>
/ { / {
model = "OMAP3 GTA04"; model = "OMAP3 GTA04";
...@@ -43,7 +44,7 @@ gpio-keys { ...@@ -43,7 +44,7 @@ gpio-keys {
aux-button { aux-button {
label = "aux"; label = "aux";
linux,code = <169>; linux,code = <KEY_PHONE>;
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
wakeup-source; wakeup-source;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment