Compex WPJ419 has a reset button on a GPIO pin. Signed-off-by: Phi Nguyen <[email protected]>
@@ -348,6 +348,16 @@
status = "okay";
};
+
+ keys {
+ compatible = "gpio-keys";
+ reset {
+ label = "reset";
+ gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
+ };
&gmac0 {