[PATCH] arch: arm: dts: agilex: Disable gmac2 node for Agilex7M

Chee, Tien Fong tien.fong.chee at altera.com
Fri Jul 10 18:30:04 CEST 2026


Hi Alif,

On Wed, 29 Apr 2026 01:15:29 -0700, alif.zakuan.yuslaimi at altera.com wrote:
> From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at altera.com>
>
> Disable gmac2 node with the incorrect settings to only enable gmac0 as
> default for the standard reference Agilex7M devkit.
>
> The gmac2 node can be enabled and configured with the correct
> board-specific settings for other Agilex7M board variants in the Linux
> device tree.
>
> Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at altera.com>
> ---
>  arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi | 30 -------------------
>  1 file changed, 30 deletions(-)
>
> diff --git a/arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi b/arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi
> index f2150b7eb7b..9dc2c66f6f1 100644
> --- a/arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi
> +++ b/arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi
> @@ -69,36 +69,6 @@
>  	};
>  };
>  
> -&gmac2 {
> -	status = "okay";
> -	phy-mode = "rgmii";
> -	phy-handle = <&phy0>;
> -
> -	max-frame-size = <3800>;
> -
> -	mdio2 {
> -		#address-cells = <1>;
> -		#size-cells = <0>;
> -		compatible = "snps,dwmac-mdio";
> -		phy2: ethernet-phy at 2 {
> -			reg = <4>;
> -
> -			txd0-skew-ps = <0>; /* -420ps */
> -			txd1-skew-ps = <0>; /* -420ps */
> -			txd2-skew-ps = <0>; /* -420ps */
> -			txd3-skew-ps = <0>; /* -420ps */
> -			rxd0-skew-ps = <420>; /* 0ps */
> -			rxd1-skew-ps = <420>; /* 0ps */
> -			rxd2-skew-ps = <420>; /* 0ps */
> -			rxd3-skew-ps = <420>; /* 0ps */
> -			txen-skew-ps = <0>; /* -420ps */
> -			txc-skew-ps = <1860>; /* 960ps */
> -			rxdv-skew-ps = <420>; /* 0ps */
> -			rxc-skew-ps = <1680>; /* 780ps */
> -		};
> -	};
> -};
> -
>  &qspi {
>  	status = "disabled";
>  };

Looks good to me. Thanks.

Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com>

Best regards,
Tien Fong


More information about the U-Boot mailing list