ramips: fix leds on GL.iNet GL-MT300N-V2

The WAN LED now shows the link state. It's color is green,
not blue.

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
This commit is contained in:
Martin Weinelt 2018-11-02 20:52:01 +01:00 committed by Alexander Couzens
parent c9f5934c71
commit 0411813c6f
No known key found for this signature in database
GPG key ID: C29E9DA6A0DF8604
2 changed files with 2 additions and 1 deletions

View file

@ -150,6 +150,7 @@ gl-mt750)
;;
gl-mt300n-v2)
set_wifi_led "$boardname:red:wlan"
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x1"
;;
hc5661|\
hc5661a)

View file

@ -35,7 +35,7 @@
};
wan {
label = "gl-mt300n-v2:blue:wan";
label = "gl-mt300n-v2:green:wan";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};