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    enum:
18      - fsl,imx23-ocotp
19      - fsl,imx28-ocotp
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    maxItems: 1
26
27required:
28  - compatible
29  - reg
30  - clocks
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    ocotp: efuse@8002c000 {
37        compatible = "fsl,imx28-ocotp";
38        #address-cells = <1>;
39        #size-cells = <1>;
40        reg = <0x8002c000 0x2000>;
41        clocks = <&clks 25>;
42    };
43
44...
45