ramips: correct Netgear WNDR3700v5 button flag
authorDavid Bauer <mail@david-bauer.net>
Sun, 10 Nov 2019 19:54:38 +0000 (20:54 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 10 Nov 2019 19:57:16 +0000 (20:57 +0100)
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>
target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts

index a8e4b5c6328997d5c2c4d75c873dd553f3b2a03e..5cf09ac7c49e34c96180c2e6efa1cb5c6fabb78e 100644 (file)
 
                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>;
                };
        };