projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc0527b
)
ramips: yuncore_g720: fix buttons
author
Daniel Golle
<
[email protected]
>
Tue, 25 Jun 2024 19:40:59 +0000
(20:40 +0100)
committer
Daniel Golle
<
[email protected]
>
Wed, 26 Jun 2024 01:47:57 +0000
(
02:47
+0100)
Turns out the device got two buttons, while the currently listed on is
actually WPS, and the other (will hidden) button is intended as RESET.
Update DT accordingly.
Signed-off-by: Daniel Golle <
[email protected]
>
(cherry picked from commit
646ebbd32ca4d776c64c31e85c08dc72fec25d7d
)
target/linux/ramips/dts/mt7621_yuncore_g720.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/mt7621_yuncore_g720.dts
b/target/linux/ramips/dts/mt7621_yuncore_g720.dts
index 4b88064b4950acd8c43e566c491dee19ccf5bcad..1e6b8a187e085e4a646b9c60991db918e6731099 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_yuncore_g720.dts
+++ b/
target/linux/ramips/dts/mt7621_yuncore_g720.dts
@@
-33,9
+33,15
@@
keys {
compatible = "gpio-keys";
+ wps {
+ label = "wps";
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_WPS_BUTTON>;
+ };
+
reset {
label = "reset";
- gpios = <&gpio 1
3
GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 1
2
GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};