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 3154537864)
This commit is contained in:
David Bauer 2022-01-14 22:03:24 +01:00
parent b59f3b08b4
commit 6eced97ce4
1 changed files with 2 additions and 2 deletions

View File

@ -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>;
};
};