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

From: Andrew Lunn
Date: Thu Mar 27 2025 - 10:27:49 EST


> +++ 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@4 {

Just conformation, the PHY is on the SOM? Are the magnetics and RJ45
socket on the SOM, or the carrier?

> + compatible = "ethernet-phy-ieee802.3-c22";
> + reg = <4>;
> + eee-broken-1000t;

> +#if 0
> + interrupts-extended = <&gpio3 2 IRQ_TYPE_LEVEL_LOW>;
> + reset-gpios = <&gpio3 16 GPIO_ACTIVE_LOW>;
> +#endif

Please don't have disabled properties.

> + reg-mask = <0x90>;

What does this property do? It is not one i recognise.

Andrew