zephyr,hwinfo-nvmem

Description

Generic hwinfo backend reading identifiers from NVMEM cells.

Pseudo-node, placed at the root of the devicetree, pointing the hwinfo
backend at an NVMEM cell holding the device unique identifier
("device-id", required) and optionally a cell holding the device EUI-64
("eui64", exactly 8 bytes, stored in canonical byte order).

Only one hwinfo device-id backend can be linked into an image; disable the
SoC-specific backend (for example CONFIG_HWINFO_STM32) when enabling this
node on an SoC that provides one.

Examples

/ {
    hwinfo {
        compatible = "zephyr,hwinfo-nvmem";
        nvmem-cells = <&uid_cell>, <&eui64_cell>;
        nvmem-cell-names = "device-id", "eui64";
    };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

nvmem-cells

phandle-array

List of phandles to the nvmem data cells.

This property is required.

nvmem-cell-names

string-array

Names for each nvmem-cells specified.

This property is required.