Add support for Agilex3 SoCFPGA board
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.
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
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.
Documentation/devicetree/bindings/arm/intel,socfpga.yaml | 5 +++++ 1 file changed, 5 insertions(+)
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 - description: Agilex5 boards items: - enum:
Signature · 1 line
2.25.1
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.
Signed-off-by Niravkumar L Rabara <[email protected]>---
v2 changes:
- Add separate agilex3 compatible instead of using agilex5 context.Documentation/devicetree/bindings/arm/intel,socfpga.yaml | 5 +++++ 1 file changed, 5 insertions(+)Documentation/devicetree/bindings/arm/intel,socfpga.yaml +0
-0
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
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.
Signed-off-by Niravkumar L Rabara <[email protected]>---
v2 changes:
- Add separate agilex3 compatible instead of using agilex5 context.Documentation/devicetree/bindings/arm/intel,socfpga.yaml | 5 +++++ 1 file changed, 5 insertions(+)Documentation/devicetree/bindings/arm/intel,socfpga.yaml +0
-0Documentation/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-agilex3This 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
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.
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
@@ -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
@@ -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