diff options
Diffstat (limited to 'target/linux/ramips/dts/MicroWRT.dts')
-rw-r--r-- | target/linux/ramips/dts/MicroWRT.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/MicroWRT.dts b/target/linux/ramips/dts/MicroWRT.dts index 07e01550a7..c8558c6326 100644 --- a/target/linux/ramips/dts/MicroWRT.dts +++ b/target/linux/ramips/dts/MicroWRT.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "microwrt", "ralink,mt7620a-soc"; model = "Microduino MicroWRT"; @@ -19,13 +21,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; wps { label = "wps"; gpios = <&gpio0 2 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; }; }; |