aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/SK-WB8.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/SK-WB8.dts')
-rw-r--r--target/linux/ramips/dts/SK-WB8.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/SK-WB8.dts b/target/linux/ramips/dts/SK-WB8.dts
index 1fed89e11e..b50de555dc 100644
--- a/target/linux/ramips/dts/SK-WB8.dts
+++ b/target/linux/ramips/dts/SK-WB8.dts
@@ -2,6 +2,8 @@
#include "mt7621.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
model = "SamKnows Whitebox 8";
@@ -37,12 +39,12 @@
wps {
label = "wps";
gpios = <&gpio1 11 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
gpios = <&gpio1 9 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};