Skip to contentSkip to conversation

mtd: spi-nor: Update XM25QU512C to XM25QU512D

PATCH Superseded Ssunk 2 participants 4 messages Nov 24 – Nov 25 Memory technology devices (MTD)

lore
Share & tools
lore

Ssunk

author
#0 lore raw

PATCH 1/1 mtd: spi-nor: Update XM25QU512C to XM25QU512D

The XM25QU512C has been discontinued by XMC and replaced by XM25QU512D. Both parts share the same JEDEC ID (0x204120) and are compatible with the existing SPI NOR configuration.

Update the flash name to reflect the part currently in production.

---

Notes (patch-notes):
Reference PCN document for the replacement:
https://drive.google.com/file/d/1RR90EaWHKFVZMQrqLorMjc4brIkE0TM7/view?usp=sharing

The latest XM25QU512D datasheet (Rev1.6, dated 2026/11/23) confirms support for 4-byte Quad Input Page Program (34h) on page 63 and in the SFDP 4-Byte Address Instruction Table on page 87.

The datasheet currently available on XMC's website is an older revision. XMC will publish the updated revision in a future quarterly update.

Current public datasheet:
https://www.xmcwh.com/uploads/976/XM25QU512D_Ver1.0.pdf

 drivers/mtd/spi/spi-nor-ids.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/spi/spi-nor-ids.c +1 -1
index fce22300b61..509e880cf3a 100644
@@ -682,7 +682,7 @@ const struct flash_info spi_nor_ids[] = {
 	{ INFO("XM25QH256C", 0x204019, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QU256C", 0x204119, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QH512D", 0x204020, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
-	{ INFO("XM25QU512C", 0x204120, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
+	{ INFO("XM25QU512D", 0x204120, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QH01D", 0x204021, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 #endif
 #ifdef CONFIG_SPI_FLASH_XTX
Signature · 1 line
2.55.0.windows.4
#1 lore raw
Quoted 8 lines · Ssunk

The XM25QU512C has been discontinued by XMC and replaced by XM25QU512D. Both parts share the same JEDEC ID (0x204120) and are compatible with the existing SPI NOR configuration.

Update the flash name to reflect the part currently in production.

Please rebase this on the next branch, thanks.

Signature · 1 line
Tom
author
#2 lore raw

PATCH v2 1/1 mtd: spi-nor: Update XM25QU512C to XM25QU512D

In reply to Ssunk

The XM25QU512C has been discontinued by XMC and replaced by XM25QU512D. Both parts share the same JEDEC ID (0x204120) and are compatible with the existing SPI NOR configuration.

Update the flash name to reflect the part currently in production.

---

Notes (patch-notes):
Reference PCN document for the replacement:
https://drive.google.com/file/d/1RR90EaWHKFVZMQrqLorMjc4brIkE0TM7/view?usp=sharing

The latest XM25QU512D datasheet (Rev1.6, dated 2026/11/23) confirms support for 4-byte Quad Input Page Program (34h) on page 63 and in the SFDP 4-Byte Address Instruction Table on page 87.

The datasheet currently available on XMC's website is an older revision. XMC will publish the updated revision in a future quarterly update.

Current public datasheet:
https://www.xmcwh.com/uploads/976/XM25QU512D_Ver1.0.pdf

Changes in v2:
- Rebase onto the next branch as requested by Tom Rini.
- Update the flash name in xmc.c following the SPI NOR manufacturer driver refactoring.

 drivers/mtd/spi/xmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/spi/xmc.c +1 -1
index dbf11a4c5d3..ec98e3fb388 100644
@@ -17,7 +17,7 @@ static const struct flash_info xmc_nor_parts[] = {
 	{ INFO("XM25QH256C", 0x204019, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QU256C", 0x204119, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QH512D", 0x204020, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
-	{ INFO("XM25QU512C", 0x204120, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
+	{ INFO("XM25QU512D", 0x204120, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QH01D", 0x204021, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 };
 
Signature · 1 line
2.55.0.windows.4
author
#3 lore raw

PATCH v2 1/1 mtd: spi-nor: Update XM25QU512C to XM25QU512D

In reply to Ssunk

The XM25QU512C has been discontinued by XMC and replaced by XM25QU512D. Both parts share the same JEDEC ID (0x204120) and are compatible with the existing SPI NOR configuration.

Update the flash name to reflect the part currently in production.

---

Notes (patch-notes):
Reference PCN document for the replacement:
https://drive.google.com/file/d/1RR90EaWHKFVZMQrqLorMjc4brIkE0TM7/view?usp=sharing

The latest XM25QU512D datasheet (Rev1.6, dated 2026/11/23) confirms support for 4-byte Quad Input Page Program (34h) on page 63 and in the SFDP 4-Byte Address Instruction Table on page 87.

The datasheet currently available on XMC's website is an older revision. XMC will publish the updated revision in a future quarterly update.

Current public datasheet:
https://www.xmcwh.com/uploads/976/XM25QU512D_Ver1.0.pdf

Changes in v2:
- Rebase onto the next branch as requested by Tom Rini.
- Update the flash name in xmc.c following the SPI NOR manufacturer driver refactoring.

 drivers/mtd/spi/xmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/spi/xmc.c +1 -1
index dbf11a4c5d3..ec98e3fb388 100644
@@ -17,7 +17,7 @@ static const struct flash_info xmc_nor_parts[] = {
 	{ INFO("XM25QH256C", 0x204019, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QU256C", 0x204119, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QH512D", 0x204020, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
-	{ INFO("XM25QU512C", 0x204120, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
+	{ INFO("XM25QU512D", 0x204120, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QH01D", 0x204021, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 };
 
Signature · 1 line
2.55.0.windows.4