Skip to contentSkip to conversation

Add support for Agilex3 SoCFPGA board

PATCH Superseded [email protected] 2 participants 5 messages Nov 11, 2025 – Nov 12, 2025 Device tree bindings

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add support for Agilex3 SoCFPGA board

From: Niravkumar L Rabara <[email protected]>

Agilex3 SoCFPGA development kit is a low cost and small form factor development kit similar to Agilex5 013b board.
Agilex3 SoCFPGA is derived from Agilex5 SoCFPGA, with the main difference being the number of CPU cores — Agilex3 has 2 cores compared to 4 in Agilex5.

https://www.altera.com/products/devkit/a1jui000005pw9bmas/agilex-3-fpga-and-soc-c-series-development-kit

This series includes:
- The addition of the Agilex3 compatible in DT bindings.
- The initial board device tree support for the Agilex3 SoCFPGA.

Note:
The patch 2 depends on the series: "Add iommu supports"
https://lore.kernel.org/all/[email protected]/

Patch series "Add iommu supports" is applied to socfpga maintainer's tree
https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git/log/?h=socfpga_dts_for_v6.19

v2 changes:
- Add separate agilex3 compatible.
- Use separate dtsi file for Agilex3.

v1 link:
https://lore.kernel.org/all/[email protected]/

Niravkumar L Rabara (2):
dt-bindings: intel: Add Agilex3 SoCFPGA board
arm64: dts: socfpga: add Agilex3 board

 .../bindings/arm/intel,socfpga.yaml           |   5 +
 arch/arm64/boot/dts/intel/Makefile            |   1 +
 .../arm64/boot/dts/intel/socfpga_agilex3.dtsi |  17 +++
 .../boot/dts/intel/socfpga_agilex3_socdk.dts  | 126 ++++++++++++++++++
 4 files changed, 149 insertions(+)
 create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex3.dtsi
 create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex3_socdk.dts
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 1/2 dt-bindings: intel: Add Agilex3 SoCFPGA board

From: Niravkumar L Rabara <[email protected]>

Add compatible string for Agilex3 SoCFPGA board, which shares the same architecture as Agilex5 but with two fewer CPU cores.

---

v2 changes:
- Add separate agilex3 compatible instead of using agilex5 context.

v1 link:
https://lore.kernel.org/all/51ecc7f4eb7e419c00ee51fc26156e25686dfece.1762756191.git.niravkumarlaxmidas.rabara@altera.com/

 Documentation/devicetree/bindings/arm/intel,socfpga.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/intel,socfpga.yaml +5 -0
index cf7a91dfec8a..e5a8141dc6cb 100644
@@ -21,6 +21,11 @@ properties:
               - intel,socfpga-agilex-n6000
               - intel,socfpga-agilex-socdk
           - const: intel,socfpga-agilex
+      - description: Agilex3 boards
+        items:
+          - enum:
+              - intel,socfpga-agilex3-socdk
+          - const: intel,socfpga-agilex3
       - description: Agilex5 boards
         items:
           - enum:
Signature · 1 line
2.25.1
#2 lore raw

Re: [PATCH v2 1/2] dt-bindings: intel: Add Agilex3 SoCFPGA board

Quoted 22 lines · On Tue, Nov 11, 2025 at 02:17:38PM +0800, [email protected]…

From: Niravkumar L Rabara <[email protected]>

Add compatible string for Agilex3 SoCFPGA board, which shares the same architecture as Agilex5 but with two fewer CPU cores.

---

v2 changes:
- Add separate agilex3 compatible instead of using agilex5 context.

v1 link:
https://lore.kernel.org/all/51ecc7f4eb7e419c00ee51fc26156e25686dfece.1762756191.git.niravkumarlaxmidas.rabara@altera.com/

 Documentation/devicetree/bindings/arm/intel,socfpga.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/intel,socfpga.yaml +0 -0
index cf7a91dfec8a..e5a8141dc6cb 100644

Documentation/devicetree/bindings/arm/intel,socfpga.yaml properties: · line 28

Quoted 8 lines
Documentation/devicetree/bindings/arm/intel,socfpga.yaml +5 -0
@@ -21,6 +21,11 @@ properties:
               - intel,socfpga-agilex-n6000
               - intel,socfpga-agilex-socdk
           - const: intel,socfpga-agilex
+      - description: Agilex3 boards
+        items:
+          - enum:
+              - intel,socfpga-agilex3-socdk
+          - const: intel,socfpga-agilex3

This is confusing, where is the fallback? You said this is fully compatible with Agilex5, no?

Best regards,
Krzysztof

#3 lore raw

Re: [PATCH v2 1/2] dt-bindings: intel: Add Agilex3 SoCFPGA board

Quoted 35 lines · Krzysztof Kozlowski
Quoted 22 lines · On Tue, Nov 11, 2025 at 02:17:38PM +0800, [email protected]…

From: Niravkumar L Rabara <[email protected]>

Add compatible string for Agilex3 SoCFPGA board, which shares the same architecture as Agilex5 but with two fewer CPU cores.

---

v2 changes:
- Add separate agilex3 compatible instead of using agilex5 context.

v1 link:
https://lore.kernel.org/all/51ecc7f4eb7e419c00ee51fc26156e25686dfece.1762756191.git.niravkumarlaxmidas.rabara@altera.com/

  Documentation/devicetree/bindings/arm/intel,socfpga.yaml | 5 +++++
  1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/intel,socfpga.yaml +0 -0
index cf7a91dfec8a..e5a8141dc6cb 100644

Documentation/devicetree/bindings/arm/intel,socfpga.yaml properties: · line 28

Quoted 8 lines
Documentation/devicetree/bindings/arm/intel,socfpga.yaml +5 -0
@@ -21,6 +21,11 @@ properties:
                - intel,socfpga-agilex-n6000
                - intel,socfpga-agilex-socdk
            - const: intel,socfpga-agilex
+      - description: Agilex3 boards
+        items:
+          - enum:
+              - intel,socfpga-agilex3-socdk
+          - const: intel,socfpga-agilex3

This is confusing, where is the fallback? You said this is fully compatible with Agilex5, no?

Quoted 3 lines

Best regards,
Krzysztof

Yes, I should have "const: intel,socfpga-agilex5" as well for the fallback.

+ - description: Agilex3 boards
+ items:
+ - enum:
+ - intel,socfpga-agilex3-socdk
+ - const: intel,socfpga-agilex3
+ - const: intel,socfpga-agilex5

I will add this in v3.

Thanks,
Nirav

#4 lore raw

PATCH v2 2/2 arm64: dts: socfpga: add Agilex3 board

In reply to [email protected]

From: Niravkumar L Rabara <[email protected]>

Agilex3 SoCFPGA development kit is a small form factor board similar to Agilex5 013b board.
Agilex3 SoCFPGA is derived from Agilex5 SoCFPGA, with the main difference of CPU cores — Agilex3 has 2 cores compared to 4 in Agilex5.

---

v2 changes:
- Use separate dtsi file for agilex3 instead of using agilex5 dtsi.

v1 link:
https://lore.kernel.org/all/aa19e005a2aa2aab63c8fe8cbaee7f59c416690f.1762756191.git.niravkumarlaxmidas.rabara@altera.com/

 arch/arm64/boot/dts/intel/Makefile            |   1 +
 .../arm64/boot/dts/intel/socfpga_agilex3.dtsi |  17 +++
 .../boot/dts/intel/socfpga_agilex3_socdk.dts  | 126 ++++++++++++++++++
 3 files changed, 144 insertions(+)
 create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex3.dtsi
 create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex3_socdk.dts
arch/arm64/boot/dts/intel/Makefile +1 -0
index 391d5cbe50b3..a117268267ee 100644
@@ -2,6 +2,7 @@
 dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \
 				socfpga_agilex_socdk.dtb \
 				socfpga_agilex_socdk_nand.dtb \
+				socfpga_agilex3_socdk.dtb \
 				socfpga_agilex5_socdk.dtb \
 				socfpga_agilex5_socdk_013b.dtb \
 				socfpga_agilex5_socdk_nand.dtb \
arch/arm64/boot/dts/intel/socfpga_agilex3.dtsi new file +17 -0
new file mode 100644
index 000000000000..4e55513d93c4
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (C) 2025, Altera Corporation
+ */
+
+/dts-v1/;
+#include "socfpga_agilex5.dtsi"
+
+/ {
+	compatible = "intel,socfpga-agilex3", "intel,socfpga-agilex5";
+};
+
+/* Agilex3 has only 2 CPUs */
+&{/cpus} {
+	/delete-node/ cpu@2;
+	/delete-node/ cpu@3;
+};
arch/arm64/boot/dts/intel/socfpga_agilex3_socdk.dts new file +126 -0

126 lines not on this page · raw message

Signature · 1 line
2.25.1