diff options
Diffstat (limited to 'target/linux/ramips/dts/MZK-EX300NP.dts')
-rw-r--r-- | target/linux/ramips/dts/MZK-EX300NP.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/MZK-EX300NP.dts b/target/linux/ramips/dts/MZK-EX300NP.dts index 4c87f90..569d0a9 100644 --- a/target/linux/ramips/dts/MZK-EX300NP.dts +++ b/target/linux/ramips/dts/MZK-EX300NP.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "ralink,mt7620a-soc"; model = "Planex MZK-EX300NP"; @@ -49,13 +51,13 @@ reset { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; wps { label = "wps"; gpios = <&gpio1 3 0>; - linux,code = <0xf7>; + linux,code = <KEY_RFKILL>; }; }; }; |