Skip to contentSkip to conversation

mtd: spi-nor: macronix: Add support for mx66l2g45g

PATCH New Chun-Ma 1 participant 1 message Aug 27, 2021

Subsystems (2)
lore
Share & tools
lore

Chun-Ma

author
#0 lore raw

PATCH 1/1 mtd: spi-nor: macronix: Add support for mx66l2g45g

The Macronix mx66l2g45g is a 1.8V, 2Gbit (256MB) device that supports x1, x2, or x4 operation.

Tested on zynqmp SoC hardware with a cadence quadspi controller
- random data write, erase, read - verified erase operations
- random data write, read/compare - verified write/read operations

---
 drivers/mtd/spi-nor/macronix.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/mtd/spi-nor/macronix.c +3 -0
index 27498ed0cc0d..4e72418fcdee 100644
@@ -87,6 +87,9 @@ static const struct flash_info macronix_parts[] = {
 	{ "mx66u2g45g",	 INFO(0xc2253c, 0, 64 * 1024, 4096,
 			      SECT_4K | SPI_NOR_DUAL_READ |
 			      SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
+	{ "mx66l2g45g",  INFO(0xc2201c, 0, 64 * 1024, 4096,
+			      SECT_4K | SPI_NOR_DUAL_READ |
+				  SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 };
 
 static void macronix_default_init(struct spi_nor *nor)
Signature · 6 lines
2.32.0


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