diff options
Diffstat (limited to 'target/linux/ramips/dts/GL-MT750.dts')
-rw-r--r-- | target/linux/ramips/dts/GL-MT750.dts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/GL-MT750.dts b/target/linux/ramips/dts/GL-MT750.dts index c59ffb3..4667984 100644 --- a/target/linux/ramips/dts/GL-MT750.dts +++ b/target/linux/ramips/dts/GL-MT750.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "GL-MT750", "ralink,mt7620a-soc"; model = "GL-MT750"; @@ -38,19 +40,19 @@ reset { label = "reset"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; BTN_0 { label = "BTN_0"; gpios = <&gpio2 2 1>; - linux,code = <0x100>; + linux,code = <BTN_0>; }; BTN_1 { label = "BTN_1"; gpios = <&gpio2 3 1>; - linux,code = <0x101>; + linux,code = <BTN_1>; }; }; }; |