[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dex2g5mafop6vtc5qdkdlunk5te53u7xxntcz6sjhwldhah6hl@gs6inqeuzlo2>
Date: Mon, 16 Jun 2025 08:55:47 +0800
From: Inochi Amaoto <inochiama@...il.com>
To: Alexander Sverdlin <alexander.sverdlin@...il.com>,
Inochi Amaoto <inochiama@...il.com>, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Chen Wang <unicorn_wang@...look.com>, Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
Alexandre Ghiti <alex@...ti.fr>, Richard Cochran <richardcochran@...il.com>,
Yixun Lan <dlan@...too.org>, Thomas Bonnefille <thomas.bonnefille@...tlin.com>,
Ze Huang <huangze@...t.edu.cn>
Cc: netdev@...r.kernel.org, devicetree@...r.kernel.org,
sophgo@...ts.linux.dev, linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
Longbin Li <looong.bin@...il.com>
Subject: Re: [PATCH net-next RFC 0/3] riscv: dts: sophgo: Add ethernet
support for cv18xx
On Sat, Jun 14, 2025 at 11:19:34PM +0200, Alexander Sverdlin wrote:
> Hi Inochi!
>
> On Wed, 2025-06-11 at 16:07 +0800, Inochi Amaoto wrote:
> > Add device binding and dts for CV18XX series SoC, this dts change series
> > require both the mdio patch [1] and the reset patch [2].
> >
> > [1] https://lore.kernel.org/all/20250611080228.1166090-1-inochiama@gmail.com
> > [2] https://lore.kernel.org/all/20250611075321.1160973-1-inochiama@gmail.com
> >
> > Inochi Amaoto (3):
> > dt-bindings: net: Add support for Sophgo CV1800 dwmac
> > riscv: dts: sophgo: Add ethernet device for cv18xx
> > riscv: dts: sophgo: Add mdio multiplexer device for cv18xx
>
> Have you noticed any problems on the board you are testing on?
> I've added the patchset + pre-requisited + the following into my board DT
> for Milk-V Duo Module 01 EVB:
>
> &mdio {
> status = "okay";
> };
>
> &gmac0 {
> phy-mode = "internal";
> phy-handle = <&internal_ephy>;
> status = "okay";
> };
>
> And the PHY is being detected and the Ethernet controller is being instantiated,
> but the PHY behaves really strange: LEDs blinking wildly, link status is bogus
> 100FULL UP even without cable insterted and the real traffic starts to travel
> only roughly a minute after the cable has been plugged in.
>
This is true and may be related to a wrong pinctrl setting or the
phy setting. But I am not sure the right configuration is at now.
IIRC the phy is inited in the uboot and the kernel does not touch
its custom part.
Regards,
Inochi
Powered by blists - more mailing lists