aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
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:15:33 +0200
commit2eeb4b78c64a6541cf9f26d424a5520660f690bd (patch)
tree0968fbf69a980de03f99b81caae10d41e85902c9 /target/linux/ramips
parent33321ebefacb5ea4ee679792f1df98723f6588a0 (diff)
downloadupstream-2eeb4b78c64a6541cf9f26d424a5520660f690bd.tar.gz
upstream-2eeb4b78c64a6541cf9f26d424a5520660f690bd.tar.bz2
upstream-2eeb4b78c64a6541cf9f26d424a5520660f690bd.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')
-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";
};
};