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:27 +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 9e15485d3fd135c818bf3bac50e7df504b20bd50..473af0814113229e834bba8036be2df44f413b2f 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>;
                };