[openwrt/openwrt] mediatek: fix polarity of user button on openwrt-one

LEDE Commits lede-commits at lists.infradead.org
Thu Oct 2 00:54:53 PDT 2025


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/50c51504fd38704d6b669390dd0ddee1e3af704c

commit 50c51504fd38704d6b669390dd0ddee1e3af704c
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Aug 8 18:55:03 2025 +0200

    mediatek: fix polarity of user button on openwrt-one
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 target/linux/mediatek/dts/mt7981b-openwrt-one.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/dts/mt7981b-openwrt-one.dts b/target/linux/mediatek/dts/mt7981b-openwrt-one.dts
index 18a569daf8..5f54506b2c 100644
--- a/target/linux/mediatek/dts/mt7981b-openwrt-one.dts
+++ b/target/linux/mediatek/dts/mt7981b-openwrt-one.dts
@@ -51,7 +51,7 @@
 		user {
 			label = "user";
 			linux,code = <BTN_0>;
-			gpios = <&pio 0 GPIO_ACTIVE_HIGH>;
+			gpios = <&pio 0 GPIO_ACTIVE_LOW>;
 		};
 
 		reset {




More information about the lede-commits mailing list