[PATCH 0/2] qnap-mcu: add nvmem subdevice to read the eeprom

From: Heiko Stuebner
Date: Wed Jul 30 2025 - 13:23:23 EST


The qnap-mcu is firmware running on a Weltrend WT61P803 MCU and there is
an eeprom connected to it, that can be read via the serial interface.

The eeprom is somewhat important, as it contains for example the
assigned mac address for the rk3568's gmac interface on TSx33 devices.

So add a nvmem driver for it and hook it into the mfd.

Heiko Stuebner (2):
dt-bindings: mfd: qnap,ts433-mcu: allow nvmem-layout child node
nvmem: add driver for the eeprom in qnap-mcu controllers

.../bindings/mfd/qnap,ts433-mcu.yaml | 3 +
drivers/mfd/qnap-mcu.c | 1 +
drivers/nvmem/Kconfig | 9 ++
drivers/nvmem/Makefile | 2 +
drivers/nvmem/qnap-mcu-eeprom.c | 110 ++++++++++++++++++
5 files changed, 125 insertions(+)
create mode 100644 drivers/nvmem/qnap-mcu-eeprom.c

--
2.47.2