projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
TEW-714TRU.dts
diff --git
a/target/linux/ramips/dts/TEW-714TRU.dts
b/target/linux/ramips/dts/TEW-714TRU.dts
index 0e0f066518d1dee3268305c90612299fbaf60311..79b30d1bfdca31584fe628809ebd58803080dd6d 100644
(file)
--- a/
target/linux/ramips/dts/TEW-714TRU.dts
+++ b/
target/linux/ramips/dts/TEW-714TRU.dts
@@
-2,6
+2,8
@@
#include "rt5350.dtsi"
#include "rt5350.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "TEW-714TRU", "ralink,rt5350-soc";
model = "TRENDnet TEW714TRU";
/ {
compatible = "TEW-714TRU", "ralink,rt5350-soc";
model = "TRENDnet TEW714TRU";
@@
-29,13
+31,13
@@
reset {
label = "reset";
gpios = <&gpio0 10 1>;
reset {
label = "reset";
gpios = <&gpio0 10 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
wps {
label = "wps";
gpios = <&gpio0 0 1>;
};
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
};
};
};