From: David Bauer Date: Fri, 9 Aug 2019 22:45:49 +0000 (+0200) Subject: lantiq: correct Fritz!Box 7412 button logic level X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c12947b39e96c82974cbe0fc3557259713f37770;p=openwrt%2Fstaging%2Fnoltari.git 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 --- diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7412.dts b/target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7412.dts index baf3d69fb5..97817595e9 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7412.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7412.dts @@ -34,13 +34,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 = ; }; };