diff options
author | Sungbo Eo <mans0n@gorani.run> | 2022-11-08 13:31:02 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2022-11-08 14:15:51 +0100 |
commit | 4628e7ae4d404c2ba718ae48bfb9fb102d25b953 (patch) | |
tree | 7dccb2b9a2d2447d070820da28e1456550cdc77e /target/linux/ramips/dts/mt7628an_tplink_re220-v2.dts | |
parent | 1d095c1d433bd73fb74b0f87f5960924a6eb1faa (diff) | |
download | upstream-4628e7ae4d404c2ba718ae48bfb9fb102d25b953.tar.gz upstream-4628e7ae4d404c2ba718ae48bfb9fb102d25b953.tar.bz2 upstream-4628e7ae4d404c2ba718ae48bfb9fb102d25b953.zip |
ramips: backport TP-Link RE200 v3/v4 LED fix
This backports a commit which fixes LEDs vor the RE200 like this:
Set power LED to gpio 43 instead of 44 for v3 and v4.
Set red wifi LED to gpio 40 (was assigned to `red:wifi5g`).
Tested by the author of the initial v3 and v4 commit.
Tested-by: Richard Fröhning <misanthropos@gmx.de>
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
(cherry picked from commit 02aa7a2bb9b6bdc8033d30c97f5b49534206a37c)
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_tplink_re220-v2.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_tplink_re220-v2.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_re220-v2.dts b/target/linux/ramips/dts/mt7628an_tplink_re220-v2.dts index 82d385a24d..aa2db57481 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_re220-v2.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_re220-v2.dts @@ -5,4 +5,20 @@ / { compatible = "tplink,re220-v2", "mediatek,mt7628an-soc"; model = "TP-Link RE220 v2"; + + leds { + wifi2g_red { + label = "red:wifi2g"; + gpios = <&gpio 43 GPIO_ACTIVE_LOW>; + }; + + wifi5g_red { + label = "red:wifi5g"; + gpios = <&gpio 40 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&led_power { + gpios = <&gpio 44 GPIO_ACTIVE_LOW>; }; |