aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBangLang Huang <banglang.huang@foxmail.com>2016-12-02 09:13:46 +0800
committerMathias Kresin <dev@kresin.me>2016-12-04 07:03:17 +0100
commit23b58f8acb412af2b4c5d5e53500a77f6a31824a (patch)
tree960b0599576f516ab9f18b1cb5f7be55c291d826
parent2e020e2cef40cf14766b5269c83feccfc5b8200b (diff)
downloadupstream-23b58f8acb412af2b4c5d5e53500a77f6a31824a.tar.gz
upstream-23b58f8acb412af2b4c5d5e53500a77f6a31824a.tar.bz2
upstream-23b58f8acb412af2b4c5d5e53500a77f6a31824a.zip
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@foxmail.com>
-rw-r--r--target/linux/ramips/dts/PBR-D1.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/PBR-D1.dts b/target/linux/ramips/dts/PBR-D1.dts
index da32c8dff9..3d4e987c48 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>;
};
};