aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WMR-300.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WMR-300.dts')
-rw-r--r--target/linux/ramips/dts/WMR-300.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/WMR-300.dts b/target/linux/ramips/dts/WMR-300.dts
index 02fbdc598a..faa867b723 100644
--- a/target/linux/ramips/dts/WMR-300.dts
+++ b/target/linux/ramips/dts/WMR-300.dts
@@ -2,6 +2,8 @@
#include "mt7620n.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "buffalo,wmr-300", "ralink,mt7620n-soc";
model = "Buffalo WMR-300";
@@ -34,13 +36,13 @@
reset {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
aoss {
label = "aoss";
gpios = <&gpio0 2 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
};