aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-11-10 20:54:38 +0100
committerDavid Bauer <mail@david-bauer.net>2019-11-10 20:57:16 +0100
commitb16d76bf40727672e49b2050c11a36947f87a614 (patch)
tree34b8367d49d1e29a694665de32b496fda75ea1ff
parentdb0933584855446c57278e8f303f9338c5d59961 (diff)
downloadupstream-b16d76bf40727672e49b2050c11a36947f87a614.tar.gz
upstream-b16d76bf40727672e49b2050c11a36947f87a614.tar.bz2
upstream-b16d76bf40727672e49b2050c11a36947f87a614.zip
ramips: correct Netgear WNDR3700v5 button flag
This adjusts the GPIO state flag to ACTIVE_LOW as FCC pictures indicate the base board is identical to the one of the R6220. Fixes commit 3459013257e0 ("ramips: correct R6220 button flag") Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts b/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts
index a8e4b5c632..5cf09ac7c4 100644
--- a/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts
+++ b/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts
@@ -12,19 +12,19 @@
wps {
label = "wps";
- gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
wifi {
label = "wifi";
- gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>;
};
reset {
label = "reset";
- gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};