summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/OY-0001.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/OY-0001.dts')
-rw-r--r--target/linux/ramips/dts/OY-0001.dts4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts
index 6bf1ad6..932d379 100644
--- a/target/linux/ramips/dts/OY-0001.dts
+++ b/target/linux/ramips/dts/OY-0001.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ralink,mt7620a-soc";
model = "OY-0001";
@@ -33,7 +35,7 @@
s1 {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};