[openwrt/openwrt] mediatek: increase phy assert time for jdcloud re-cp-03

LEDE Commits lede-commits at lists.infradead.org
Thu Aug 8 11:02:48 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d1954aa5353eca59bb76d860b09a68a01e7ec05a

commit d1954aa5353eca59bb76d860b09a68a01e7ec05a
Author: Tianling Shen <cnsztl at immortalwrt.org>
AuthorDate: Thu Aug 8 02:53:51 2024 +0800

    mediatek: increase phy assert time for jdcloud re-cp-03
    
    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 at immortalwrt.org>
    Link: https://github.com/openwrt/openwrt/pull/16106
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/dts/mt7986a-jdcloud-re-cp-03.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7986a-jdcloud-re-cp-03.dts b/target/linux/mediatek/dts/mt7986a-jdcloud-re-cp-03.dts
index 372d4ec22a..7461cdd49b 100644
--- a/target/linux/mediatek/dts/mt7986a-jdcloud-re-cp-03.dts
+++ b/target/linux/mediatek/dts/mt7986a-jdcloud-re-cp-03.dts
@@ -133,8 +133,8 @@
 		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;
 	};
 




More information about the lede-commits mailing list