The Buffalo WSR-2533DHP2 uses a Mediatek MT7622 SoC, with the TRX partition format with a special magic. Buffalo probably ported the code from their older Broadcom based devices. Changes since: v1: - Split dt-bindings into own patch - Rename trx-magic to brcm,trx-magic - Do not check np for NULL - inline parser_trx_get_magic() - Add depends for ARCH_MEDIATEK Hauke Mehrtens (3): dt-bindings: mtd: brcm,trx: Add brcm,trx-magic mtd: parsers: trx: Allow to specify brcm,trx-magic in DT mtd: parsers: trx: Allow to use TRX parser on Mediatek SoCs .../devicetree/bindings/mtd/partitions/brcm,trx.txt | 5 +++++ drivers/mtd/parsers/Kconfig | 2 +- drivers/mtd/parsers/parser_trx.c | 9 ++++++++- 3 files changed, 14 insertions(+), 2 deletions(-) -- 2.30.2