aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DAP-1350.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/DAP-1350.dts')
-rw-r--r--target/linux/ramips/dts/DAP-1350.dts10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/DAP-1350.dts b/target/linux/ramips/dts/DAP-1350.dts
index 4628544fb6..c3225db952 100644
--- a/target/linux/ramips/dts/DAP-1350.dts
+++ b/target/linux/ramips/dts/DAP-1350.dts
@@ -2,6 +2,8 @@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "DAP-1350", "ralink,rt3052-soc";
model = "D-Link DAP-1350";
@@ -76,25 +78,25 @@
reset {
label = "reset";
gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
rt {
label = "rt";
gpios = <&gpio0 11 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
ap {
label = "ap";
gpios = <&gpio0 7 1>;
- linux,code = <0x101>;
+ linux,code = <BTN_1>;
};
};
};