[source] ramips: fix wps button gpio for DWR-512

LEDE Commits lede-commits at lists.infradead.org
Tue Jul 25 12:04:41 PDT 2017


mkresin pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/e08b8255ec41946ed80f77dd551e93af9de01cb9

commit e08b8255ec41946ed80f77dd551e93af9de01cb9
Author: Giuseppe Lippolis <giu.lippolis at gmail.com>
AuthorDate: Tue Jul 18 22:55:53 2017 +0200

    ramips: fix wps button gpio for DWR-512
    
    The WPS button is at GPIO#7.
    
    Signed-off-by: Giuseppe Lippolis <giu.lippolis at gmail.com>
---
 target/linux/ramips/dts/DWR-512-B.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/dts/DWR-512-B.dts b/target/linux/ramips/dts/DWR-512-B.dts
index 9e15485..473af08 100644
--- a/target/linux/ramips/dts/DWR-512-B.dts
+++ b/target/linux/ramips/dts/DWR-512-B.dts
@@ -17,7 +17,7 @@
 
 		wps {
 			label = "wps";
-			gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+			gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
 			linux,code = <KEY_WPS_BUTTON>;
 		};
 



More information about the lede-commits mailing list