[source] ramips: fix PBR-D1 button definition

LEDE Commits lede-commits at lists.infradead.org
Sat Dec 3 23:26:16 PST 2016


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

commit 23b58f8acb412af2b4c5d5e53500a77f6a31824a
Author: BangLang Huang <banglang.huang at foxmail.com>
AuthorDate: Fri Dec 2 09:13:46 2016 +0800

    ramips: fix PBR-D1 button definition
    
    Due to the product specification, the button on PBR-D1 should be
    reset, not wps.
    
    Signed-off-by: BangLang Huang <banglang.huang at foxmail.com>
---
 target/linux/ramips/dts/PBR-D1.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/PBR-D1.dts b/target/linux/ramips/dts/PBR-D1.dts
index da32c8d..3d4e987 100644
--- a/target/linux/ramips/dts/PBR-D1.dts
+++ b/target/linux/ramips/dts/PBR-D1.dts
@@ -43,10 +43,10 @@
 		#size-cells = <0>;
 		poll-interval = <20>;
 
-		wps {
+		reset {
 			label = "reset";
 			gpios = <&gpio1 38 1>;
-			linux,code = <KEY_WPS_BUTTON>;
+			linux,code = <KEY_RESTART>;
 		};
 	};
 



More information about the lede-commits mailing list