]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-am654-base-board-u-boot: change cpsw2g interface mode to rgmii-rxid
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 18 Nov 2019 21:04:47 +0000 (23:04 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:42 +0000 (09:47 -0600)
The AM654 SoC doesn't allow to disabling RGMII TX internal delay in CPSW2G
MAC. Hence, change CPSW2G interface mode to "rgmii-rxid" - RGMII with
internal RX delay provided by the PHY, the MAC will add an TX delay in this
case.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
arch/arm/dts/k3-am654-base-board-u-boot.dtsi

index 8589f76d234651e31d2eb12598764822c4fe7dfd..bea80c5d00511b726b05a1aa9362e681760e6f7d 100644 (file)
                reg = <0>;
                /* TODO: phy reset: TCA9555RTWR(i2c:0x21)[p04].GPIO_MCU_RGMII_RSTN */
                ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
-               ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
                ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
        };
 };
 
 &cpsw_port1 {
-       phy-mode = "rgmii-id";
+       phy-mode = "rgmii-rxid";
        phy-handle = <&phy0>;
 };