diff options
Diffstat (limited to 'target/linux/ramips/dts/3G300M.dts')
-rw-r--r-- | target/linux/ramips/dts/3G300M.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/3G300M.dts b/target/linux/ramips/dts/3G300M.dts index df770d83d5..4d19bca6da 100644 --- a/target/linux/ramips/dts/3G300M.dts +++ b/target/linux/ramips/dts/3G300M.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "3G300M", "ralink,rt3052-soc"; model = "Tenda 3G300M"; @@ -49,13 +51,13 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; mode { label = "mode"; gpios = <&gpio0 10 1>; - linux,code = <0x100>; + linux,code = <BTN_0>; }; }; }; |