[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<SEYPR06MB5134CC0EBA73420A4B394A009D122@SEYPR06MB5134.apcprd06.prod.outlook.com>
Date: Wed, 8 Jan 2025 03:54:29 +0000
From: Jacky Chou <jacky_chou@...eedtech.com>
To: "andrew@...n.ch" <andrew@...n.ch>
CC: "andrew+netdev@...n.ch" <andrew+netdev@...n.ch>,
"andrew@...econstruct.com.au" <andrew@...econstruct.com.au>,
"conor+dt@...nel.org" <conor+dt@...nel.org>, "davem@...emloft.net"
<davem@...emloft.net>, "devicetree@...r.kernel.org"
<devicetree@...r.kernel.org>, "eajames@...ux.ibm.com"
<eajames@...ux.ibm.com>, "edumazet@...gle.com" <edumazet@...gle.com>,
"joel@....id.au" <joel@....id.au>, "krzk+dt@...nel.org" <krzk+dt@...nel.org>,
"kuba@...nel.org" <kuba@...nel.org>, "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-aspeed@...ts.ozlabs.org"
<linux-aspeed@...ts.ozlabs.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "minyard@....org" <minyard@....org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>, "ninad@...ux.ibm.com"
<ninad@...ux.ibm.com>, "openipmi-developer@...ts.sourceforge.net"
<openipmi-developer@...ts.sourceforge.net>, "pabeni@...hat.com"
<pabeni@...hat.com>, "ratbert@...aday-tech.com" <ratbert@...aday-tech.com>,
"robh@...nel.org" <robh@...nel.org>
Subject: [PATCH v2 05/10] ARM: dts: aspeed: system1: Add RGMII support
Hi Andrew,
I am ASPEED team.
>> system1 has 2 transceiver connected through the RGMII interfaces. Added
>> device tree entry to enable RGMII support.
>>
>> ASPEED AST2600 documentation recommends using 'rgmii-rxid' as a
>> 'phy-mode' for mac0 and mac1 to enable the RX interface delay from the
>> PHY chip.
>
>Why?
>
>Does the mac0 TX clock have an extra long clock line on the PCB?
>
>Does the mac1 TX and RX clocks have extra long clock lines on the PCB?
>
>Anything but rgmii-id is in most cases wrong, so you need a really
>good explanation why you need to use something else. Something that
>shows you understand what is going on, and why what you have is
>correct.
Here I'll add some explanation.
In our design, we hope the TX and RX RGMII delay are configured by our MAC side.
We can control the TX/RX RGMII delay on MAC step by step, it is not a setting to delay to 2 ns.
We are not sure the all target PHYs are support for RX internal delay.
But ast2600 MAC1/2 delay cell cannot cover range to 2 ns, MAC 3/4 can do that.
Therefore, when using ast2600 MAC1/2, please enable the RX internal delay on the PHY side
to make up for the part we cannot cover.
Summarize our design and we recommend.
AST2600 MAC1/2: rgmii-rxid
(RGMII with internal RX delay provided by the PHY, the MAC should not add an RX delay in this
case)
AST2600 MAC3/4: rgmii
(RX and TX delays are added by the MAC when required)
rgmii and rgmii-rxid are referred from ethernet-controller.yaml file.
Thanks,
Jacky
Powered by blists - more mailing lists