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

Rob Herring (Arm) robh at kernel.org
Thu Dec 3 10:47:59 PST 2026


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 at flipper.net>
> ---
>  .../devicetree/bindings/net/ethernet-controller.yaml          | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)
> 

Reviewed-by: Rob Herring (Arm) <robh at kernel.org>




More information about the linux-arm-kernel mailing list