mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	 BAREBOX <barebox@lists.infradead.org>
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [PATCH] arm: socfpga: agilex5: define QSPI flash registers
Date: Mon, 28 Sep 2026 14:56:13 +0200	[thread overview]
Message-ID: <20260928-socfpga-agilex5-qspi-v1-1-fb12552e04e4@pengutronix.de> (raw)

After requesting direct QSPI flash access from the SDM firmware, barebox
gains memory mapped access to the QSPI flash controller.

Add the registers to the SoCfpga memory map to be able to use names
instead of registers when initializing the driver.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 include/mach/socfpga/soc64-regs.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/mach/socfpga/soc64-regs.h b/include/mach/socfpga/soc64-regs.h
index fd8cfa17ba1b..1c1fb705526c 100644
--- a/include/mach/socfpga/soc64-regs.h
+++ b/include/mach/socfpga/soc64-regs.h
@@ -82,6 +82,8 @@
 #define SOCFPGA_FW_DDR_CCU_DMI0_ADDRESS		0x18000800
 #define SOCFPGA_FW_DDR_CCU_DMI1_ADDRESS		0x18000A00
 #define SOCFPGA_FW_TBU2NOC_ADDRESS		0x18000C00
+#define SOCFPGA_HPS2SDM_QSPI_REGS		0x108d2000
+#define SOCFPGA_HPS2SDM_QSPI_DATA		0x10900000
 #define SOCFPGA_FIREWALL_L4_PER_ADDRESS		0x10d21000
 #define SOCFPGA_FIREWALL_L4_PER_NAND_REG	0x0
 #define SOCFPGA_FIREWALL_L4_PER_USB0_REG	0xc

---
base-commit: 4a752d2303440195e12ed1a4e642b0be5b450b8e
change-id: 20260928-socfpga-agilex5-qspi-ec0c0b8c3afb

Best regards,
-- 
Michael Tretter <m.tretter@pengutronix.de>




                 reply	other threads:[~2026-09-28 12:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260928-socfpga-agilex5-qspi-v1-1-fb12552e04e4@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --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