mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: David Picard <david.picard@clermont.in2p3.fr>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	BAREBOX <barebox@lists.infradead.org>
Cc: David Picard <david.picard@clermont.in2p3.fr>,
	Ahmad Fatoum <ahmad@a3f.at>
Subject: [PATCH v2 00/10] ARM: boards: add support for Enclustra Mercury SA2
Date: Thu, 25 Sep 2025 13:59:07 +0200	[thread overview]
Message-ID: <20250925-boards-enclustra-sa2-add-support-v2-0-6820ad6c6256@clermont.in2p3.fr> (raw)

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@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@clermont.in2p3.fr>




             reply	other threads:[~2025-09-25 12:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25 11:59 David Picard [this message]
2025-09-25 11:59 ` [PATCH v2 01/10] Add handoff files David Picard
2025-09-25 11:59 ` [PATCH v2 02/10] Add Enclustra Mercury+ SA2 module David Picard
2025-09-25 11:59 ` [PATCH v2 03/10] ARM: dts: socfpga: use upstream SA2 device tree David Picard
2025-09-25 11:59 ` [PATCH v2 04/10] ARM: dts: socfpga: adapt " David Picard
2025-09-25 11:59 ` [PATCH v2 05/10] boards: enclustra-sa2: read MAC address from EEPROM David Picard
2025-09-26 12:40   ` Sascha Hauer
2025-09-26 12:57     ` David Picard
2025-09-29  8:04       ` David Picard
2025-09-25 11:59 ` [PATCH v2 06/10] boards: enclustra-sa2: configure SI5338 David Picard
2025-09-25 11:59 ` [PATCH v2 07/10] boards: enclustra-sa2: enable SI5338 David Picard
2025-09-25 11:59 ` [PATCH v2 08/10] lib: add crc16 support David Picard
2025-09-26 12:43   ` Sascha Hauer
2025-09-25 11:59 ` [PATCH v2 09/10] nvmem: add support for Atmel sha204(a) David Picard
2025-09-25 11:59 ` [PATCH v2 10/10] boards: enclustra-sa2: read S/N from EEPROM David Picard
2025-09-26 12:47 ` [PATCH v2 00/10] ARM: boards: add support for Enclustra Mercury SA2 Sascha Hauer
2025-09-30 10:40 ` Sascha Hauer
2025-09-30 11:47   ` David Picard
2025-09-30 11:49     ` David Picard
     [not found]   ` <aade6cdb-3244-4468-8bab-215a54fdef15@clermont.in2p3.fr>
2025-10-01  8:29     ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250925-boards-enclustra-sa2-add-support-v2-0-6820ad6c6256@clermont.in2p3.fr \
    --to=david.picard@clermont.in2p3.fr \
    --cc=ahmad@a3f.at \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox