mvebu: update triggers of "SPEED" LEDs on FortiGate/FortiWiFi devices

The mdio bus number of mv88e6xxx was changed to '0' from '1' and the
"mv88e6xxx-1:<addr>:<speed>" triggers are unavailable now.
Update triggers for "SPEED" LEDs to make working that LEDs again.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16409
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
INAGAKI Hiroshi 2024-09-14 15:38:46 +09:00 committed by Hauke Mehrtens
parent 5c43c157aa
commit 27535ead72
3 changed files with 12 additions and 12 deletions

View File

@ -14,14 +14,14 @@
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_SPEED_WAN;
linux,default-trigger = "mv88e6xxx-1:00:100Mbps";
linux,default-trigger = "mv88e6xxx-0:00:100Mbps";
};
led-15 {
gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_SPEED_WAN;
linux,default-trigger = "mv88e6xxx-1:00:1Gbps";
linux,default-trigger = "mv88e6xxx-0:00:1Gbps";
};
};

View File

@ -31,7 +31,7 @@
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <5>;
linux,default-trigger = "mv88e6xxx-1:00:100Mbps";
linux,default-trigger = "mv88e6xxx-0:00:100Mbps";
};
led-17 {
@ -39,7 +39,7 @@
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <5>;
linux,default-trigger = "mv88e6xxx-1:00:1Gbps";
linux,default-trigger = "mv88e6xxx-0:00:1Gbps";
};
};

View File

@ -86,7 +86,7 @@
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <4>;
linux,default-trigger = "mv88e6xxx-1:01:1Gbps";
linux,default-trigger = "mv88e6xxx-0:01:1Gbps";
};
led-7 {
@ -94,7 +94,7 @@
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <4>;
linux,default-trigger = "mv88e6xxx-1:01:100Mbps";
linux,default-trigger = "mv88e6xxx-0:01:100Mbps";
};
led-8 {
@ -102,7 +102,7 @@
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <3>;
linux,default-trigger = "mv88e6xxx-1:02:100Mbps";
linux,default-trigger = "mv88e6xxx-0:02:100Mbps";
};
led-9 {
@ -110,7 +110,7 @@
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <3>;
linux,default-trigger = "mv88e6xxx-1:02:1Gbps";
linux,default-trigger = "mv88e6xxx-0:02:1Gbps";
};
led-10 {
@ -118,7 +118,7 @@
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <1>;
linux,default-trigger = "mv88e6xxx-1:04:1Gbps";
linux,default-trigger = "mv88e6xxx-0:04:1Gbps";
};
led-11 {
@ -126,7 +126,7 @@
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <1>;
linux,default-trigger = "mv88e6xxx-1:04:100Mbps";
linux,default-trigger = "mv88e6xxx-0:04:100Mbps";
};
led-12 {
@ -134,7 +134,7 @@
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <2>;
linux,default-trigger = "mv88e6xxx-1:03:1Gbps";
linux,default-trigger = "mv88e6xxx-0:03:1Gbps";
};
led-13 {
@ -142,7 +142,7 @@
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_SPEED_LAN;
function-enumerator = <2>;
linux,default-trigger = "mv88e6xxx-1:03:100Mbps";
linux,default-trigger = "mv88e6xxx-0:03:100Mbps";
};
};