summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/DCS-930L-B1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/DCS-930L-B1.dts')
-rw-r--r--target/linux/ramips/dts/DCS-930L-B1.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/DCS-930L-B1.dts b/target/linux/ramips/dts/DCS-930L-B1.dts
index 133245c..17996d2 100644
--- a/target/linux/ramips/dts/DCS-930L-B1.dts
+++ b/target/linux/ramips/dts/DCS-930L-B1.dts
@@ -2,6 +2,8 @@
#include "rt5350.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "DCS-930L-B1", "ralink,rt5350-soc";
model = "D-Link DCS-930L B1";
@@ -29,13 +31,13 @@
reset {
label = "reset";
gpios = <&gpio0 0 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 20 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
};