ath79: Add WPS button to TP-Link Archer C7v5
authorPetr Štetiar <ynezz@true.cz>
Mon, 8 Apr 2019 16:30:11 +0000 (18:30 +0200)
committerPetr Štetiar <ynezz@true.cz>
Mon, 8 Apr 2019 16:37:04 +0000 (18:37 +0200)
This patch adds currently missing support for the WPS button on TP-Link
Archer C7v5.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts

index 8059b48510e22ec5ad7af7343e77641425699186..c51ae20d22893b5e643a32a0b75aca7f1f3d27fc 100644 (file)
                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 {