summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/Timecloud.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/Timecloud.dts')
-rw-r--r--target/linux/ramips/dts/Timecloud.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/Timecloud.dts b/target/linux/ramips/dts/Timecloud.dts
index 8ee312c..2d60324 100644
--- a/target/linux/ramips/dts/Timecloud.dts
+++ b/target/linux/ramips/dts/Timecloud.dts
@@ -2,6 +2,8 @@
#include "mt7621.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
model = "Thunder Timecloud";
@@ -39,13 +41,13 @@
reset {
label = "reset";
gpios = <&gpio0 13 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
BTN_0 {
label = "BTN_0";
gpios = <&gpio0 4 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
};
};