[openwrt/openwrt] mvebu: update triggers of "SPEED" LEDs on FortiGate/FortiWiFi devices
LEDE Commits
lede-commits at lists.infradead.org
Sun Sep 22 06:30:13 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/27535ead7213898c316ef75e1d585aa192539a61
commit 27535ead7213898c316ef75e1d585aa192539a61
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Sat Sep 14 15:38:46 2024 +0900
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 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16409
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
.../arm/boot/dts/marvell/armada-385-fortinet-fg-3xe.dtsi | 4 ++--
.../arm/boot/dts/marvell/armada-385-fortinet-fg-5xe.dtsi | 4 ++--
.../arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi | 16 ++++++++--------
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-3xe.dtsi b/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-3xe.dtsi
index 44dd42201d..6d835332d2 100644
--- a/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-3xe.dtsi
+++ b/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-3xe.dtsi
@@ -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";
};
};
diff --git a/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-5xe.dtsi b/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-5xe.dtsi
index 063632d888..bf1daa3bc6 100644
--- a/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-5xe.dtsi
+++ b/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-5xe.dtsi
@@ -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";
};
};
diff --git a/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi b/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi
index 6e2f10c56a..a1adddc4e0 100644
--- a/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi
+++ b/target/linux/mvebu/files-6.6/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi
@@ -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";
};
};
More information about the lede-commits
mailing list