]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: change eth phy mode to rgmii-id for orangepi r1 plus lts
authorTianling Shen <cnsztl@gmail.com>
Sun, 19 Jan 2025 09:11:54 +0000 (17:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2025 12:30:24 +0000 (04:30 -0800)
commit a6a7cba17c544fb95d5a29ab9d9ed4503029cb29 upstream.

In general the delay should be added by the PHY instead of the MAC,
and this improves network stability on some boards which seem to
need different delay.

Fixes: 387b3bbac5ea ("arm64: dts: rockchip: Add Xunlong OrangePi R1 Plus LTS")
Cc: stable@vger.kernel.org # 6.6+
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Link: https://lore.kernel.org/r/20250119091154.1110762-1-cnsztl@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
[Fix conflicts due to missing dtsi conversion]
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus-lts.dts

index 4237f2ee8fee3370711d376313c7f966ab597995..f57d4acd9807cbe31bac81ce30aac383bf13a36c 100644 (file)
 };
 
 &gmac2io {
+       /delete-property/ tx_delay;
+       /delete-property/ rx_delay;
+
        phy-handle = <&yt8531c>;
-       tx_delay = <0x19>;
-       rx_delay = <0x05>;
+       phy-mode = "rgmii-id";
 
        mdio {
                /delete-node/ ethernet-phy@1;