mvebu: add reset delays of PHYs for Fortinet FortiGate 50E
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 2 Sep 2023 14:06:20 +0000 (23:06 +0900)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 16 Sep 2023 10:40:03 +0000 (12:40 +0200)
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@gmail.com>
(cherry picked from commit 5c65224d8f5787f6bdfaec9547637f1f2f46354f)

target/linux/mvebu/files/arch/arm/boot/dts/armada-385-fortinet-fg-50e.dts

index 61d2da1755ceef2ceb43b6728538ed4259277996..dba215de3efabdf206cfc4e743734e594c673469 100644 (file)
                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
                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