projects
/
oweals
/
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
[oweals/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
UR-336UN.dts
diff --git
a/target/linux/ramips/dts/UR-336UN.dts
b/target/linux/ramips/dts/UR-336UN.dts
index e0325a7c567868bdff0b14310ee31b5670c63a54..fa753047e89d0269393d09ad1759b2399490c64a 100644
(file)
--- a/
target/linux/ramips/dts/UR-336UN.dts
+++ b/
target/linux/ramips/dts/UR-336UN.dts
@@
-2,6
+2,8
@@
#include "rt3050.dtsi"
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "UR-336UN", "ralink,rt3052-soc";
model = "UPVEL UR-336UN";
/ {
compatible = "UR-336UN", "ralink,rt3052-soc";
model = "UPVEL UR-336UN";
@@
-53,13
+55,13
@@
reset_wps {
label = "reset_wps";
gpios = <&gpio0 10 1>;
reset_wps {
label = "reset_wps";
gpios = <&gpio0 10 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
mode {
label = "mode";
gpios = <&gpio0 7 1>;
};
mode {
label = "mode";
gpios = <&gpio0 7 1>;
- linux,code = <
0x32
>;
+ linux,code = <
ABS_MT_WIDTH_MAJOR
>;
};
};
};
};
};
};