Re: [PATCH v2 2/2] arm64: dts: rockchip: Add rk3576 evb2 board
From: Alexey Charkov <alchark@gmail.com>
Date: 2026-01-08 06:53:27
Also in:
linux-devicetree, linux-rockchip, lkml
From: Alexey Charkov <alchark@gmail.com>
Date: 2026-01-08 06:53:27
Also in:
linux-devicetree, linux-rockchip, lkml
On Wed, Jan 7, 2026 at 10:18 PM Andrew Lunn [off-list ref] wrote:
quoted
+&gmac0 { + clock_in_out = "output"; + phy-mode = "rgmii-rxid";rgmii-rxid is odd. Does the PCB really have an extra long TX clock line, but a short RX clock line? Try changing this to rgmii-id, and drop the tx_delay property.
Actually it would be great if Rockchip could clarify the delay
duration introduced by a single delay element in GMAC-IOMUX delay
lines, which are controlled in the GMAC driver by the {tx,rx}_delay
properties. Maybe we could then switch to using
{tx,rx}_internal_delay_ps for fine-tuning the delays on the GMAC side
as envisaged in DT bindings [1], and use phy-mode = "rgmii-id"
throughout. Chaoyi, any chance you could ask around in your hardware
team?
Currently though removing the delays at GMAC side altogether causes
unstable link operation - see [2] for example.
[1] https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/net/ethernet-controller.yaml#L342-L347
[2] https://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux/-/commit/372f3e9ae62cc62cdf2543391ea57be6bb548a0c
Best regards,
Alexey