diff options
Diffstat (limited to 'target/linux/ramips/dts/AR670W.dts')
-rw-r--r-- | target/linux/ramips/dts/AR670W.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/AR670W.dts b/target/linux/ramips/dts/AR670W.dts index c1eac43881..3d26c3b6ff 100644 --- a/target/linux/ramips/dts/AR670W.dts +++ b/target/linux/ramips/dts/AR670W.dts @@ -2,6 +2,8 @@ #include "rt2880.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "AR670W", "ralink,rt2880-soc"; model = "Airlink101 AR670W"; @@ -54,13 +56,13 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; reset { label = "reset"; gpios = <&gpio0 9 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; }; }; |