[openwrt/openwrt] lantiq: flag FritzBox 7360 family buttons active-low
LEDE Commits
lede-commits at lists.infradead.org
Sat Jan 15 14:12:07 PST 2022
blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/6eced97ce40200c3ecdeb25fe3b9635ebdb79496
commit 6eced97ce40200c3ecdeb25fe3b9635ebdb79496
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Fri Jan 14 22:03:24 2022 +0100
lantiq: flag FritzBox 7360 family buttons active-low
All buttons of the FritzBox 7360 family are active-low, not active-high.
Corrent the GPIO flag. This fixes release triggers upon push of a button.
Reported-by: Jan-Niklas Burfeind <git at aiyionpri.me>
Signed-off-by: David Bauer <mail at david-bauer.net>
(cherry picked from commit 31545378641d45f5fac5ffc408a31b700b80121f)
---
.../lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
index c7e600aace..1fe2fd7296 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
@@ -33,13 +33,13 @@
dect {
label = "dect";
- gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PHONE>;
};
wifi {
label = "wifi";
- gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>;
};
};
More information about the lede-commits
mailing list