[PATCH] mtd: spi-nor: esmt: Add support for F25L16PA

Jihoon Han rapid_renard at renard.ga
Wed Jun 30 10:54:46 PDT 2021


Add support for F25L16PA which is 2MB SPI-NOR Chip manufactured by ESMT.

Tested on Qualcomm QCA9557 based DW02-412H router.

Datasheet:
https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/F25L16PA_1(2S).pdf

Signed-off-by: Jihoon Han <rapid_renard at renard.ga>
---
 drivers/mtd/spi-nor/esmt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mtd/spi-nor/esmt.c b/drivers/mtd/spi-nor/esmt.c
index cfc9218c1053..2ebeecd6c957 100644
--- a/drivers/mtd/spi-nor/esmt.c
+++ b/drivers/mtd/spi-nor/esmt.c
@@ -10,6 +10,8 @@
 
 static const struct flash_info esmt_parts[] = {
 	/* ESMT */
+	{ "f25l16pa", INFO(0x8c2115, 0, 64 * 1024, 32,
+			   SECT_4K | SPI_NOR_HAS_LOCK) },
 	{ "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64,
 			   SECT_4K | SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) },
 	{ "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64,
-- 
2.25.1




More information about the linux-mtd mailing list