[PATCH 2/2] ARM: socfpga: remove obsolete gmac device tree nodes

Michael Tretter
2026-04-23T06:58:53Z

The nodes for the gmacs are already defined in the imported Linux device
tree of the Agilex 5. The device tree nodes defined by barebox are no
longer in use.

Remove them.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
arch/arm/dts/socfpga_agilex5.dtsi | 51 -----------------------------
arch/arm/dts/socfpga_agilex5_axe5_eagle.dts | 1 -
2 files changed, 52 deletions(-)

diff --git a/arch/arm/dts/socfpga_agilex5.dtsi b/arch/arm/dts/socfpga_agilex5.dtsi
deleted file mode 100644
index 96039a1f36c5..000000000000
--- a/arch/arm/dts/socfpga_agilex5.dtsi
+++ /dev/null
@@ -1,51 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (C) 2019-2023 Intel Corporation <www.intel.com>
- */
-
-&soc {
- gmac0: ethernet@10810000 {
- compatible = "intel,socfpga-dwxgmac", "snps,dwxgmac-2.10", "snps,dwxgmac";
- reg = <0x10810000 0x3500>;
- interrupts = <0 190 4>;
- interrupt-names = "macirq";
- resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>;
- reset-names = "stmmaceth", "stmmaceth-ocp";
- tx-fifo-depth = <32768>;
- rx-fifo-depth = <16384>;
- altr,sysmgr-syscon = <&sysmgr 0x44 0>;
- clocks = <&clkmgr AGILEX5_EMAC0_CLK>;
- clock-names = "stmmaceth";
- status = "disabled";
- };
-
- gmac1: ethernet@10820000 {
- compatible = "intel,socfpga-dwxgmac", "snps,dwxgmac-2.10", "snps,dwxgmac";
- reg = <0x10820000 0x3500>;
- interrupts = <0 207 4>;
- interrupt-names = "macirq";
- resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>;
- reset-names = "stmmaceth", "stmmaceth-ocp";
- tx-fifo-depth = <32768>;
- rx-fifo-depth = <16384>;
- altr,sysmgr-syscon = <&sysmgr 0x48 0>;
- clocks = <&clkmgr AGILEX5_EMAC1_CLK>;
- clock-names = "stmmaceth";
- status = "disabled";
- };
-
- gmac2: ethernet@10830000 {
- compatible = "intel,socfpga-dwxgmac", "snps,dwxgmac-2.10", "snps,dwxgmac";
- reg = <0x10830000 0x3500>;
- interrupts = <0 224 4>;
- interrupt-names = "macirq";
- resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>;
- reset-names = "stmmaceth", "stmmaceth-ocp";
- tx-fifo-depth = <32768>;
- rx-fifo-depth = <16384>;
- altr,sysmgr-syscon = <&sysmgr 0x4c 0>;
- clocks = <&clkmgr AGILEX5_EMAC2_CLK>;
- clock-names = "stmmaceth";
- status = "disabled";
- };
-};
diff --git a/arch/arm/dts/socfpga_agilex5_axe5_eagle.dts b/arch/arm/dts/socfpga_agilex5_axe5_eagle.dts
index f67b974f2adc..16491323da6c 100644
--- a/arch/arm/dts/socfpga_agilex5_axe5_eagle.dts
+++ b/arch/arm/dts/socfpga_agilex5_axe5_eagle.dts
@@ -4,7 +4,6 @@
*/

#include <arm64/intel/socfpga_agilex5.dtsi>
-#include "socfpga_agilex5.dtsi"

/ {
model = "SoCFPGA Agilex5 AXE5-Eagle";

--
2.47.3