aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/GL-MT300N.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/GL-MT300N.dts')
-rw-r--r--target/linux/ramips/dts/GL-MT300N.dts8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/GL-MT300N.dts b/target/linux/ramips/dts/GL-MT300N.dts
index 341a8f6462..c6feb96f89 100644
--- a/target/linux/ramips/dts/GL-MT300N.dts
+++ b/target/linux/ramips/dts/GL-MT300N.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "GL-MT300N", "ralink,mt7620a-soc";
model = "GL-MT300N";
@@ -38,19 +40,19 @@
reset {
label = "reset";
gpios = <&gpio0 1 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>;
};
};
};