[OpenWrt-Devel] [PATCH 1/2] lantiq: correct Fritz!Box 7412 button logic level
David Bauer
mail at david-bauer.net
Fri Aug 9 19:09:03 EDT 2019
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 <mail at david-bauer.net>
---
target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7412.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 = <KEY_WPS_BUTTON>;
};
dect {
label = "dect";
- gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PHONE>;
};
};
--
2.20.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list