Hi,

On Sat, Oct 28, 2017 at 09:01:39PM +0200, Andrew Lunn wrote:
> On Thu, Oct 26, 2017 at 03:28:36PM +0300, Aaro Koskinen wrote:
> > When upgrading from v4.13 to v4.14-rc6 on OpenRD Client, the box loses
> > network connectivity.
> 
> What exactly is the PHY in the OpenRD?

88E1116R.

> Please can you print the value of mscr before it is changed.

[    3.377836] MSCR BEFORE: 00001070
[    3.381176]  MSCR AFTER: 00001040

> One possibility, is that the bootloader is setting the PHY to
> rgmii-id. This is now getting cleared, where earlier it was
> preserved. If this is true, it should be solved by adding
> 
> phy-mode = "rgmii-id" to the ethernet node in the device tree.

Ok, that seems to help:

[    3.377852] MSCR BEFORE: 00001070
[    3.381189]  MSCR AFTER: 00001070

diff --git a/arch/arm/boot/dts/kirkwood-openrd-client.dts 
b/arch/arm/boot/dts/kirkwood-openrd-client.dts
index 96ff59d..2bf3cb3 100644
--- a/arch/arm/boot/dts/kirkwood-openrd-client.dts
+++ b/arch/arm/boot/dts/kirkwood-openrd-client.dts
@@ -65,6 +65,7 @@
        status = "okay";
        ethernet0-port@0 {
                phy-handle = <&ethphy0>;
+               phy-mode = "rgmii-id";
        };
 };
 
@@ -72,6 +73,7 @@
        status = "okay";
        ethernet1-port@0 {
                phy-handle = <&ethphy1>;
+               phy-mode = "rgmii-id";
        };
 };

A.

Reply via email to