[PATCH v2] arm64: dts: imx8mp: Add device tree for Nitrogen8M Plus ENC Carrier Board

Andrew Lunn andrew at lunn.ch
Tue Apr 8 09:13:10 PDT 2025


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 at lunn.ch> 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 = <&ethphy0>;
>  > > +    phy-mode = "rgmii-id";
>  > > +    status = "okay";
>  > > +
>  > > +    mdio {
>  > > +        compatible = "snps,dwmac-mdio";
>  > > +        #address-cells = <1>;
>  > > +        #size-cells = <0>;
>  > > +
>  > > +        ethphy0: ethernet-phy at 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



More information about the linux-arm-kernel mailing list