From 5355665cc8dff19510aa129723e5e935f16b03ad Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sat, 10 Aug 2019 00:45:49 +0200 Subject: [PATCH] lantiq: correct Fritz!Box 7412 button logic level The AVM FRITZ!Box 7412 buttons are both active low, which is currently incorrectly defined in the device-tree. This leads to the device booting directly into failsafe. Signed-off-by: David Bauer (cherry picked from commit c12947b39e96c82974cbe0fc3557259713f37770) --- .../linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7412.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7412.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7412.dts index 3059c12858..14a4bf77b9 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7412.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7412.dts @@ -33,13 +33,13 @@ wps { label = "wps"; - gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 1 GPIO_ACTIVE_LOW>; linux,code = ; }; dect { label = "dect"; - gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 2 GPIO_ACTIVE_LOW>; linux,code = ; }; }; -- 2.25.1