diff options
Diffstat (limited to 'target/linux/ramips/dts/V22RW-2X2.dts')
-rw-r--r-- | target/linux/ramips/dts/V22RW-2X2.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/V22RW-2X2.dts b/target/linux/ramips/dts/V22RW-2X2.dts index 602e170e60..29d14c2e5f 100644 --- a/target/linux/ramips/dts/V22RW-2X2.dts +++ b/target/linux/ramips/dts/V22RW-2X2.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "V22RW-2X2", "ralink,rt3052-soc"; model = "Ralink AP-RT3052-V22RW-2X2"; @@ -61,13 +63,13 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; }; }; |