aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-01-14 22:03:24 +0100
committerDavid Bauer <mail@david-bauer.net>2022-01-15 22:49:28 +0100
commit6eced97ce40200c3ecdeb25fe3b9635ebdb79496 (patch)
tree3065b7314760707d82d9edc709db83771571c6da /target
parentb59f3b08b4ef7f996b60a721787f470b5379c2db (diff)
downloadupstream-6eced97ce40200c3ecdeb25fe3b9635ebdb79496.tar.gz
upstream-6eced97ce40200c3ecdeb25fe3b9635ebdb79496.tar.bz2
upstream-6eced97ce40200c3ecdeb25fe3b9635ebdb79496.zip
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@aiyionpri.me> Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 31545378641d45f5fac5ffc408a31b700b80121f)
Diffstat (limited to 'target')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi4
1 files 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>;
};
};