[U-Boot] [PATCH] ARM: dts: socfpga: Add missing altr, sysmgr-syscon for EMAC

Ley Foon Tan
2019-03-13T11:54:14Z

On Wed, 2019-03-13 at 10:33 -0500, Dinh Nguyen wrote:
>
> On 3/13/19 9:32 AM, Dinh Nguyen wrote:
> >
> >
> >
> > On 3/13/19 12:59 AM, Ley Foon Tan wrote:
> > >
> > > On Wed, 2019-03-13 at 04:30 +0100, Marek Vasut wrote:
> > > >
> > > > On 3/13/19 4:03 AM, Ley Foon Tan wrote:
> > > > >
> > > > >
> > > > > Syscon register is required in dts to select correct
> > > > > PHY interface.
> > > > >
> > > > > Fix error below:
> > > > >
> > > > > Net:   Failed to get syscon: -2
> > > > >
> > > > > Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
> > > > Is this fixed in mainline Linux too ?
> > > Didn't see this in mainline Linux.
> > >
> > > Dinh, do you aware of this? I see sysmgr-syscon error in EMAC in
> > > v4.20
> > > kernel.
> > >
> > > [    1.427994] socfpga-dwmac ff800000.ethernet: Could not read
> > > reg_offset from sysmgr-syscon!
> > > [    1.436241] socfpga-dwmac ff800000.ethernet: Unable to parse
> > > OF data
> > > [    1.442646] socfpga-dwmac: probe of ff800000.ethernet failed
> > > with
> > > error -22
> It looks like you're running downstream Linux. The failed to probe
> message is only in the downstream Linux, not upstream Linux.
>
> Dinh
>
Yes, I am using downstream socfpga-4.20 branch. Upstream Linux can ping
IP address successfully?

Regards
Ley Foon