ramips: fix wps button gpio for DWR-512
authorGiuseppe Lippolis <giu.lippolis@gmail.com>
Tue, 18 Jul 2017 20:55:53 +0000 (22:55 +0200)
committerMathias Kresin <dev@kresin.me>
Tue, 25 Jul 2017 19:02:53 +0000 (21:02 +0200)
The WPS button is at GPIO#7.

Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
target/linux/ramips/dts/DWR-512-B.dts

index 42be55e..d26bd4b 100644 (file)
@@ -17,7 +17,7 @@
 
                wps {
                        label = "wps";
-                       gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };