[PATCH 4.10 038/129] ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings

2017-05-11 Thread Greg Kroah-Hartman
4.10-stable review patch.  If anyone has any objections, please let me know.

--

From: Florian Fainelli 

commit 0cdefd5b5485ee6eb3512a75739d09a4090176ed upstream.

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 
Signed-off-by: Florian Fainelli 
Signed-off-by: Maxime Ripard 
Signed-off-by: Greg Kroah-Hartman 

---
 arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
+++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
@@ -167,7 +167,7 @@
reg = <8>;
label = "cpu";
ethernet = <>;
-   phy-mode = "rgmii";
+   phy-mode = "rgmii-txid";
fixed-link {
speed = <1000>;
full-duplex;




[PATCH 4.10 038/129] ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings

2017-05-11 Thread Greg Kroah-Hartman
4.10-stable review patch.  If anyone has any objections, please let me know.

--

From: Florian Fainelli 

commit 0cdefd5b5485ee6eb3512a75739d09a4090176ed upstream.

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 
Signed-off-by: Florian Fainelli 
Signed-off-by: Maxime Ripard 
Signed-off-by: Greg Kroah-Hartman 

---
 arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
+++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
@@ -167,7 +167,7 @@
reg = <8>;
label = "cpu";
ethernet = <>;
-   phy-mode = "rgmii";
+   phy-mode = "rgmii-txid";
fixed-link {
speed = <1000>;
full-duplex;