[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aB8IFYq2uPPXm0HX@pie.lan>
Date: Sat, 10 May 2025 08:02:29 +0000
From: Yao Zi <ziyao@...root.org>
To: Jonas Karlman <jonas@...boo.se>, Heiko Stuebner <heiko@...ech.de>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: Chukun Pan <amadeus@....edu.cn>, linux-rockchip@...ts.infradead.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 0/2] rockchip: Enable Ethernet controller on Radxa E20C
On Fri, May 09, 2025 at 08:23:56PM +0000, Jonas Karlman wrote:
> The Rockchip RK3528 has two Ethernet controllers, one 100/10 MAC to be
> used with the integrated PHY and a second 1000/100/10 MAC to be used
> with an external Ethernet PHY.
>
> This series add device tree nodes for the Ethernet controllers found in
> RK3528 and enable the LAN interface on Radxa E20C.
>
> This include a gmac0 node for the 100/10 MAC and its related integrated
> PHY node that only have recived limited testing. I have no board that
> expose an Ethernet port for the gmac0 and the integrated PHY. However,
> the PHY can be identified on addr 0x2 as 0044.1400 and in vendor kernel
> this relate to the Rockchip RK630 PHY. A proper PHY driver will be
> needed to support any real use of gmac0.
>
> Changes in v3:
> - Rebase on top of latest mmind/for-next
>
> Changes in v2:
> - Split from the "Add GMAC support for RK3528" driver series [1]
> - Add ethernet-phy@2 for the integrated PHY
> - Rebase on top of the "Support I2C controllers in RK3528" series [2]
>
> [1] https://lore.kernel.org/r/20250309232622.1498084-1-jonas@kwiboo.se
> [2] https://lore.kernel.org/r/20250309070603.35254-1-ziyao@disroot.org
>
> Jonas Karlman (2):
> arm64: dts: rockchip: Add GMAC nodes for RK3528
> arm64: dts: rockchip: Enable Ethernet controller on Radxa E20C
>
> .../boot/dts/rockchip/rk3528-radxa-e20c.dts | 30 +++++
> arch/arm64/boot/dts/rockchip/rk3528.dtsi | 105 ++++++++++++++++++
> 2 files changed, 135 insertions(+)
On my Radxa E20C board, iperf3 shows the interface could run at roughly
1Gbps with this series,
# iperf3 -c 192.168.114.51
Connecting to host 192.168.114.51, port 5201
[ 5] local 192.168.114.50 port 41894 connected to 192.168.114.51 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 113 MBytes 948 Mbits/sec 0 380 KByes
[ 5] 1.00-2.00 sec 112 MBytes 944 Mbits/sec 0 399 KBytes
[ 5] 2.00-3.00 sec 112 MBytes 940 Mbits/sec 0 399 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 942 Mbits/sec 0 399 KBytes
[ 5] 4.00-5.00 sec 112 MBytes 944 Mbits/sec 0 399 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 940 Mbits/sec 0 399 KBytes
[ 5] 6.00-7.00 sec 112 MBytes 940 Mbits/sec 0 399 KBytes
[ 5] 7.00-8.00 sec 112 MBytes 944 Mbits/sec 0 399 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 941 Mbits/sec 0 399 KBytes
[ 5] 9.00-10.00 sec 112 MBytes 941 Mbits/sec 0 399 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.10 GBytes 942 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 1.10 GBytes 941 Mbits/sec receiver
iperf Done.
Tested-by: Yao Zi <ziyao@...root.org>
Thanks for your work!
> --
> 2.49.0
>
Powered by blists - more mailing lists