diff options
Diffstat (limited to 'target/linux/ramips/dts/E1700.dts')
-rw-r--r-- | target/linux/ramips/dts/E1700.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/E1700.dts b/target/linux/ramips/dts/E1700.dts index 36126ab..050303a 100644 --- a/target/linux/ramips/dts/E1700.dts +++ b/target/linux/ramips/dts/E1700.dts @@ -12,6 +12,8 @@ #include "mt7620a.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "linksys,e1700", "ralink,mt7620a-soc"; model = "Linksys E1700"; @@ -25,13 +27,13 @@ reset { label = "reset"; gpios = <&gpio0 1 0>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; wps { label = "wps"; gpios = <&gpio0 2 0>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; }; |