Message ID | 20180709105418.16235-2-peter.lundkvist@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [OpenWrt-Devel,1/2] ramips: TP-Link TL-WR902AC v3: don't build factory image | expand |
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"; }; };
Signed-off-by: Peter Lundkvist <peter.lundkvist@gmail.com> --- target/linux/ramips/dts/TL-WR902ACV3.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)