aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/MLWG2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/MLWG2.dts')
-rw-r--r--target/linux/ramips/dts/MLWG2.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/MLWG2.dts b/target/linux/ramips/dts/MLWG2.dts
index aeedb464d5..9c71c91c1c 100644
--- a/target/linux/ramips/dts/MLWG2.dts
+++ b/target/linux/ramips/dts/MLWG2.dts
@@ -2,6 +2,8 @@
#include "mt7620n.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "mlwg2", "ralink,mt7620n-soc";
model = "Kingston MLWG2";
@@ -29,13 +31,13 @@
reset {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
system {
label = "system";
gpios = <&gpio0 2 1>;
- linux,code = <0xf7>;
+ linux,code = <KEY_RFKILL>;
};
};
};