aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WLI-TX4-AG300N.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WLI-TX4-AG300N.dts')
-rw-r--r--target/linux/ramips/dts/WLI-TX4-AG300N.dts8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/WLI-TX4-AG300N.dts b/target/linux/ramips/dts/WLI-TX4-AG300N.dts
index 70521a71ed..9d9b222bd7 100644
--- a/target/linux/ramips/dts/WLI-TX4-AG300N.dts
+++ b/target/linux/ramips/dts/WLI-TX4-AG300N.dts
@@ -2,6 +2,8 @@
#include "rt2880.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
#address-cells = <1>;
#size-cells = <1>;
@@ -49,19 +51,19 @@
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
bandwidth {
label = "bandwidth";
gpios = <&gpio0 8 0>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
reset {
label = "reset";
gpios = <&gpio0 9 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};