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
/
OY-0001.dts
diff --git
a/target/linux/ramips/dts/OY-0001.dts
b/target/linux/ramips/dts/OY-0001.dts
index 6bf1ad6be70967a10722a920220516fb3fa08892..932d379b700c08e34c8f31cf5deb81a358cf8e85 100644
(file)
--- a/
target/linux/ramips/dts/OY-0001.dts
+++ b/
target/linux/ramips/dts/OY-0001.dts
@@
-2,6
+2,8
@@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ralink,mt7620a-soc";
model = "OY-0001";
@@
-33,7
+35,7
@@
s1 {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
};
};