aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WNCE2001.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WNCE2001.dts')
-rw-r--r--target/linux/ramips/dts/WNCE2001.dts10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/WNCE2001.dts b/target/linux/ramips/dts/WNCE2001.dts
index 2dc39ce142..92d03defdc 100644
--- a/target/linux/ramips/dts/WNCE2001.dts
+++ b/target/linux/ramips/dts/WNCE2001.dts
@@ -2,6 +2,8 @@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "WNCE2001", "ralink,rt3052-soc";
model = "Netgear WNCE2001";
@@ -43,25 +45,25 @@
reset {
label = "reset";
gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
rt {
label = "rt";
gpios = <&gpio0 11 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
ap {
label = "ap";
gpios = <&gpio0 7 1>;
- linux,code = <0x101>;
+ linux,code = <BTN_1>;
};
};
};