On-Chip OTP Memory for Freescale Vybrid

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

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.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,vf610-ocotp"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

ipg clock we associate with the OCOTP peripheral

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/vf610-clock.h>

ocotp@400a5000 {
    compatible = "fsl,vf610-ocotp", "syscon";
    reg = <0x400a5000 0xcf0>;
    #address-cells = <1>;
    #size-cells = <1>;
    clocks = <&clks VF610_CLK_OCOTP>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page