mediatek: increase phy assert time for jdcloud re-cp-03
authorTianling Shen <cnsztl@immortalwrt.org>
Wed, 7 Aug 2024 18:53:51 +0000 (02:53 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 8 Aug 2024 20:07:08 +0000 (22:07 +0200)
According to RTL8221B's datasheet, the PHY requires at least 10ms
for assert and 68ms (recommended) for de-assert. So increase the
assert/de-assert time to 15ms and 68ms respectively.

Fixes: c0c3234e1720 ("mediatek: add support for JDCloud RE-CP-03")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/16106
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit d1954aa5353eca59bb76d860b09a68a01e7ec05a)

target/linux/mediatek/dts/mt7986a-jdcloud-re-cp-03.dts

index b62c2f421516addd2668eca2bef7127a83adef7e..2592ad9c2c155984abbc7a0ff54561f0e0621c9d 100644 (file)
                reg = <6>;
 
                reset-gpios = <&pio 6 GPIO_ACTIVE_LOW>;
-               reset-assert-us = <10000>;
-               reset-deassert-us = <50000>;
+               reset-assert-us = <15000>;
+               reset-deassert-us = <68000>;
                realtek,aldps-enable;
        };