aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-08-10 00:45:49 +0200
committerDavid Bauer <mail@david-bauer.net>2019-08-10 00:48:01 +0200
commitc12947b39e96c82974cbe0fc3557259713f37770 (patch)
treead1d7ffb8e726381e5fbeaaddf223974a9e15f1e /target/linux/lantiq
parentda0de5e007cda0abef442bef860f867033206291 (diff)
downloadupstream-c12947b39e96c82974cbe0fc3557259713f37770.tar.gz
upstream-c12947b39e96c82974cbe0fc3557259713f37770.tar.bz2
upstream-c12947b39e96c82974cbe0fc3557259713f37770.zip
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 <mail@david-bauer.net>
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7412.dts4
1 files 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>;
};
};