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
/
DCS-930L-B1.dts
diff --git
a/target/linux/ramips/dts/DCS-930L-B1.dts
b/target/linux/ramips/dts/DCS-930L-B1.dts
index 133245cb74b174b7db3ab2a6589fb292e4aca712..17996d2358c2f898440d0562ad469d44c5c8099f 100644
(file)
--- a/
target/linux/ramips/dts/DCS-930L-B1.dts
+++ b/
target/linux/ramips/dts/DCS-930L-B1.dts
@@
-2,6
+2,8
@@
#include "rt5350.dtsi"
#include "rt5350.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "DCS-930L-B1", "ralink,rt5350-soc";
model = "D-Link DCS-930L B1";
/ {
compatible = "DCS-930L-B1", "ralink,rt5350-soc";
model = "D-Link DCS-930L B1";
@@
-29,13
+31,13
@@
reset {
label = "reset";
gpios = <&gpio0 0 1>;
reset {
label = "reset";
gpios = <&gpio0 0 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
wps {
label = "wps";
gpios = <&gpio0 20 1>;
};
wps {
label = "wps";
gpios = <&gpio0 20 1>;
- linux,code = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
};
};
};
};
};