Skip to content

Commit 48029e6

Browse files
David Clearambarus
authored andcommitted
mtd: spi-nor: macronix: Add support for mx66u2g45g
The Macronix mx66u2g45g is a 1.8V, 2Gbit (256MB) device that supports x1, x2, or x4 operation. Tested on Pensando SoC hardware with a cadence quadspi controller via drivers/spi/spi-cadence-quadspi.c, in x2 mode at 50MHz. - random data write, erase, read - verified erase operations - random data write, read/compare - verified write/read operations Signed-off-by: David Clear <[email protected]> Acked-by: Shannon Nelson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tudor Ambarus <[email protected]>
1 parent 44a80df commit 48029e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/mtd/spi-nor/macronix.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ static const struct flash_info macronix_parts[] = {
8787
SPI_NOR_QUAD_READ) },
8888
{ "mx66l1g55g", INFO(0xc2261b, 0, 64 * 1024, 2048,
8989
SPI_NOR_QUAD_READ) },
90+
{ "mx66u2g45g", INFO(0xc2253c, 0, 64 * 1024, 4096,
91+
SECT_4K | SPI_NOR_DUAL_READ |
92+
SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
9093
};
9194

9295
static void macronix_default_init(struct spi_nor *nor)

0 commit comments

Comments
 (0)