aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DUZUN-DM06.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/DUZUN-DM06.dts')
-rw-r--r--target/linux/ramips/dts/DUZUN-DM06.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/DUZUN-DM06.dts b/target/linux/ramips/dts/DUZUN-DM06.dts
index 05bb56181e..5715791a68 100644
--- a/target/linux/ramips/dts/DUZUN-DM06.dts
+++ b/target/linux/ramips/dts/DUZUN-DM06.dts
@@ -2,6 +2,8 @@
#include "mt7628an.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "duzun,dm06-mt7628an", "mediatek,mt7628an-soc";
model = "DuZun DM06";
@@ -20,13 +22,13 @@
reset {
label = "reset";
gpios = <&gpio1 14 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio1 6 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};