[OpenWrt-Devel] [PATCH 2/2] ramips: TP-Link TL-WR902AC v3: add missing wps button
Peter Lundkvist
peter.lundkvist at gmail.com
Mon Jul 9 06:54:18 EDT 2018
Signed-off-by: Peter Lundkvist <peter.lundkvist at 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 at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list