diff options
Diffstat (limited to 'target/linux/ramips/dts/AR725W.dts')
-rw-r--r-- | target/linux/ramips/dts/AR725W.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/AR725W.dts b/target/linux/ramips/dts/AR725W.dts index 3b8cfb3be7..3a2003e8a3 100644 --- a/target/linux/ramips/dts/AR725W.dts +++ b/target/linux/ramips/dts/AR725W.dts @@ -2,6 +2,8 @@ #include "rt2880.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "AR725W", "ralink,rt2880-soc"; model = "Airlink101 AR725W"; @@ -64,13 +66,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>; }; }; }; |