i.MX SCU Client Device Node - OCOTP Based on SCU Message Protocol

Schema identifier ($id): "http://devicetree.org/schemas/nvmem/fsl,scu-ocotp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dong Aisheng <aisheng.dong@nxp.com>"

i.MX SCU Client Device Node Client nodes are maintained as children of the relevant IMX-SCU device node.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): nvmem.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8qm-scu-ocotp", "fsl,imx8qxp-scu-ocotp"

Properties matching a name pattern (patternProperties) #

^mac@[0-9a-f]*$ — name matches this regular expression #

Value type (type): "object"

MAC address.

Properties and child nodes (properties) #

reg — required here

Byte offset within OCOTP where the MAC address is stored

Maximum number of items (maxItems): 1

Required in this object (required): "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

ocotp {
    compatible = "fsl,imx8qxp-scu-ocotp";
    #address-cells = <1>;
    #size-cells = <1>;

    fec_mac0: mac@2c4 {
        reg = <0x2c4 6>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page