From 4fbdadc0bf01196d4e385872cfa805060fb127a6 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Wed, 30 Dec 2020 21:56:55 +0100 Subject: [PATCH] ath79: apply Engenius ECB1750 style to OpenMesh MR900 RGMII cfg The OpenMesh MR900 is a modified version of the Exx900/Exx1750 family. These devices are shipped with an AR803x PHY and had various problems with the delay configuration in ar71xx. These problems are now in the past [1] and parts of the delay configuration should now be done in the PHY only. Just switch to the configuration of the ECB1750 to have an already well tested configuration for ath79 with the newer kernel versions. [1] https://github.com/openwrt/openwrt/pull/3505#issuecomment-716050292 Reported-by: Michael Pratt Signed-off-by: Sven Eckelmann --- target/linux/ath79/dts/qca9558_openmesh_mr900.dtsi | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/target/linux/ath79/dts/qca9558_openmesh_mr900.dtsi b/target/linux/ath79/dts/qca9558_openmesh_mr900.dtsi index e506e12c31..8c612042c8 100644 --- a/target/linux/ath79/dts/qca9558_openmesh_mr900.dtsi +++ b/target/linux/ath79/dts/qca9558_openmesh_mr900.dtsi @@ -145,20 +145,16 @@ ð0 { status = "okay"; - pll-data = <0xae000000 0xa0000101 0xa0001313>; + pll-data = <0x82000000 0x80000101 0x80001313>; mtd-mac-address = <&art 0x0>; - phy-mode = "rgmii-rxid"; + phy-mode = "rgmii-id"; phy-handle = <&phy5>; gmac-config { device = <&gmac>; rgmii-enabled = <1>; - rxd-delay = <3>; - rxdv-delay = <3>; - txd-delay = <0>; - txen-delay = <0>; }; }; -- 2.30.2