From: Adrian Schmutzler Date: Fri, 10 May 2019 13:14:13 +0000 (+0200) Subject: ath79: Add missing reset button for TP-Link CPE210 v2 and v3 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=33ce2ad3e7ea760e3856b88727bc79aaf9c29fc9;p=openwrt%2Fstaging%2Flynxis.git ath79: Add missing reset button for TP-Link CPE210 v2 and v3 Reset button support seems to be missing in ath79. Run-tested on CPE210 v2. Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ath79/dts/qca9533_tplink_cpe210.dtsi b/target/linux/ath79/dts/qca9533_tplink_cpe210.dtsi index ee1f904491..a1cf05b05c 100644 --- a/target/linux/ath79/dts/qca9533_tplink_cpe210.dtsi +++ b/target/linux/ath79/dts/qca9533_tplink_cpe210.dtsi @@ -47,6 +47,16 @@ }; }; + keys { + compatible = "gpio-keys-polled"; + poll-interval = <100>; + + reset_button { + label = "Reset button"; + linux,code = ; + gpios = <&gpio 17 GPIO_ACTIVE_LOW>; + }; + }; }; &uart {