浏览代码

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 <[email protected]>
Petr Štetiar 6 年之前
父节点
当前提交
02556d6365
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts

+ 7 - 0
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 {