ipq806x: add missing wakeup-source for gpio keys
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8062-wg2600hp3.dts
index d234b94a465ebb09bd5cf3e0f2de5ba4850b59a4..3e04618d5782cb4dd3127c4dba8dcf2b670e2059 100644 (file)
                        label = "reset";
                        gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 22 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                mode0 {
@@ -46,6 +50,8 @@
                        gpios = <&qcom_pinmux 40 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                mode1 {
@@ -53,6 +59,8 @@
                        gpios = <&qcom_pinmux 41 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };