Browse Source

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 years ago
parent
commit
02556d6365
1 changed files with 7 additions and 0 deletions
  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 {