ARM: dts: BCM5301X: correct RX delay and enable flow control on Asus RT-AC88U
authorArınç ÜNAL <arinc.unal@arinc9.com>
Thu, 16 Dec 2021 16:03:19 +0000 (00:03 +0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sun, 19 Dec 2021 19:38:04 +0000 (11:38 -0800)
The current 'rx-internal-delay-ps' property value on the Realtek switch
node, 2000, will be divided by 300, resulting in 6.66, which will be
rounded to the closest step value, 7. Change it to 2100 to be accurate.
See ef136837aaf6 ("net: dsa: rtl8365mb: set RGMII RX delay in steps of
0.3 ns") for reference.

Flow control needs to be enabled on both sides of the internal and
external switch. It is already enabled on the CPU port of the Realtek
switch so we also enable it on the external switch port of the Broadcom
switch as well.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts

index 16dea851719f25c6db33da9b1614be9f8309b4eb..df8199fd4eb461c47ea835f6d2f92c7c8694412c 100644 (file)
                                ethernet = <&sw0_p5>;
                                phy-mode = "rgmii";
                                tx-internal-delay-ps = <2000>;
-                               rx-internal-delay-ps = <2000>;
+                               rx-internal-delay-ps = <2100>;
 
                                fixed-link {
                                        speed = <1000>;
                        fixed-link {
                                speed = <1000>;
                                full-duplex;
+                               pause;
                        };
                };