All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: spi-nor: add support for Winbond W25Q512JV
@ 2021-02-13 15:10 David Bauer
  2021-03-08  5:50 ` Tudor.Ambarus
  0 siblings, 1 reply; 7+ messages in thread
From: David Bauer @ 2021-02-13 15:10 UTC (permalink / raw)
  To: linux-mtd; +Cc: richard, miquel.raynal, vigneshr, tudor.ambarus

The Winbond W25Q512JV is a 512mb SPI-NOR chip. It supports 4K
sectors as well as block protection and Dual-/Quad-read.

Tested on: Ubiquiti UniFi 6 LR

Signed-off-by: David Bauer <mail@david-bauer.net>
---
 drivers/mtd/spi-nor/winbond.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c
index e5dfa786f190..49d0d7993368 100644
--- a/drivers/mtd/spi-nor/winbond.c
+++ b/drivers/mtd/spi-nor/winbond.c
@@ -95,6 +95,10 @@ static const struct flash_info winbond_parts[] = {
 			     SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 	{ "w25q256jw", INFO(0xef6019, 0, 64 * 1024, 512,
 			     SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+	{ "w25q512jv", INFO(0xef4020, 0, 64 * 1024, 1024,
+			    SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ |
+			    SPI_NOR_HAS_TB | SPI_NOR_TB_SR_BIT6 |
+			    SPI_NOR_HAS_LOCK | SPI_NOR_4BIT_BP) },
 	{ "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024,
 			    SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },
 };
-- 
2.30.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-05  2:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-13 15:10 [PATCH] mtd: spi-nor: add support for Winbond W25Q512JV David Bauer
2021-03-08  5:50 ` Tudor.Ambarus
2021-03-08 18:03   ` David Bauer
2021-03-09  7:53     ` Tudor.Ambarus
2021-03-10  7:41       ` Shuhao Mai
2021-04-16 19:24         ` David Bauer
2021-05-05  2:25           ` Shuhao Mai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.