ramips: fix lan leds for Wavlink WL-WN535K1

Previously both lan1 and lan2 leds were wrongly labelled as lan2.
Moreover they were connected to the wrong lan port.
Fixes 8fde82095b ("ramips: add support for Wavlink WL-WN535K1")

Reported-by: Nicolò Maria Semprini <nicosemp@gmail.com>
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
(cherry picked from commit c71dada926)
This commit is contained in:
Davide Fioravanti
2023-06-21 21:53:07 +02:00
committed by Hauke Mehrtens
parent 0a63e72fbb
commit fca03ea458
3 changed files with 5 additions and 5 deletions

View File

@@ -48,12 +48,12 @@
lan1 {
label = "green:lan1";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
lan2 {
label = "green:lan2";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
wan {