ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings
Subsystems (2)
PATCH 1/1 ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings
The CPU port of the BCM53125 is configured with RGMII (no delays) but this should actually be RGMII with transmit delay (rgmii-txid) because STMMAC takes care of inserting the transmitter delay. This fixes occasional packet loss encountered.
--- arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts +1 -1
@@ -167,7 +167,7 @@ reg = <8>; label = "cpu"; ethernet = <&gmac>; - phy-mode = "rgmii"; + phy-mode = "rgmii-txid"; fixed-link { speed = <1000>; full-duplex;
Signature · 1 line
2.9.3
Maxime Ripard
AppliedHi Florian,
Quoted 8 lines · Florian Fainelli
The CPU port of the BCM53125 is configured with RGMII (no delays) but this should actually be RGMII with transmit delay (rgmii-txid) because STMMAC takes care of inserting the transmitter delay. This fixes occasional packet loss encountered.
Fixes d7b9eaff5f0c ("ARM: dts: sun7i: Add BCM53125 switch nodes to the lamobo-r1 board")Reported-by Hartmut Knaack <[email protected]>Signed-off-by Florian Fainelli <[email protected]>
Applied, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170320/59cf06e2/attachment.sig>
Hi,
Quoted 8 lines · Maxime Ripard
Hi Florian,
Quoted 5 lines · Florian Fainelli
The CPU port of the BCM53125 is configured with RGMII (no delays) but this should actually be RGMII with transmit delay (rgmii-txid) because STMMAC takes care of inserting the transmitter delay. This fixes occasional packet loss encountered.
Quoted 6 lines
Quoted 3 lines
Fixes d7b9eaff5f0c ("ARM: dts: sun7i: Add BCM53125 switch nodes to the lamobo-r1 board")Reported-by Hartmut Knaack <[email protected]>Signed-off-by Florian Fainelli <[email protected]>Applied, thanks!
Maxime
I'm not sure dwmac-sunxi supports "rgmii-txid" though. At least I don't remember implementing it.
ChenYu