[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ2_jOEr5J7_-81MjUE63OSFKL-p9whEZ_FDBihojXP2wvadVg@mail.gmail.com>
Date: Fri, 24 May 2019 10:09:58 +0530
From: Yash Shah <yash.shah@...ive.com>
To: Andreas Schwab <schwab@...e.de>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
devicetree@...r.kernel.org, robh+dt@...nel.org,
mark.rutland@....com, nicolas.ferre@...rochip.com,
Palmer Dabbelt <palmer@...ive.com>, aou@...s.berkeley.edu,
ynezz@...e.cz, Paul Walmsley <paul.walmsley@...ive.com>,
Sachin Ghadi <sachin.ghadi@...ive.com>
Subject: Re: [PATCH 0/2] net: macb: Add support for SiFive FU540-C000
Hi Andreas,
On Thu, May 23, 2019 at 6:19 PM Andreas Schwab <schwab@...e.de> wrote:
>
> On Mai 23 2019, Yash Shah <yash.shah@...ive.com> wrote:
>
> > On FU540, the management IP block is tightly coupled with the Cadence
> > MACB IP block. It manages many of the boundary signals from the MACB IP
> > This patchset controls the tx_clk input signal to the MACB IP. It
> > switches between the local TX clock (125MHz) and PHY TX clocks. This
> > is necessary to toggle between 1Gb and 100/10Mb speeds.
>
> Doesn't work for me:
>
> [ 365.842801] macb: probe of 10090000.ethernet failed with error -17
>
Make sure you have applied all the patches needed for testing found at
dev/yashs/ethernet branch of:
https://github.com/yashshah7/riscv-linux.git
In addition to that, make sure in your kernel config GPIO_SIFIVE=y
In v2 of this patch, I will add this select GPIO_SIFIVE config in the
Cadence Kconfig file.
- Yash
Powered by blists - more mailing lists