aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/MT7620a_MT7610e.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/MT7620a_MT7610e.dts')
-rw-r--r--target/linux/ramips/dts/MT7620a_MT7610e.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/MT7620a_MT7610e.dts b/target/linux/ramips/dts/MT7620a_MT7610e.dts
index 52ceddcbc8..da241a4253 100644
--- a/target/linux/ramips/dts/MT7620a_MT7610e.dts
+++ b/target/linux/ramips/dts/MT7620a_MT7610e.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
model = "Ralink MT7620A evaluation board";
@@ -15,13 +17,13 @@
wps {
label = "wps";
gpios = <&gpio0 12 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
reset {
label = "reset";
gpios = <&gpio0 13 1>;
- linux,code = <0x101>;
+ linux,code = <BTN_1>;
};
};
};