Skip to contentSkip to conversation

arm64: dts: altera: Consolidate SoCFPGA device trees

PATCH Applied [email protected] 2 participants 4 messages Sep 11 – Oct 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v4 cover arm64: dts: altera: Consolidate SoCFPGA device trees

From: "Chiam, Evon" <[email protected]>

The arch/arm64/boot/dts/intel/ directory holds two unrelated families:
the Altera SoCFPGA platforms (Stratix 10, Agilex, Agilex5, Agilex72, Agilex7M, N5X) and Intel Keembay. Stratix 10 already lives in arch/arm64/boot/dts/altera/, so the SoCFPGA device trees are split across two directories today.

Patch 1 moves the remaining SoCFPGA DTS/DTSI files to dts/altera/ so that all of them live in one place; only Keembay is left in dts/intel/. Patch 2 then drops the now stale arch/arm64/boot/dts/intel/ path from the ARM/SOCFPGA ARCHITECTURE MAINTAINERS entry.

---
Changes in v4:
- Split the MAINTAINERS change out of the move patch into its own patch

Changes in v3:
- Drop stale SoCFPGA MAINTAINERS F: entry for arch/arm64/boot/dts/intel/

Changes in v2:
- Reworded commit subject to drop redundant "device trees" and phrase the move as "to dts/altera"

v3 patch link:
https://lore.kernel.org/all/47719884b157863b2253b415daa447b417cd3419.1789048358.git.evon.chiam@altera.com/

v2 patch link:
https://lore.kernel.org/all/4b78273b85041f74b12245d0bf222f018afd2bd6.1788933630.git.evon.chiam@altera.com/

v1 patch link:
https://lore.kernel.org/all/802bf0d27fbff9b1ddb6b9fc323a1a9f8f050f74.1788512748.git.evon.chiam@altera.com/

---

Chiam, Evon (2):
arm64: dts: altera: Move all SoCFPGA files to dts/altera
MAINTAINERS: Drop arm64 dts/intel path from ARM/SOCFPGA ARCHITECTURE

 MAINTAINERS                                        |  1 -
 arch/arm64/boot/dts/altera/Makefile                | 14 +++++++++++++-
 .../boot/dts/{intel => altera}/socfpga_agilex.dtsi |  0
 .../{intel => altera}/socfpga_agilex3_socdk.dts    |  0
 .../dts/{intel => altera}/socfpga_agilex5.dtsi     |  0
 .../{intel => altera}/socfpga_agilex5_socdk.dts    |  0
 .../socfpga_agilex5_socdk_013b.dts                 |  0
 .../socfpga_agilex5_socdk_modular.dts              |  0
 .../socfpga_agilex5_socdk_nand.dts                 |  0
 .../dts/{intel => altera}/socfpga_agilex72.dtsi    |  0
 .../{intel => altera}/socfpga_agilex72_socdk.dts   |  0
 .../{intel => altera}/socfpga_agilex7m_socdk.dts   |  0
 .../dts/{intel => altera}/socfpga_agilex_n6000.dts |  0
 .../dts/{intel => altera}/socfpga_agilex_socdk.dts |  0
 .../socfpga_agilex_socdk_emmc.dts                  |  0
 .../socfpga_agilex_socdk_nand.dts                  |  0
 .../dts/{intel => altera}/socfpga_n5x_socdk.dts    |  0
 arch/arm64/boot/dts/intel/Makefile                 | 12 ------------
 18 files changed, 13 insertions(+), 14 deletions(-)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex.dtsi (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex3_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5.dtsi (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5_socdk_013b.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5_socdk_modular.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5_socdk_nand.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex72.dtsi (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex72_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex7m_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex_n6000.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex_socdk_emmc.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex_socdk_nand.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_n5x_socdk.dts (100%)
Signature · 1 line
2.43.7
#1 lore raw

PATCH v4 1/2 arm64: dts: altera: Move all SoCFPGA files to dts/altera

From: "Chiam, Evon" <[email protected]>

The dts/intel/ directory contains two distinct families:
- Altera SoCFPGA platforms (Stratix 10, Agilex, Agilex5, Agilex72, Agilex7M, N5X)
- Intel Keembay

All Altera SoCFPGA device trees already have a home in dts/altera/ (Stratix 10 has been there since the directory was introduced). Move the remaining SoCFPGA DTS/DTSI files from dts/intel/ to dts/altera/ to consolidate all Altera SoCFPGA device trees under a single directory. Only the Keembay files remain in dts/intel/.

All inter-file includes are relative so no include paths need to change. The set of DTBs produced by dtbs_install is unchanged; they are simply built from dts/altera/ instead of dts/intel/.

No compatible strings or DTS/DTSI contents are modified; the device tree move is rename-only.

---
Changes in v4:
- Split the MAINTAINERS change out into patch 2/2

v3 patch link:
https://lore.kernel.org/all/47719884b157863b2253b415daa447b417cd3419.1789048358.git.evon.chiam@altera.com/

Changes in v3:
- Drop stale SoCFPGA MAINTAINERS F: entry for arch/arm64/boot/dts/intel/

v2 patch link:
https://lore.kernel.org/all/4b78273b85041f74b12245d0bf222f018afd2bd6.1788933630.git.evon.chiam@altera.com/

Changes in v2:
- Reworded commit subject to drop redundant "device trees" and phrase the move as "to dts/altera"

v1 patch link:
https://lore.kernel.org/all/802bf0d27fbff9b1ddb6b9fc323a1a9f8f050f74.1788512748.git.evon.chiam@altera.com/

 arch/arm64/boot/dts/altera/Makefile                | 14 +++++++++++++-
 .../boot/dts/{intel => altera}/socfpga_agilex.dtsi |  0
 .../{intel => altera}/socfpga_agilex3_socdk.dts    |  0
 .../dts/{intel => altera}/socfpga_agilex5.dtsi     |  0
 .../{intel => altera}/socfpga_agilex5_socdk.dts    |  0
 .../socfpga_agilex5_socdk_013b.dts                 |  0
 .../socfpga_agilex5_socdk_modular.dts              |  0
 .../socfpga_agilex5_socdk_nand.dts                 |  0
 .../dts/{intel => altera}/socfpga_agilex72.dtsi    |  0
 .../{intel => altera}/socfpga_agilex72_socdk.dts   |  0
 .../{intel => altera}/socfpga_agilex7m_socdk.dts   |  0
 .../dts/{intel => altera}/socfpga_agilex_n6000.dts |  0
 .../dts/{intel => altera}/socfpga_agilex_socdk.dts |  0
 .../socfpga_agilex_socdk_emmc.dts                  |  0
 .../socfpga_agilex_socdk_nand.dts                  |  0
 .../dts/{intel => altera}/socfpga_n5x_socdk.dts    |  0
 arch/arm64/boot/dts/intel/Makefile                 | 12 ------------
 17 files changed, 13 insertions(+), 13 deletions(-)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex.dtsi (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex3_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5.dtsi (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5_socdk_013b.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5_socdk_modular.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex5_socdk_nand.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex72.dtsi (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex72_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex7m_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex_n6000.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex_socdk.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex_socdk_emmc.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_agilex_socdk_nand.dts (100%)
 rename arch/arm64/boot/dts/{intel => altera}/socfpga_n5x_socdk.dts (100%)
arch/arm64/boot/dts/altera/Makefile +13 -1
index 540bb5ae746b..8f41349103b8 100644
@@ -1,5 +1,17 @@
 # SPDX-License-Identifier: GPL-2.0-only
-dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_stratix10_socdk.dtb \
+dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \
+				socfpga_agilex_socdk.dtb \
+				socfpga_agilex_socdk_emmc.dtb \
+				socfpga_agilex_socdk_nand.dtb \
+				socfpga_agilex3_socdk.dtb \
+				socfpga_agilex5_socdk.dtb \
+				socfpga_agilex5_socdk_013b.dtb \
+				socfpga_agilex5_socdk_modular.dtb \
+				socfpga_agilex5_socdk_nand.dtb \
+				socfpga_agilex72_socdk.dtb \
+				socfpga_agilex7m_socdk.dtb \
+				socfpga_n5x_socdk.dtb \
+				socfpga_stratix10_socdk.dtb \
 				socfpga_stratix10_socdk_emmc.dtb \
 				socfpga_stratix10_socdk_nand.dtb \
 				socfpga_stratix10_swvp.dtb
arch/arm64/boot/dts/altera/socfpga_agilex.dtsi renamed from arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
rename to arch/arm64/boot/dts/altera/socfpga_agilex.dtsi
arch/arm64/boot/dts/altera/socfpga_agilex3_socdk.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex3_socdk.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex3_socdk.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex3_socdk.dts
arch/arm64/boot/dts/altera/socfpga_agilex5.dtsi renamed from arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
rename to arch/arm64/boot/dts/altera/socfpga_agilex5.dtsi
arch/arm64/boot/dts/altera/socfpga_agilex5_socdk.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex5_socdk.dts
arch/arm64/boot/dts/altera/socfpga_agilex5_socdk_013b.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_013b.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_013b.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex5_socdk_013b.dts
arch/arm64/boot/dts/altera/socfpga_agilex5_socdk_modular.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_modular.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_modular.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex5_socdk_modular.dts
arch/arm64/boot/dts/altera/socfpga_agilex5_socdk_nand.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_nand.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex5_socdk_nand.dts
arch/arm64/boot/dts/altera/socfpga_agilex72.dtsi renamed from arch/arm64/boot/dts/intel/socfpga_agilex72.dtsi +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex72.dtsi
rename to arch/arm64/boot/dts/altera/socfpga_agilex72.dtsi
arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex72_socdk.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex72_socdk.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex72_socdk.dts
arch/arm64/boot/dts/altera/socfpga_agilex7m_socdk.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex7m_socdk.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex7m_socdk.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex7m_socdk.dts
arch/arm64/boot/dts/altera/socfpga_agilex_n6000.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex_n6000.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex_n6000.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex_n6000.dts
arch/arm64/boot/dts/altera/socfpga_agilex_socdk.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex_socdk.dts
arch/arm64/boot/dts/altera/socfpga_agilex_socdk_emmc.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex_socdk_emmc.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex_socdk_emmc.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex_socdk_emmc.dts
arch/arm64/boot/dts/altera/socfpga_agilex_socdk_nand.dts renamed from arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts
rename to arch/arm64/boot/dts/altera/socfpga_agilex_socdk_nand.dts
arch/arm64/boot/dts/altera/socfpga_n5x_socdk.dts renamed from arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts
rename to arch/arm64/boot/dts/altera/socfpga_n5x_socdk.dts
arch/arm64/boot/dts/intel/Makefile +0 -12
index 270c70fdf084..5b030fb8d165 100644
@@ -1,14 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \
-				socfpga_agilex_socdk.dtb \
-				socfpga_agilex_socdk_emmc.dtb \
-				socfpga_agilex_socdk_nand.dtb \
-				socfpga_agilex3_socdk.dtb \
-				socfpga_agilex5_socdk.dtb \
-				socfpga_agilex5_socdk_013b.dtb \
-				socfpga_agilex5_socdk_modular.dtb \
-				socfpga_agilex5_socdk_nand.dtb \
-				socfpga_agilex72_socdk.dtb \
-				socfpga_agilex7m_socdk.dtb \
-				socfpga_n5x_socdk.dtb
 dtb-$(CONFIG_ARCH_KEEMBAY) += keembay-evm.dtb
Signature · 1 line
2.43.7
#2 lore raw

PATCH v4 2/2 MAINTAINERS: Drop arm64 dts/intel path from ARM/SOCFPGA ARCHITECTURE

In reply to [email protected]

From: "Chiam, Evon" <[email protected]>

All Altera SoCFPGA device trees now live in arch/arm64/boot/dts/altera/, so the arch/arm64/boot/dts/intel/ path listed under ARM/SOCFPGA ARCHITECTURE no longer matches any SoCFPGA file. The only files left in that directory belong to Keembay, which are already covered by the ARM/INTEL KEEMBAY ARCHITECTURE entry.

Drop the stale path so get_maintainer.pl stops pointing Keembay DT changes at the SoCFPGA maintainer.

---
Changes in v4:
- New patch, split out from v3: separate the MAINTAINERS change from the DTS move patch

v3 patch link:
https://lore.kernel.org/all/47719884b157863b2253b415daa447b417cd3419.1789048358.git.evon.chiam@altera.com/

 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 15011f5752a9..98f374ae7586 100644
@@ -3590,7 +3590,6 @@ F:	arch/arm/boot/dts/intel/socfpga/
 F:	arch/arm/configs/socfpga_defconfig
 F:	arch/arm/mach-socfpga/
 F:	arch/arm64/boot/dts/altera/
-F:	arch/arm64/boot/dts/intel/
 
 ARM/SOCFPGA CLOCK FRAMEWORK SUPPORT
 M:	Dinh Nguyen <[email protected]>
Signature · 1 line
2.43.7
maintainer Applied
#3 lore raw
In reply to [email protected]
Quoted 30 lines · On 9/11/26 08:58, [email protected] wrote:

From: "Chiam, Evon" <[email protected]>

The arch/arm64/boot/dts/intel/ directory holds two unrelated families:
the Altera SoCFPGA platforms (Stratix 10, Agilex, Agilex5, Agilex72, Agilex7M, N5X) and Intel Keembay. Stratix 10 already lives in arch/arm64/boot/dts/altera/, so the SoCFPGA device trees are split across two directories today.

Patch 1 moves the remaining SoCFPGA DTS/DTSI files to dts/altera/ so that all of them live in one place; only Keembay is left in dts/intel/. Patch 2 then drops the now stale arch/arm64/boot/dts/intel/ path from the ARM/SOCFPGA ARCHITECTURE MAINTAINERS entry.

---
Changes in v4:
- Split the MAINTAINERS change out of the move patch into its own patch

Changes in v3:
- Drop stale SoCFPGA MAINTAINERS F: entry for arch/arm64/boot/dts/intel/

Changes in v2:
- Reworded commit subject to drop redundant "device trees" and phrase the move as "to dts/altera"

v3 patch link:
https://lore.kernel.org/all/47719884b157863b2253b415daa447b417cd3419.1789048358.git.evon.chiam@altera.com/

v2 patch link:
https://lore.kernel.org/all/4b78273b85041f74b12245d0bf222f018afd2bd6.1788933630.git.evon.chiam@altera.com/

Quoted 10 lines

v1 patch link:
https://lore.kernel.org/all/802bf0d27fbff9b1ddb6b9fc323a1a9f8f050f74.1788512748.git.evon.chiam@altera.com/

---

Chiam, Evon (2):
arm64: dts: altera: Move all SoCFPGA files to dts/altera
MAINTAINERS: Drop arm64 dts/intel path from ARM/SOCFPGA ARCHITECTURE

Applied!

Thanks,
Dinh