[PATCH v2 00/10] ARM: boards: add support for Enclustra Mercury SA2

David Picard david.picard at clermont.in2p3.fr
Thu Sep 25 04:59:07 PDT 2025


Add support for the Enclustra Mercury+ SA2, a Cyclone V based
SoC FPGA.
https://www.enclustra.com/en/products/system-on-chip-modules/mercury-sa2/

The SoM provides a 64MiB NOR QSPI flash, DDR3, Ethernet PHY, RTC.

The Cyclone V features a hardware ARM core (aka HPS) that can boot
from SD card (MMC), QSPI flash. This patch series focusses on MMC.

Signed-off-by: David Picard <david.picard at clermont.in2p3.fr>
---
Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: https://lore.kernel.org/r/20250917-boards-enclustra-sa2-add-support-v1-0-2de8f69107a1@clermont.in2p3.fr

---
David Picard (8):
      Add handoff files
      Add Enclustra Mercury+ SA2 module
      ARM: dts: socfpga: use upstream SA2 device tree
      ARM: dts: socfpga: adapt upstream SA2 device tree
      boards: enclustra-sa2: read MAC address from EEPROM
      boards: enclustra-sa2: configure SI5338
      boards: enclustra-sa2: enable SI5338
      boards: enclustra-sa2: read S/N from EEPROM

Sascha Hauer (2):
      lib: add crc16 support
      nvmem: add support for Atmel sha204(a)

 arch/arm/boards/Makefile                           |   1 +
 arch/arm/boards/enclustra-sa2/Makefile             |   2 +
 .../boards/enclustra-sa2/Si5338-RevB-Registers.h   | 433 +++++++++++++
 arch/arm/boards/enclustra-sa2/board.c              | 148 +++++
 .../boards/enclustra-sa2/iocsr_config_cyclone5.c   | 678 +++++++++++++++++++++
 arch/arm/boards/enclustra-sa2/lowlevel.c           |  15 +
 arch/arm/boards/enclustra-sa2/pinmux_config.c      | 241 ++++++++
 arch/arm/boards/enclustra-sa2/pll_config.h         | 107 ++++
 arch/arm/boards/enclustra-sa2/sdram_config.h       | 112 ++++
 arch/arm/boards/enclustra-sa2/sequencer_auto.h     | 225 +++++++
 .../boards/enclustra-sa2/sequencer_auto_ac_init.c  |  67 ++
 .../enclustra-sa2/sequencer_auto_inst_init.c       | 158 +++++
 arch/arm/boards/enclustra-sa2/sequencer_defines.h  | 165 +++++
 arch/arm/boards/enclustra-sa2/si5338_config.c      | 252 ++++++++
 arch/arm/boards/enclustra-sa2/si5338_config.h      |  22 +
 arch/arm/configs/socfpga-xload_defconfig           |   1 +
 arch/arm/configs/socfpga_defconfig                 |   3 +-
 arch/arm/dts/Makefile                              |   1 +
 arch/arm/dts/socfpga_cyclone5_mercury_sa2.dts      |  17 +
 arch/arm/dts/socfpga_cyclone5_mercury_sa2.dtsi     | 213 +++++++
 arch/arm/mach-socfpga/Kconfig                      |   8 +
 drivers/nvmem/Kconfig                              |  15 +
 drivers/nvmem/Makefile                             |   2 +
 drivers/nvmem/atmel-i2c.c                          | 302 +++++++++
 drivers/nvmem/atmel-i2c.h                          | 180 ++++++
 drivers/nvmem/atmel-sha204a.c                      | 114 ++++
 images/Makefile.socfpga                            |   8 +
 include/linux/crc16.h                              |  21 +
 lib/Kconfig                                        |   3 +
 lib/Makefile                                       |   1 +
 lib/crc16.c                                        |  69 +++
 31 files changed, 3582 insertions(+), 2 deletions(-)
---
base-commit: 85c11b44889eb73921b2095f2c42492ac3d686a0
change-id: 20250916-boards-enclustra-sa2-add-support-4704233a6861

Best regards,
-- 
David Picard <david.picard at clermont.in2p3.fr>




More information about the barebox mailing list