aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/FIREWRT.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/FIREWRT.dts')
-rw-r--r--target/linux/ramips/dts/FIREWRT.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts
index 4299b68a34..b318e6808b 100644
--- a/target/linux/ramips/dts/FIREWRT.dts
+++ b/target/linux/ramips/dts/FIREWRT.dts
@@ -2,6 +2,8 @@
#include "mt7621.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
model = "Firefly FireWRT";
@@ -33,13 +35,13 @@
wps {
label = "wps";
gpios = <&gpio0 18 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
power {
label = "power";
gpios = <&gpio0 23 1>;
- linux,code = <116>;
+ linux,code = <KEY_POWER>;
};
};
};