1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: On-Chip OTP Memory for Freescale i.MX23/i.MX28
8
9maintainers:
10  - Anson Huang <Anson.Huang@nxp.com>
11
12allOf:
13  - $ref: nvmem.yaml#
14
15properties:
16  compatible:
17    items:
18      - enum:
19          - fsl,imx23-ocotp
20          - fsl,imx28-ocotp
21      - const: fsl,ocotp
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32  - clocks
33
34unevaluatedProperties: false
35
36examples:
37  - |
38    ocotp: efuse@8002c000 {
39        compatible = "fsl,imx28-ocotp", "fsl,ocotp";
40        #address-cells = <1>;
41        #size-cells = <1>;
42        reg = <0x8002c000 0x2000>;
43        clocks = <&clks 25>;
44    };
45
46...
47