aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorGravatar Arınç ÜNAL <arinc.unal@arinc9.com> 2021-12-17 00:03:19 +0800
committerGravatar Florian Fainelli <f.fainelli@gmail.com> 2021-12-19 11:38:04 -0800
commit5e33f1c4a7cb914a003a304ab8eef705b17aabb7 (patch)
tree076ccca433873a3005c98bbcf6c9e59409e35c01 /arch/arm/boot
parentMerge tag 'tags/bcm2835-bindings-2021-12-18' into devicetree/next (diff)
downloadlinux-5e33f1c4a7cb914a003a304ab8eef705b17aabb7.tar.gz
linux-5e33f1c4a7cb914a003a304ab8eef705b17aabb7.tar.bz2
linux-5e33f1c4a7cb914a003a304ab8eef705b17aabb7.zip
ARM: dts: BCM5301X: correct RX delay and enable flow control on Asus RT-AC88U
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
index 16dea851719f..df8199fd4eb4 100644
--- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
+++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
@@ -138,7 +138,7 @@
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>;
@@ -213,6 +213,7 @@
fixed-link {
speed = <1000>;
full-duplex;
+ pause;
};
};