Re: [PATCH 0/3] Expose REFCLK for RMII and enable RMII
From: Ryan Wanner
Date: Mon Jun 23 2025 - 12:25:54 EST
On 6/21/25 00:24, Andrew Lunn wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> On Thu, Jun 19, 2025 at 10:04:12AM -0700, Ryan.Wanner@xxxxxxxxxxxxx wrote:
>> From: Ryan Wanner <Ryan.Wanner@xxxxxxxxxxxxx>
>>
>> This set allows the REFCLK property to be exposed as a dt-property to
>> properly reflect the correct RMII layout. RMII can take an external or
>> internal provided REFCLK, since this is not SoC dependent but board
>> dependent this must be exposed as a DT property for the macb driver.
>
> What board is going to use this? Do you have a patch for a .dts file?
Our SAMA7D65_curiosity board has a connector that allows us to change
ethernet phys. Since some of the phys we have provide their own REFCLK
while others do not, this property needs to be added so we are able to
use all of these.
I do not have an exact .dts patch for this since our default is MPU
provides the REFCLK, this property will be used with dt-overlays that
match each phy that is connected.
Ryan
>
> Andrew