aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DCH-M225.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/DCH-M225.dts')
-rw-r--r--target/linux/ramips/dts/DCH-M225.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/DCH-M225.dts b/target/linux/ramips/dts/DCH-M225.dts
index ee7c2c404a..21133a9b88 100644
--- a/target/linux/ramips/dts/DCH-M225.dts
+++ b/target/linux/ramips/dts/DCH-M225.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "dlink,dch-m225", "ralink,mt7620a-soc";
model = "D-Link DCH-M225";
@@ -15,13 +17,13 @@
wps {
label = "wps";
gpios = <&gpio0 11 1>;
- linux,code = <0xf7>;
+ linux,code = <KEY_RFKILL>;
};
reset {
label = "reset";
gpios = <&gpio1 2 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};