aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/M2M.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/M2M.dts')
-rw-r--r--target/linux/ramips/dts/M2M.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/M2M.dts b/target/linux/ramips/dts/M2M.dts
index 22ec534a2a..99e7b6a44b 100644
--- a/target/linux/ramips/dts/M2M.dts
+++ b/target/linux/ramips/dts/M2M.dts
@@ -2,6 +2,8 @@
#include "rt5350.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "M2M", "ralink,rt5350-soc";
model = "Intenso Memory 2 Move";
@@ -33,13 +35,13 @@
power {
label = "power";
gpios = <&gpio0 1 1>;
- linux,code = <0x116>;
+ linux,code = <KEY_POWER>;
};
reset {
label = "reset";
gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};