mirror of https://gitee.com/openkylin/linux.git
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: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
f38bb4e9ec
commit
39b1c4944f
|
@ -10,6 +10,7 @@
|
|||
/dts-v1/;
|
||||
|
||||
#include "omap36xx.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "OMAP3 GTA04";
|
||||
|
@ -43,7 +44,7 @@ gpio-keys {
|
|||
|
||||
aux-button {
|
||||
label = "aux";
|
||||
linux,code = <169>;
|
||||
linux,code = <KEY_PHONE>;
|
||||
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
||||
wakeup-source;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue