|
|
@@ -63,6 +63,11 @@
|
|
|
keys {
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
+/*
|
|
|
+ * RST button is also PCIe-CLKREQ signal, use WPS button as reset
|
|
|
+ * instead as RST button doesn't make sense and cannot be used.
|
|
|
+ *
|
|
|
+ * intended buttons:
|
|
|
factory {
|
|
|
label = "reset";
|
|
|
linux,code = <KEY_RESTART>;
|
|
|
@@ -74,6 +79,13 @@
|
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
|
gpios = <&pio 10 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
+ * actual setup:
|
|
|
+ */
|
|
|
+ wps {
|
|
|
+ label = "wps";
|
|
|
+ linux,code = <KEY_RESTART>;
|
|
|
+ gpios = <&pio 10 GPIO_ACTIVE_LOW>;
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
leds {
|