aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/RT-N15.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/RT-N15.dts')
-rw-r--r--target/linux/ramips/dts/RT-N15.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/RT-N15.dts b/target/linux/ramips/dts/RT-N15.dts
index d5bcbe3409..704d3130c8 100644
--- a/target/linux/ramips/dts/RT-N15.dts
+++ b/target/linux/ramips/dts/RT-N15.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 0>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
gpios = <&gpio0 12 0>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};