[openwrt/openwrt] mvebu: add reset delays of PHYs for Fortinet FortiGate 50E
LEDE Commits
lede-commits at lists.infradead.org
Sun Sep 3 14:00:31 PDT 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5c65224d8f5787f6bdfaec9547637f1f2f46354f
commit 5c65224d8f5787f6bdfaec9547637f1f2f46354f
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Sat Sep 2 23:06:20 2023 +0900
mvebu: add reset delays of PHYs for Fortinet FortiGate 50E
Add reset-(de)assert-us to ethernet PHYs on Fortinet FortiGate 50E to
solve instability after HW resetting of PHYs. (ex.: restarting "network"
service, etc...)
Fixes: #13391
Fixes: 102dc5a62506 ("mvebu: add support for Fortinet FortiGate 50E")
Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
---
.../mvebu/files/arch/arm/boot/dts/armada-385-fortinet-fg-50e.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-fortinet-fg-50e.dts b/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-fortinet-fg-50e.dts
index 61d2da1755..dba215de3e 100644
--- a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-fortinet-fg-50e.dts
+++ b/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-fortinet-fg-50e.dts
@@ -297,6 +297,8 @@
interrupt-parent = <&gpio0>;
interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <10000>;
/*
* LINK/ACT (Green): LED[0], Active Low
* SPEED 100M (Amber): LED[1], Active High
@@ -313,6 +315,8 @@
interrupt-parent = <&gpio1>;
interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <10000>;
/*
* LINK/ACT (Green): LED[0], Active Low
* SPEED 100M (Amber): LED[1], Active High
More information about the lede-commits
mailing list