projects
/
openwrt
/
staging
/
florian.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/staging/florian.git]
/
target
/
linux
/
ramips
/
dts
/
WCR150GN.dts
diff --git
a/target/linux/ramips/dts/WCR150GN.dts
b/target/linux/ramips/dts/WCR150GN.dts
index 541836b218536dff2f1bde2547ec6e879f9b68a9..b47dd8b4afededdd99c933a3a04312b6c6d58e57 100644
(file)
--- a/
target/linux/ramips/dts/WCR150GN.dts
+++ b/
target/linux/ramips/dts/WCR150GN.dts
@@
-2,6
+2,8
@@
#include "rt3050.dtsi"
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "WCR150GN", "ralink,rt3050-soc";
model = "Sparklan WCR-150GN";
/ {
compatible = "WCR150GN", "ralink,rt3050-soc";
model = "Sparklan WCR-150GN";
@@
-61,13
+63,13
@@
wps {
label = "wps";
gpios = <&gpio0 10 1>;
wps {
label = "wps";
gpios = <&gpio0 10 1>;
- linux,code = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
reset {
label = "reset";
gpios = <&gpio0 0 1>;
};
reset {
label = "reset";
gpios = <&gpio0 0 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
};
};
};
};
};