mvebu: update triggers of "SPEED" LEDs on FortiGate/FortiWiFi devices
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 14 Sep 2024 06:38:46 +0000 (15:38 +0900)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Sep 2024 13:29:16 +0000 (15:29 +0200)
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>
target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-3xe.dtsi
target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-5xe.dtsi
target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi

index 44dd42201de88a025634999f3e1ddcb834db6a95..6d835332d287423b4b1ae8fccd58bf9c03ce710e 100644 (file)
                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";
        };
 };
 
index 063632d888ba60cd5be31d1cabe427c81c6b0c73..bf1daa3bc6025a0dd1da5a01f2dba9cfddb73135 100644 (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";
        };
 };
 
index 6e2f10c56af2486d8d09620d565b4d6db8f6c767..a1adddc4e04ebb00814e88c841b999dd30453856 100644 (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 {
                        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 {
                        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 {
                        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 {
                        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 {
                        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 {
                        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";
                };
        };