ARM: dts: aspeed: ast2600-evb: Enable RX delay for MAC0/MAC1
authorHoward Chiu <howard_chiu@aspeedtech.com>
Fri, 1 Apr 2022 06:59:06 +0000 (06:59 +0000)
committerJoel Stanley <joel@jms.id.au>
Thu, 19 May 2022 03:34:54 +0000 (13:04 +0930)
Since mac0/1 and mac2/3 are physically located on different die,
they have different properties by nature, which is mac0/1 has smaller delay step.

The property 'phy-mode' on ast2600 mac0 and mac1 is recommended to set to 'rgmii-rxid'
which enables the RX interface delay from the PHY chip.
Refer page 45 of SDK User Guide v08.00
https://github.com/AspeedTech-BMC/openbmc/releases/download/v08.00/SDK_User_Guide_v08.00.pdf

Fixes: 2ca5646b5c2f ("ARM: dts: aspeed: Add AST2600 and EVB")
Signed-off-by: Howard Chiu <howard_chiu@aspeedtech.com>
Link: https://lore.kernel.org/r/SG2PR06MB23152A548AAE81140B57DD69E6E09@SG2PR06MB2315.apcprd06.prod.outlook.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-ast2600-evb.dts

index b7eb552..788448c 100644 (file)
 &mac0 {
        status = "okay";
 
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-rxid";
        phy-handle = <&ethphy0>;
 
        pinctrl-names = "default";
 &mac1 {
        status = "okay";
 
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-rxid";
        phy-handle = <&ethphy1>;
 
        pinctrl-names = "default";