ramips: TP-Link TL-WR902AC v3: add missing wps button
[openwrt/staging/lynxis.git] / target / linux / ramips / dts / TL-WR902ACV3.dts
index 8ff3576595654e9b0cb5d5c9a60085e31ad312e2..bfdc03b1b33604ceadab7ca13e98496bd8ea419d 100644 (file)
                        gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                };
                        gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                };
+
+               wps {
+                       label = "wps";
+                       gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
+                       linux,code = <KEY_WPS_BUTTON>;
+               };
        };
 
        gpio-leds {
        };
 
        gpio-leds {
@@ -72,7 +78,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "i2s", "p0led_an", "p4led_an", "uart1", "wdt", "wled_an";
+                       ralink,group = "i2c", "i2s", "p0led_an", "p2led_an", "p4led_an", "uart1", "wdt", "wled_an";
                        ralink,function = "gpio";
                };
        };
                        ralink,function = "gpio";
                };
        };