ath79: Add missing reset button for TP-Link CPE210 v2 and v3
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / qca9533_tplink_cpe210.dtsi
index ee1f904491a3c38ba439c3a0c0cd96a24e5383a5..a1cf05b05c2447b59052df31c55a386344aeeda4 100644 (file)
                };
        };
 
                };
        };
 
+       keys {
+               compatible = "gpio-keys-polled";
+               poll-interval = <100>;
+
+               reset_button {
+                       label = "Reset button";
+                       linux,code = <KEY_RESTART>;
+                       gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &uart {
 };
 
 &uart {