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
/
DIR-320-B1.dts
diff --git
a/target/linux/ramips/dts/DIR-320-B1.dts
b/target/linux/ramips/dts/DIR-320-B1.dts
index 102e06abf9ac2859d5d8f999dd4d4cbd2328bf55..2335c9a391e955e44cd62209dfff4b9795777a64 100644
(file)
--- a/
target/linux/ramips/dts/DIR-320-B1.dts
+++ b/
target/linux/ramips/dts/DIR-320-B1.dts
@@
-2,6
+2,8
@@
#include "rt5350.dtsi"
#include "rt5350.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "DIR-320-B1", "ralink,rt5350-soc";
model = "D-Link DIR-320 B1";
/ {
compatible = "DIR-320-B1", "ralink,rt5350-soc";
model = "D-Link DIR-320 B1";
@@
-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 = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
};
};
};