diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-05-10 15:14:13 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-05-15 13:34:24 +0200 |
commit | 33ce2ad3e7ea760e3856b88727bc79aaf9c29fc9 (patch) | |
tree | 3f6fe47bc6f55b36951ccf4e4582c1745bcd85fc | |
parent | e9652e1696d94e57f96a06658da931fbac7c44c4 (diff) | |
download | upstream-33ce2ad3e7ea760e3856b88727bc79aaf9c29fc9.tar.gz upstream-33ce2ad3e7ea760e3856b88727bc79aaf9c29fc9.tar.bz2 upstream-33ce2ad3e7ea760e3856b88727bc79aaf9c29fc9.zip |
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 <freifunk@adrianschmutzler.de>
-rw-r--r-- | target/linux/ath79/dts/qca9533_tplink_cpe210.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
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 = <KEY_RESTART>; + gpios = <&gpio 17 GPIO_ACTIVE_LOW>; + }; + }; }; &uart { |