summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/MZK-750DHP.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/MZK-750DHP.dts')
-rw-r--r--target/linux/ramips/dts/MZK-750DHP.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/MZK-750DHP.dts b/target/linux/ramips/dts/MZK-750DHP.dts
index 01fe2a1..589b19e 100644
--- a/target/linux/ramips/dts/MZK-750DHP.dts
+++ b/target/linux/ramips/dts/MZK-750DHP.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ralink,mt7620a-soc";
model = "Planex MZK-750DHP";
@@ -34,13 +36,13 @@
s1 {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
s2 {
label = "wps";
gpios = <&gpio2 19 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
};