Thread (7 messages) 7 messages, 2 authors, 2022-03-25

Re: [PATCH] ARM: dts: aspeed: add Nuvia DC-SCM BMC

From: Andrew Lunn <andrew@lunn.ch>
Date: 2022-03-24 22:19:39
Also in: linux-aspeed, linux-devicetree

On Thu, Mar 24, 2022 at 02:27:34PM -0700, Jae Hyun Yoo wrote:
Hi Andrew,

On 3/24/2022 2:23 PM, Andrew Lunn wrote:
quoted
On Thu, Mar 24, 2022 at 09:45:51AM -0700, Jae Hyun Yoo wrote:
quoted
From: Graeme Gregory <redacted>

+&mac2 {
+	status = "okay";
+
+	phy-mode = "rgmii";
Are you sure about this? That PHY are you using? It is more normal to
use rgmii-id.
Yes, I'm sure. PHY works with rgmii on my board. I picked a different
clock delay setting too.
Do you know who is inserting the delay? It looks like rgmii will be
passed to the PHY. So there are few possibilities here:

The MAC is adding the delay. Not recommended, but does work. In that
case, your DT is correct.

The bootloader or strapping configures the PHY to insert the
delay. The PHY driver then ignores 'rgmii' and leaves the
configuration alone. This will break sometime in the future when
somebody fixes the PHY driver to actually set the PHY to rgmii as
requested. In this case, both the PHY driver and your DT is broken.

The board itself inserts the delays by having long tracks. In this
case, your DT is correct.

It would be good to understand this, just in case it is the second
condition.

      Andrew



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help