aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-04-08 18:30:11 +0200
committerPetr Štetiar <ynezz@true.cz>2019-04-08 18:37:04 +0200
commit02556d636554c12f5be39ba7656d26ee60a7c3ce (patch)
tree972bf66d8deedf8264224a95402730324c27fe28 /target
parent0a13f589c3df688f9c184a78f97b856890f767a1 (diff)
downloadupstream-02556d636554c12f5be39ba7656d26ee60a7c3ce.tar.gz
upstream-02556d636554c12f5be39ba7656d26ee60a7c3ce.tar.bz2
upstream-02556d636554c12f5be39ba7656d26ee60a7c3ce.zip
ath79: Add WPS button to TP-Link Archer C7v5
This patch adds currently missing support for the WPS button on TP-Link Archer C7v5. Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
index 8059b48510..c51ae20d22 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
@@ -15,6 +15,13 @@
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
+
+ wps {
+ label = "WPS button";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+ debounce-interval = <60>;
+ };
};
&mtdparts {