summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/W150M.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/W150M.dts')
-rw-r--r--target/linux/ramips/dts/W150M.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/W150M.dts b/target/linux/ramips/dts/W150M.dts
index 679db60..9ac84a0 100644
--- a/target/linux/ramips/dts/W150M.dts
+++ b/target/linux/ramips/dts/W150M.dts
@@ -2,6 +2,8 @@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "W150M", "ralink,rt3050-soc";
model = "Tenda W150M";
@@ -81,13 +83,13 @@
reset {
label = "reset";
gpios = <&gpio0 0 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
mode {
label = "mode";
gpios = <&gpio0 10 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
};
};