[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53BBA219.8000607@roese.nl>
Date: Tue, 08 Jul 2014 09:47:37 +0200
From: Stefan Roese <mail@...se.nl>
To: Pavel Machek <pavel@...x.de>, Dinh Nguyen <dinguyen@...era.com>
CC: dzu@...x.de, netdev@...r.kernel.org, gsi@...x.de,
peppe.cavallaro@...com, s.trumtrar@...gutronix.de,
linux-arm-kernel@...ts.infradead.org
Subject: Re: socfpga/sockit ethernet problems
Hi!
On 07.07.2014 23:43, Pavel Machek wrote:
>> All of this stuff is not needed as it's already taken care of by the
>> Micrel phy driver. The clock skew values are now represented in the DTS.
>> Please look at:
>>
>> Documentation/devicetree/bindings/net/micrel-ksz90x1.txt
>
> Aah, thanks for the pointer.
>
> At least socfpga_cyclone5_socrates.dts is in the mainline, but it does
> not have any skew configuration. That may explain why the board seems
> to have problems with ethernet... (or not).
>
> Are there suitable default values?
>
> u-boot uses these defaults:
>
> include/configs/socfpga_common.h:#define CONFIG_KSZ9021_CLK_SKEW_VAL
> 0xf0f0
> include/configs/socfpga_common.h:#define CONFIG_KSZ9021_DATA_SKEW_VAL
> 0x0
>
> ...that should correspond to txc-skew-ps == rxc-skew-ps == 3000, all
> other skew values == 0?
>
> Could someone with socrates board and network problems test if this
> makes any difference?
SoCrates uses a different PHY, the Lantiq PEF7071 (PHY11G). So those dts
additions have no effect on SoCrates.
Thanks,
Stefan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists