aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WL-341V3.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WL-341V3.dts')
-rw-r--r--target/linux/ramips/dts/WL-341V3.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/WL-341V3.dts b/target/linux/ramips/dts/WL-341V3.dts
index 5f9e1dd924..e8b6d689de 100644
--- a/target/linux/ramips/dts/WL-341V3.dts
+++ b/target/linux/ramips/dts/WL-341V3.dts
@@ -2,6 +2,8 @@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "WL-341V3", "ralink,rt3052-soc";
model = "Sitecom WL-341 v3";
@@ -86,13 +88,13 @@
reset {
label = "reset";
gpios = <&gpio0 7 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 5 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
};