Re: [PATCH v5 2/5] dt-bindings: net: ethernet-controller: Allow a unique ID NVMEM cell

From: Rob Herring (Arm)

Date: Thu Dec 03 2026 - 13:48:12 EST



On Wed, 25 Nov 2026 23:36:39 +0400, Alexey Charkov wrote:
> Boards without dedicated storage for a MAC address often still have an
> identifier unique to the device, such as a SoC serial number in OTP
> memory, and bootloaders on several platforms derive a stable MAC address
> from it. The device tree can only reference a stored MAC address, so
> such boards depend on the bootloader patching the derived one in.
>
> Allow referencing the unique ID as a "unique-id" NVMEM cell instead.
> Leave the derivation to the binding of the referenced cell, as it differs
> between platforms.
>
> Signed-off-by: Alexey Charkov <alchark@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/net/ethernet-controller.yaml | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>

Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>