Skip to contentSkip to conversation

arm: socfpga: Add NAND register address and data register

PATCH In review [email protected] 2 participants 2 messages Mar 4 – Apr 15

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: socfpga: Add NAND register address and data register

From: Dinesh Maniyam <[email protected]>

These are required by denali_spl.c for Arria10. Pre-set nand base and data address will be used for spl nand read and write.

---
 arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-socfpga/include/mach/base_addr_a10.h +2 -0
index b947cc07291..120cbfa23a5 100644
@@ -12,6 +12,8 @@
 #define SOCFPGA_SDMMC_ADDRESS			0xff808000
 #define SOCFPGA_QSPIREGS_ADDRESS		0xff809000
 #define SOCFPGA_QSPIDATA_ADDRESS		0xffa00000
+#define SOCFPGA_NANDREGS_ADDRESS		0xffb80000
+#define SOCFPGA_NANDDATA_ADDRESS		0xffb90000
 #define SOCFPGA_UART1_ADDRESS			0xffc02100
 #define SOCFPGA_HMC_MMR_IO48_ADDRESS		0xffcfa000
 #define SOCFPGA_FPGAMGRDATA_ADDRESS		0xffcfe400
Signature · 1 line
2.43.7
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines · On 4/3/2026 11:37 am, [email protected] wrote:

From: Dinesh Maniyam<[email protected]>

These are required by denali_spl.c for Arria10. Pre-set nand base and data address will be used for spl nand read and write.

---
  arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 2 ++
  1 file changed, 2 insertions(+)
arch/arm/mach-socfpga/include/mach/base_addr_a10.h +0 -0
index b947cc07291..120cbfa23a5 100644

arch/arm/mach-socfpga/include/mach/base_addr_a10.h line 19

Quoted 8 lines
arch/arm/mach-socfpga/include/mach/base_addr_a10.h +2 -0
@@ -12,6 +12,8 @@
  #define SOCFPGA_SDMMC_ADDRESS			0xff808000
  #define SOCFPGA_QSPIREGS_ADDRESS		0xff809000
  #define SOCFPGA_QSPIDATA_ADDRESS		0xffa00000
+#define SOCFPGA_NANDREGS_ADDRESS		0xffb80000
+#define SOCFPGA_NANDDATA_ADDRESS		0xffb90000
  #define SOCFPGA_UART1_ADDRESS			0xffc02100
  #define SOCFPGA_HMC_MMR_IO48_ADDRESS		0xffcfa000
  #define SOCFPGA_FPGAMGRDATA_ADDRESS		0xffcfe400