aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/F5D8235_V1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/F5D8235_V1.dts')
-rw-r--r--target/linux/ramips/dts/F5D8235_V1.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts
index dacdea6ca4..74e423c265 100644
--- a/target/linux/ramips/dts/F5D8235_V1.dts
+++ b/target/linux/ramips/dts/F5D8235_V1.dts
@@ -2,6 +2,8 @@
#include "rt2880.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
#address-cells = <1>;
#size-cells = <1>;
@@ -55,13 +57,13 @@
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
gpios = <&gpio0 9 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};