aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/Y1.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/Y1.dtsi')
-rw-r--r--target/linux/ramips/dts/Y1.dtsi4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/Y1.dtsi b/target/linux/ramips/dts/Y1.dtsi
index 201f48b626..1d5f1ef074 100644
--- a/target/linux/ramips/dts/Y1.dtsi
+++ b/target/linux/ramips/dts/Y1.dtsi
@@ -1,5 +1,7 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
chosen {
bootargs = "console=ttyS0,115200";
@@ -14,7 +16,7 @@
reset {
label = "reset";
gpios = <&gpio0 11 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};