ramips: TP-Link TL-WR902AC v3: add missing wps button
authorPeter Lundkvist <peter.lundkvist@gmail.com>
Mon, 9 Jul 2018 10:54:18 +0000 (12:54 +0200)
committerMathias Kresin <dev@kresin.me>
Thu, 12 Jul 2018 16:15:33 +0000 (18:15 +0200)
Signed-off-by: Peter Lundkvist <peter.lundkvist@gmail.com>
target/linux/ramips/dts/TL-WR902ACV3.dts

index 8ff3576595654e9b0cb5d5c9a60085e31ad312e2..bfdc03b1b33604ceadab7ca13e98496bd8ea419d 100644 (file)
                        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 {
@@ -72,7 +78,7 @@
 &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";
                };
        };