projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1029340
)
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]
>
Tue, 25 Jun 2024 19:42:54 +0000
(20:42 +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]
>
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 2170bc83ec17e35be20dcfe6b50f6676fbf2392c..e5a484d469e3bf70a36d07e44304079b408e177e 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>;
};
};