]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv64: dts: starfive: Mars ethernet0 phy delay values sync with upstream Linux
authorE Shattow <e@freeshell.de>
Sat, 26 Oct 2024 12:40:15 +0000 (05:40 -0700)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 28 Oct 2024 08:44:56 +0000 (16:44 +0800)
Milk-V Mars vendor board support package has value 0xa (multiplier=150) for both
rx and tx delay. Upstream Linux has this as 1500 for both rx and tx delay. There
is no documentation for why this should remain 1900 so correct it now. Mars CM
and Mars CM Lite follow the same network phy delay values as Mars in the vendor
board support package.

Fixes: 92db23f7660de5897c8e3b91489b5b5780ffcd16
Signed-off-by: E Shattow <e@freeshell.de>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/starfive/visionfive2/spl.c

index 4afc32cb5b2eb6c863753c2c923127bce0dc96c3..3fd535e7cfcc28fd90cfac1e15451ec99f558d50 100644 (file)
@@ -41,7 +41,7 @@ static const struct starfive_vf2_pro milk_v_mars[] = {
        {"/soc/ethernet@16030000/mdio/ethernet-phy@0",
                "motorcomm,rx-data-drv-microamp", "2910"},
        {"/soc/ethernet@16030000/mdio/ethernet-phy@0",
-               "rx-internal-delay-ps", "1900"},
+               "rx-internal-delay-ps", "1500"},
        {"/soc/ethernet@16030000/mdio/ethernet-phy@0",
                "tx-internal-delay-ps", "1500"},
 };