summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2024-06-25 19:40:59 +0000
committerDaniel Golle2024-06-25 19:42:54 +0000
commit646ebbd32ca4d776c64c31e85c08dc72fec25d7d (patch)
treee60af61f7f9004e4f31c4de7d78033886630ea95
parent10293403534b452133a4e1027622a5444da0a4be (diff)
downloadopenwrt-646ebbd32ca4d776c64c31e85c08dc72fec25d7d.tar.gz
ramips: yuncore_g720: fix buttons
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 <daniel@makrotopia.org>
-rw-r--r--target/linux/ramips/dts/mt7621_yuncore_g720.dts8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_yuncore_g720.dts b/target/linux/ramips/dts/mt7621_yuncore_g720.dts
index 2170bc83ec..e5a484d469 100644
--- 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 13 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};