aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/ArcherC20i.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/ArcherC20i.dts')
-rw-r--r--target/linux/ramips/dts/ArcherC20i.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts
index a58fa57ced..711274e625 100644
--- a/target/linux/ramips/dts/ArcherC20i.dts
+++ b/target/linux/ramips/dts/ArcherC20i.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ralink,mt7620a-soc";
model = "TP-Link Archer C20i";
@@ -41,12 +43,12 @@
rfkill {
label = "rfkill";
gpios = <&gpio0 2 1>;
- linux,code = <0xf7>;
+ linux,code = <KEY_RFKILL>;
};
reset_wps {
label = "reset_wps";
gpios = <&gpio0 13 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};