aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/EX2700.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/EX2700.dts')
-rw-r--r--target/linux/ramips/dts/EX2700.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/EX2700.dts b/target/linux/ramips/dts/EX2700.dts
index c711adc6b4..348ca789d1 100644
--- a/target/linux/ramips/dts/EX2700.dts
+++ b/target/linux/ramips/dts/EX2700.dts
@@ -12,6 +12,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ralink,mt7620a-soc";
model = "Netgear EX2700";
@@ -69,13 +71,13 @@
reset {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 2 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
};