projects
/
openwrt
/
staging
/
yousong.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/yousong.git]
/
target
/
linux
/
ramips
/
dts
/
ALL0256N-4M.dts
diff --git
a/target/linux/ramips/dts/ALL0256N-4M.dts
b/target/linux/ramips/dts/ALL0256N-4M.dts
index 1cfaed67bb7c50c88918b47b8c418fa47c536b01..19cef87cbd8e4cdd525126e783540ca02eb5fba7 100644
(file)
--- a/
target/linux/ramips/dts/ALL0256N-4M.dts
+++ b/
target/linux/ramips/dts/ALL0256N-4M.dts
@@
-2,6
+2,8
@@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ALL0256N", "ralink,rt3050-soc";
model = "Allnet ALL0256N";
@@
-34,7
+36,7
@@
reset {
label = "reset";
gpios = <&gpio0 0 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
};
};