Reset button support seems to be missing in ath79. Run-tested on CPE210 v2. Signed-off-by: Adrian Schmutzler <[email protected]>
@@ -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 {