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
/
WL-330N3G.dts
diff --git
a/target/linux/ramips/dts/WL-330N3G.dts
b/target/linux/ramips/dts/WL-330N3G.dts
index 9290673419d4f5781928e0f58bf931e1ea7a01c8..fe703ba5b3fd27278fa7fc7c61808ff9a0d5067f 100644
(file)
--- a/
target/linux/ramips/dts/WL-330N3G.dts
+++ b/
target/linux/ramips/dts/WL-330N3G.dts
@@
-2,6
+2,8
@@
#include "rt3050.dtsi"
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "WL-330N3G", "ralink,rt3050-soc";
model = "Asus WL-330N3G";
/ {
compatible = "WL-330N3G", "ralink,rt3050-soc";
model = "Asus WL-330N3G";
@@
-34,13
+36,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 = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
};
};
};
};
};