arm64: dts: socfpga: agilex: add SoCDK multi-QSPI board
Subsystems (2)
v4 cover arm64: dts: socfpga: agilex: add SoCDK multi-QSPI board
From: Genevieve Chan <[email protected]>
The Agilex SoCDK is populated with a single QSPI flash by default. A multi-QSPI daughter board can be fitted in its place. That board connects four Micron MT25QU02G devices (256 MiB each, 1 GiB total) to the HPS QSPI controller on chip selects 0-3. Each device carries one partition covering the whole flash, and is described in quad mode at 25 MHz, as the four devices share the clock and data lines.
This is a board-level population difference, in the same way the existing SoCDK eMMC and NAND variants differ from the default SoCDK. The HPS is the Agilex SoC, later marketed as Agilex 7 F-Series. The programming model is unchanged, so the board falls back to "intel,socfpga-agilex" and does not add an F-Series SoC compatible. Agilex 7 M-Series is a different device and already has its own fallback.
Patch 1 documents that compatible next to the other Agilex SoCDK boards. Patch 2 adds socfpga_agilex_socdk_multiqspi.dts. UART, Ethernet, USB, SDMMC, LEDs and the watchdog match the SoCDK; the QSPI node is the difference.
Changes in v4:
- Give the partitions on flash@1-3 unique labels so that they do not share an MTD name with flash@0 (Dinh, Sashiko). flash@0 keeps "Boot and fpga data", which U-Boot's RSU code looks up by name.
- Explain in the patch 2 commit message why the flashes run at 25 MHz rather than the 100 MHz used on the SoCDK (Dinh).
Changes in v3:
- Rebase onto the socfpga for-next branch, which moved the SoCFPGA device trees to arch/arm64/boot/dts/altera/. The new DTS is added there.
- Reword the subject of patch 2 to avoid repeating "Agilex" (Dinh).
- Add Conor's Acked-by to patch 1.
Changes in v2:
- Rename the compatible, DTS filename and model, dropping "agilex7f".
- State in the binding patch why the fallback is "intel,socfpga-agilex".
- Describe the daughter card instead of restating the diff.
Genevieve Chan (2):
dt-bindings: arm: altera: add Agilex SoCDK multi-QSPI board
arm64: dts: socfpga: agilex: add SoCDK multi-QSPI board
.../devicetree/bindings/arm/altera.yaml | 1 + arch/arm64/boot/dts/altera/Makefile | 1 + .../altera/socfpga_agilex_socdk_multiqspi.dts | 213 ++++++++++++++++++ 3 files changed, 215 insertions(+) create mode 100644 arch/arm64/boot/dts/altera/socfpga_agilex_socdk_multiqspi.dts
base-commit: fd26798a69439d6693a1f83b0763031b306cfb4f
Signature · 1 line
2.43.7
PATCH v4 1/2 dt-bindings: arm: altera: add Agilex SoCDK multi-QSPI board
From: Genevieve Chan <[email protected]>
The Agilex SoCDK can be fitted with a multi-QSPI daughter card in place of the default single-flash QSPI card. The multi-QSPI card carries four Micron MT25QU02G flashes connected to the HPS QSPI controller on chip selects 0-3.
The different flash population requires a separate board DTS, hence, add a board compatible for it, following the existing SoCDK variants. The board uses the Agilex SoC (marketed as Agilex 7 F-Series), so it falls back to "intel,socfpga-agilex".
---
Changes in v4:
- None.
Changes in v3:
- Add Conor's Acked-by.
Changes in v2:
- Rename compatible from intel,socfpga-agilex7f-socdk-multiqspi to intel,socfpga-agilex-socdk-multiqspi.
- Describe the hardware difference in the commit message.
Documentation/devicetree/bindings/arm/altera.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/altera.yaml +1 -0
@@ -97,6 +97,7 @@ properties: - intel,socfpga-agilex-n6000 - intel,socfpga-agilex-socdk - intel,socfpga-agilex-socdk-emmc + - intel,socfpga-agilex-socdk-multiqspi - const: intel,socfpga-agilex - description: Agilex3 boards
Signature · 1 line
2.43.7
PATCH v4 2/2 arm64: dts: socfpga: agilex: add SoCDK multi-QSPI board
In reply to [email protected]From: Genevieve Chan <[email protected]>
Add a device tree for the Agilex SoCDK fitted with the multi-QSPI daughter board. The daughter board replaces the single QSPI flash of the default SoCDK with four Micron MT25QU02G flashes on chip selects 0-3, which allows the system to use up to 1 GiB of QSPI storage.
The four flashes share SCLK and DQ[3:0], with only the chip selects routed separately. The added load of four devices and the longer routing on the daughter board lower the clock the bus can run reliably, so the flashes are described at 25 MHz, the rate Altera's multi-QSPI reference design for this board is validated at, rather than the 100 MHz used on the SoCDK.
Each flash has one partition covering the whole device. The partition on flash@0 keeps the "Boot and fpga data" label, which U-Boot's RSU code looks up to locate the boot partition on chip select 0. The partitions on flash@1-3 are numbered so that every label is unique.
The board is otherwise identical to the SoCDK and builds on socfpga_agilex.dtsi.
---
Changes in v4:
- Give the partitions on flash@1-3 unique labels so that they do not share an MTD name with flash@0 (Dinh, Sashiko).
- Explain in the commit message why the flashes run at 25 MHz rather than the 100 MHz used on the SoCDK (Dinh).
Changes in v3:
- Reword subject to avoid repeating "Agilex".
- Move the DTS to arch/arm64/boot/dts/altera/, following the move of the SoCFPGA device trees in for-next.
Changes in v2:
- Rename file, compatible and model to drop the "agilex7f" prefix.
- Reword commit message to describe the hardware.
arch/arm64/boot/dts/altera/Makefile | 1 + .../altera/socfpga_agilex_socdk_multiqspi.dts | 213 ++++++++++++++++++ 2 files changed, 214 insertions(+) create mode 100644 arch/arm64/boot/dts/altera/socfpga_agilex_socdk_multiqspi.dts
arch/arm64/boot/dts/altera/Makefile +1 -0
@@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \ socfpga_agilex_socdk.dtb \ socfpga_agilex_socdk_emmc.dtb \ + socfpga_agilex_socdk_multiqspi.dtb \ socfpga_agilex_socdk_nand.dtb \ socfpga_agilex3_socdk.dtb \ socfpga_agilex5_socdk.dtb \
arch/arm64/boot/dts/altera/socfpga_agilex_socdk_multiqspi.dts new file +213 -0
213 lines not on this page · raw message
Signature · 1 line
2.43.7
Quoted 45 lines · On 10/12/26 02:48, [email protected] wrote:
From: Genevieve Chan <[email protected]>
The Agilex SoCDK is populated with a single QSPI flash by default. A multi-QSPI daughter board can be fitted in its place. That board connects four Micron MT25QU02G devices (256 MiB each, 1 GiB total) to the HPS QSPI controller on chip selects 0-3. Each device carries one partition covering the whole flash, and is described in quad mode at 25 MHz, as the four devices share the clock and data lines.
This is a board-level population difference, in the same way the existing SoCDK eMMC and NAND variants differ from the default SoCDK. The HPS is the Agilex SoC, later marketed as Agilex 7 F-Series. The programming model is unchanged, so the board falls back to "intel,socfpga-agilex" and does not add an F-Series SoC compatible. Agilex 7 M-Series is a different device and already has its own fallback.
Patch 1 documents that compatible next to the other Agilex SoCDK boards. Patch 2 adds
socfpga_agilex_socdk_multiqspi.dts. UART, Ethernet, USB, SDMMC, LEDs and the watchdog match the SoCDK; the QSPI node is the difference.Changes in v4:
- Give the partitions on flash@1-3 unique labels so that they do not share an MTD name with flash@0 (Dinh, Sashiko). flash@0 keeps "Boot and fpga data", which U-Boot's RSU code looks up by name.
- Explain in the patch 2 commit message why the flashes run at 25 MHz rather than the 100 MHz used on the SoCDK (Dinh).Changes in v3:
- Rebase onto the socfpga for-next branch, which moved the SoCFPGA device trees toarch/arm64/boot/dts/altera/. The new DTS is added there.
- Reword the subject of patch 2 to avoid repeating "Agilex" (Dinh).
- Add Conor's Acked-by to patch 1.Changes in v2:
- Rename the compatible, DTS filename and model, dropping "agilex7f".
- State in the binding patch why the fallback is "intel,socfpga-agilex".
- Describe the daughter card instead of restating the diff.Genevieve Chan (2):
dt-bindings: arm: altera: add Agilex SoCDK multi-QSPI board
arm64: dts: socfpga: agilex: add SoCDK multi-QSPI board
Quoted 6 lines
.../devicetree/bindings/arm/altera.yaml | 1 + arch/arm64/boot/dts/altera/Makefile | 1 + .../altera/socfpga_agilex_socdk_multiqspi.dts | 213 ++++++++++++++++++ 3 files changed, 215 insertions(+)create mode 100644
arch/arm64/boot/dts/altera/socfpga_agilex_socdk_multiqspi.dts
Applied!
Thanks,
Dinh