From 33ce2ad3e7ea760e3856b88727bc79aaf9c29fc9 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 10 May 2019 15:14:13 +0200 Subject: [PATCH] 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 --- target/linux/ath79/dts/qca9533_tplink_cpe210.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 { -- 2.30.2