ath79: apply Engenius ECB1750 style to OpenMesh MR900 RGMII cfg
authorSven Eckelmann <sven@narfation.org>
Wed, 30 Dec 2020 20:56:55 +0000 (21:56 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 19 Jan 2021 14:39:36 +0000 (15:39 +0100)
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 <mcpratt@pm.me>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
target/linux/ath79/dts/qca9558_openmesh_mr900.dtsi

index e506e12..8c61204 100644 (file)
 &eth0 {
        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>;
        };
 };