Re: [PATCH v2] arm64: dts: imx8mp: Add device tree for Nitrogen8M Plus ENC Carrier Board
From: Andrew Lunn
Date: Tue Apr 08 2025 - 12:20:53 EST
On Tue, Apr 08, 2025 at 05:02:07PM +0100, Martyn Welch wrote:
> ---- On Thu, 27 Mar 2025 14:25:38 +0000 Andrew Lunn <andrew@xxxxxxx> wrote ---
> > > +++ b/arch/arm64/boot/dts/freescale/imx8mp-nitrogen-som.dtsi
> > > @@ -0,0 +1,415 @@
> > > +&eqos {
> > > + pinctrl-names = "default";
> > > + pinctrl-0 = <&pinctrl_eqos>;
> > > + phy-handle = <ðphy0>;
> > > + phy-mode = "rgmii-id";
> > > + status = "okay";
> > > +
> > > + mdio {
> > > + compatible = "snps,dwmac-mdio";
> > > + #address-cells = <1>;
> > > + #size-cells = <0>;
> > > +
> > > + ethphy0: ethernet-phy@4 {
> >
> > Just conformation, the PHY is on the SOM? Are the magnetics and RJ45
> > socket on the SOM, or the carrier?
> >
>
> The PHY is on the SOM, the magnetics and RJ45 socket are on the carrier.
Thanks. So phy-mode is in the right place.
>
> > > + compatible = "ethernet-phy-ieee802.3-c22";
> > > + reg = <4>;
and the reg value is fixed.
Andrew