projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix PBR-D1 button definition
[oweals/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
MIWIFI-MINI.dts
diff --git
a/target/linux/ramips/dts/MIWIFI-MINI.dts
b/target/linux/ramips/dts/MIWIFI-MINI.dts
index e9ad3750b709701eb2b8d250141fb78a80bfafd9..0cd511c4fae5c952b2d0ab5c5898841e55377013 100644
(file)
--- a/
target/linux/ramips/dts/MIWIFI-MINI.dts
+++ b/
target/linux/ramips/dts/MIWIFI-MINI.dts
@@
-2,6
+2,8
@@
#include "mt7620a.dtsi"
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
model = "Xiaomi MiWiFi Mini";
/ {
compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
model = "Xiaomi MiWiFi Mini";
@@
-38,7
+40,7
@@
reset {
label = "reset";
gpios = <&gpio1 6 0>;
reset {
label = "reset";
gpios = <&gpio1 6 0>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
};
};
};
};
};