xref: /linux/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
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  - $ref: nvmem-deprecated-cells.yaml#
15
16properties:
17  compatible:
18    enum:
19      - fsl,imx23-ocotp
20      - fsl,imx28-ocotp
21
22  reg:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31  - clocks
32
33unevaluatedProperties: false
34
35examples:
36  - |
37    ocotp: efuse@8002c000 {
38        compatible = "fsl,imx28-ocotp";
39        #address-cells = <1>;
40        #size-cells = <1>;
41        reg = <0x8002c000 0x2000>;
42        clocks = <&clks 25>;
43    };
44
45...
46