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>
This commit is contained in:
Adrian Schmutzler 2019-05-10 15:14:13 +02:00 committed by Petr Štetiar
parent e9652e1696
commit 33ce2ad3e7

View File

@ -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 {