ramips: TP-Link TL-WR902AC v3: add missing wps button

Signed-off-by: Peter Lundkvist <peter.lundkvist@gmail.com>
This commit is contained in:
Peter Lundkvist 2018-07-09 12:54:18 +02:00 committed by Mathias Kresin
parent 36a4681b2b
commit 2f306873ef
1 changed files with 7 additions and 1 deletions

View File

@ -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";
};
};