summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/ATP-52B.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/ATP-52B.dts')
-rw-r--r--target/linux/ramips/dts/ATP-52B.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/ATP-52B.dts b/target/linux/ramips/dts/ATP-52B.dts
index c15d3a4..7e87298 100644
--- a/target/linux/ramips/dts/ATP-52B.dts
+++ b/target/linux/ramips/dts/ATP-52B.dts
@@ -2,6 +2,8 @@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ATP-52B", "ralink,rt3052-soc";
model = "Argus ATP-52B";
@@ -59,13 +61,13 @@
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};