diff options
Diffstat (limited to 'target/linux/ramips/dts/WNDR3700V5.dts')
-rw-r--r-- | target/linux/ramips/dts/WNDR3700V5.dts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/WNDR3700V5.dts b/target/linux/ramips/dts/WNDR3700V5.dts index 9d3d0d5396..f67c32030e 100644 --- a/target/linux/ramips/dts/WNDR3700V5.dts +++ b/target/linux/ramips/dts/WNDR3700V5.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "mediatek,mt7621-eval-board","ralink,mt7621-soc"; model = "Netgear WNDR3700v5"; @@ -38,19 +40,19 @@ wps { label = "wndr3700v5:wps"; gpios = <&gpio0 7 0>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; wifi { label = "wndr3700v5:wifi"; gpios = <&gpio0 8 0>; - linux,code = <0xf7>; + linux,code = <KEY_RFKILL>; }; reset { label = "wndr3700v5:reset"; gpios = <&gpio0 14 0>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; }; |