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

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


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/786f7426c2f915f3c98c71721ccd0fa705b374e5

commit 786f7426c2f915f3c98c71721ccd0fa705b374e5
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 42be55e..d26bd4b 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