The M5441x has the same NFC IP as the VF610. It does not support device-tree, so a few changes are needed in particular at probe time. A new variant is also needed as the Reference Manual states that the NFC_ROW_ADDR does not drive CS. Tested on a custom board with a Micron RAW nand. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@xxxxxxxxxx> --- Changes in v2: - Removed uneeded ifdef - Split the m5441x definitions in a separate patch - Link to v1: https://lore.kernel.org/r/20240620-upstream-nfc-mcf5441x-v1-1-69b64807d7a6@xxxxxxxxxx --- Jean-Michel Hautbois (2): arch: m68k: Add definitions for flash NFC support mtd: nand: Add support for M5441x NFC arch/m68k/include/asm/m5441xsim.h | 7 +++ drivers/mtd/nand/raw/Kconfig | 2 +- drivers/mtd/nand/raw/vf610_nfc.c | 102 ++++++++++++++++++++++++++++---------- 3 files changed, 85 insertions(+), 26 deletions(-) --- base-commit: afcd48134c58d6af45fb3fdb648f1260b20f2326 change-id: 20240620-upstream-nfc-mcf5441x-82e23b45e286 Best regards, -- Jean-Michel Hautbois <jeanmichel.hautbois@xxxxxxxxxx>