aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/GL-MT300A.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/GL-MT300A.dts')
-rw-r--r--target/linux/ramips/dts/GL-MT300A.dts8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/GL-MT300A.dts b/target/linux/ramips/dts/GL-MT300A.dts
index 5edb7ca487..6922b958db 100644
--- a/target/linux/ramips/dts/GL-MT300A.dts
+++ b/target/linux/ramips/dts/GL-MT300A.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "GL-MT300A", "ralink,mt7620a-soc";
model = "GL-MT300A";
@@ -43,19 +45,19 @@
reset {
label = "reset";
gpios = <&gpio0 13 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
BTN_0 {
label = "BTN_0";
gpios = <&gpio0 1 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
BTN_1 {
label = "BTN_1";
gpios = <&gpio0 2 1>;
- linux,code = <0x101>;
+ linux,code = <BTN_1>;
};
};
};