Signed-off-by: Peter Lundkvist <peter.lundkv...@gmail.com>
---
 target/linux/ramips/dts/TL-WR902ACV3.dts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/target/linux/ramips/dts/TL-WR902ACV3.dts 
b/target/linux/ramips/dts/TL-WR902ACV3.dts
index 8ff3576595..bfdc03b1b3 100644
--- a/target/linux/ramips/dts/TL-WR902ACV3.dts
+++ b/target/linux/ramips/dts/TL-WR902ACV3.dts
@@ -32,6 +32,12 @@
                        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";
                };
        };
-- 
2.15.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to