From: INAGAKI Hiroshi Date: Sat, 2 Sep 2023 14:06:20 +0000 (+0900) Subject: mvebu: add reset delays of PHYs for Fortinet FortiGate 50E X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5c65224d8f5787f6bdfaec9547637f1f2f46354f;p=openwrt%2Fstaging%2Fthess.git 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 --- 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