On Fri, Mar 07, 2025 at 10:16:08AM +0100, Jonas Karlman wrote: > Hi Andrew, > > On 2025-03-06 23:49, Andrew Lunn wrote: > >> +&mdio1 { > >> + rgmii_phy: ethernet-phy@1 { > >> + compatible = "ethernet-phy-ieee802.3-c22"; > > > > The compatible is not needed. That is the default. > > Interesting, however I rather be explicit to not cause any issue for > U-Boot or any other user of the device trees beside Linux kernel. O.K. But any system using Linux .dts files should be happy with no compatible, since that is how the majority are. Because PHYs have ID registers, generally there is no need for a compatible. The only time you do need a compatible is: * The ID registers are wrong * The ID registers cannot be read, chicken/egg problems the driver needs to solve * The Clause 22 address space is not implemented and you need to indicate C45 should be used to get the ID registers. None of this is specific to Linux. Andrew