aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DIR-645.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/DIR-645.dts')
-rw-r--r--target/linux/ramips/dts/DIR-645.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts
index d508297ac1..30eccaf5f5 100644
--- a/target/linux/ramips/dts/DIR-645.dts
+++ b/target/linux/ramips/dts/DIR-645.dts
@@ -2,6 +2,8 @@
#include "rt3883.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "DIR-645", "ralink,rt3883-soc";
model = "D-Link DIR-645";
@@ -22,13 +24,13 @@
reset {
label = "reset";
gpios = <&gpio0 9 0>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 14 0>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};