aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DIR-810L.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/DIR-810L.dts')
-rw-r--r--target/linux/ramips/dts/DIR-810L.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/DIR-810L.dts b/target/linux/ramips/dts/DIR-810L.dts
index 1f9ad8a5d2..4ccea0d45b 100644
--- a/target/linux/ramips/dts/DIR-810L.dts
+++ b/target/linux/ramips/dts/DIR-810L.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
model = "D-Link DIR-810L";
@@ -15,13 +17,13 @@
reset {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
wps {
label = "wps";
gpios = <&gpio0 2 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
};