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 42be55e0cf81249edb818df6f515b7c7b63919a4..d26bd4bbb51dacc8b4c3d1aa3d0ac2c1a59e33da 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>;
                };