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 18:00:12 +0000 (20:00 +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>
target/linux/mediatek/dts/mt7986a-jdcloud-re-cp-03.dts

index 372d4ec22ae909fb172d357caca6678406ba6748..7461cdd49beb8ceecde54554e7d7681f08a0dfc9 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;
        };