diff options
Diffstat (limited to 'target/linux/ramips/dts/NA930.dts')
-rw-r--r-- | target/linux/ramips/dts/NA930.dts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/NA930.dts b/target/linux/ramips/dts/NA930.dts index 4093932a50..522bc75855 100644 --- a/target/linux/ramips/dts/NA930.dts +++ b/target/linux/ramips/dts/NA930.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc"; model = "Sercomm NA930"; @@ -48,19 +50,19 @@ reset { label = "reset"; gpios = <&gpio0 11 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; zwave { label = "zwave"; gpios = <&gpio0 12 1>; - linux,code = <0x100>; + linux,code = <BTN_0>; }; wps { label = "wps"; gpios = <&gpio0 14 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; }; |