diff options
author | Jan Alexander <jan@nalx.net> | 2020-01-15 21:12:33 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-01-17 20:17:40 +0100 |
commit | e18c87ef45e0ce0e14a96c3a27e3f43ce5d23556 (patch) | |
tree | 02af41161ea06619320df8b7b3783df4b8c04bd4 /target/linux/ramips/dts/TL-WA801NDV5.dts | |
parent | 455ba76bf9f54d105729daedb17fb8a179793738 (diff) | |
download | upstream-e18c87ef45e0ce0e14a96c3a27e3f43ce5d23556.tar.gz upstream-e18c87ef45e0ce0e14a96c3a27e3f43ce5d23556.tar.bz2 upstream-e18c87ef45e0ce0e14a96c3a27e3f43ce5d23556.zip |
ramips: fix wps leds/btn for TP-Link TL-WA801ND v5
- fix color and active mode for existing wps led
- add green wps led
- add wps button
Signed-off-by: Jan Alexander <jan@nalx.net>
[wrap line]
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 26105974e7f9758cd4bc443ce0322983f818acd5)
Diffstat (limited to 'target/linux/ramips/dts/TL-WA801NDV5.dts')
-rw-r--r-- | target/linux/ramips/dts/TL-WA801NDV5.dts | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/TL-WA801NDV5.dts b/target/linux/ramips/dts/TL-WA801NDV5.dts index fb944b07ef..409e13e2df 100644 --- a/target/linux/ramips/dts/TL-WA801NDV5.dts +++ b/target/linux/ramips/dts/TL-WA801NDV5.dts @@ -25,6 +25,12 @@ gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; }; + + wps { + label = "wps"; + gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; + linux,code = <KEY_WPS_BUTTON>; + }; }; leds { @@ -45,9 +51,14 @@ gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; }; - wps { - label = "tl-wa801nd-v5:orange:wps"; - gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; + wps_red { + label = "tl-wa801nd-v5:red:wps"; + gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; + }; + + wps_green { + label = "tl-wa801nd-v5:green:wps"; + gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; }; }; }; @@ -55,7 +66,8 @@ &pinctrl { state_default: pinctrl0 { gpio { - ralink,group = "p0led_an", "perst", "refclk", "wdt", "wled_an"; + ralink,group = "p0led_an", "p1led_an", "perst", + "refclk", "uart1", "wdt", "wled_an"; ralink,function = "gpio"; }; }; |