diff --git a/target/linux/mediatek/dts/mt7981b-mercusys-mr85x-common.dtsi b/target/linux/mediatek/dts/mt7981b-mercusys-mr85x-common.dtsi index 25addc50ff9..b8a48ab06a7 100644 --- a/target/linux/mediatek/dts/mt7981b-mercusys-mr85x-common.dtsi +++ b/target/linux/mediatek/dts/mt7981b-mercusys-mr85x-common.dtsi @@ -60,14 +60,14 @@ led-2 { color = ; function = LED_FUNCTION_LAN; - function-enumerator = <0>; + function-enumerator = <1>; gpios = <&pio 6 GPIO_ACTIVE_LOW>; }; led-3 { color = ; function = LED_FUNCTION_LAN; - function-enumerator = <1>; + function-enumerator = <2>; gpios = <&pio 7 GPIO_ACTIVE_LOW>; }; @@ -80,7 +80,7 @@ led-5 { color = ; function = LED_FUNCTION_LAN; - function-enumerator = <2>; + function-enumerator = <3>; gpios = <&pio 10 GPIO_ACTIVE_LOW>; }; }; diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds index 6e778300cd0..a2195a82558 100644 --- a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds +++ b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds @@ -176,9 +176,9 @@ mercusys,mr80x-v3) ;; mercusys,mr85x|\ mercusys,mr85x-ubi) - ucidef_set_led_switch "lan0" "lan-0" "green:lan-0" "switch0" "0x01" - ucidef_set_led_switch "lan1" "lan-1" "green:lan-1" "switch0" "0x02" - ucidef_set_led_switch "lan2" "lan-2" "green:lan-2" "switch0" "0x04" + ucidef_set_led_switch "lan1" "lan-1" "green:lan-1" "switch0" "0x01" + ucidef_set_led_switch "lan2" "lan-2" "green:lan-2" "switch0" "0x02" + ucidef_set_led_switch "lan3" "lan-3" "green:lan-3" "switch0" "0x04" ucidef_set_led_netdev "wan" "wan" "green:wan" "eth1" "link tx rx" ;; mercusys,mr90x-v1|\