aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WHR-600D.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WHR-600D.dts')
-rw-r--r--target/linux/ramips/dts/WHR-600D.dts14
1 files changed, 8 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/WHR-600D.dts b/target/linux/ramips/dts/WHR-600D.dts
index c0633559b6..bea67a9a90 100644
--- a/target/linux/ramips/dts/WHR-600D.dts
+++ b/target/linux/ramips/dts/WHR-600D.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ralink,mt7620a-soc";
model = "Buffalo WHR-600D";
@@ -54,27 +56,27 @@
reset {
label = "reset";
gpios = <&gpio2 12 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
aoss {
label = "aoss";
gpios = <&gpio2 13 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
ap {
label = "ap";
gpios = <&gpio2 14 1>;
- linux,code = <0x100>;
- linux,input-type = <5>; /* EV_SW */
+ linux,code = <BTN_0>;
+ linux,input-type = <EV_SW>;
};
bridge {
label = "bridge";
gpios = <&gpio2 15 1>;
- linux,code = <0x100>;
- linux,input-type = <5>; /* EV_SW */
+ linux,code = <BTN_0>;
+ linux,input-type = <EV_SW>;
};
};
};