aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorPeter Lundkvist <peter.lundkvist@gmail.com>2018-07-09 12:54:18 +0200
committerMathias Kresin <dev@kresin.me>2018-07-12 18:27:36 +0200
commit2f306873efbef159a5f5a8a922ef4c8da775464b (patch)
treeb1c4f1fca8ce1566ffc9d71223ad27f384b63bc4 /target/linux/ramips/dts
parent36a4681b2bef90bc1f445204c7a76f5af091b1b2 (diff)
downloadupstream-2f306873efbef159a5f5a8a922ef4c8da775464b.tar.gz
upstream-2f306873efbef159a5f5a8a922ef4c8da775464b.tar.bz2
upstream-2f306873efbef159a5f5a8a922ef4c8da775464b.zip
ramips: TP-Link TL-WR902AC v3: add missing wps button
Signed-off-by: Peter Lundkvist <peter.lundkvist@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/TL-WR902ACV3.dts8
1 files changed, 7 insertions, 1 deletions
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";
};
};