apm821xx: WNDAP6X0: convert to interrupt-driven gpio-key driver
[openwrt/staging/jogo.git] / target / linux / apm821xx / dts / netgear-wndap6x0.dtsi
index d591070368b5a235a1bdc2dbd3389e6723cc389e..c39f4ad83b0aeb713815a5276c2697431e2aaa86 100644 (file)
 
 &POB0 {
        keys {
-               compatible = "gpio-keys-polled";
-               #interrupt-cells = <2>;
-               poll-interval = <60>;   /* 3 * 20 = 60ms */
-               autorepeat;
+               compatible = "gpio-keys";
 
                reset {
                        label = "Reset Button";
-                       gpios = <&GPIO0 16 GPIO_ACTIVE_HIGH>;
+                       gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                        interrupt-parent = <&UIC1>;
                        interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;