On-Chip OTP Memory for Freescale i.MX23/i.MX28

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

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

Maintainers (maintainers): "Shawn Guo <shawnguo@kernel.org>", "Sascha Hauer <s.hauer@pengutronix.de>", "Fabio Estevam <festevam@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

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

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,imx23-ocotp", "fsl,imx28-ocotp"

Item 2

Exact value (const): "fsl,ocotp"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

ocotp: efuse@8002c000 {
    compatible = "fsl,imx28-ocotp", "fsl,ocotp";
    #address-cells = <1>;
    #size-cells = <1>;
    reg = <0x8002c000 0x2000>;
    clocks = <&clks 25>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page