GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / nvmem / mxs-ocotp.yaml
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
7 title: On-Chip OTP Memory for Freescale i.MX23/i.MX28
8
9 maintainers:
10   - Anson Huang <Anson.Huang@nxp.com>
11
12 allOf:
13   - $ref: "nvmem.yaml#"
14
15 properties:
16   compatible:
17     items:
18       - enum:
19           - fsl,imx23-ocotp
20           - fsl,imx28-ocotp
21       - const: fsl,ocotp
22
23   "#address-cells":
24     const: 1
25
26   "#size-cells":
27     const: 1
28
29   reg:
30     maxItems: 1
31
32   clocks:
33     maxItems: 1
34
35 required:
36   - compatible
37   - reg
38   - clocks
39
40 additionalProperties: false
41
42 examples:
43   - |
44     ocotp: efuse@8002c000 {
45         compatible = "fsl,imx28-ocotp", "fsl,ocotp";
46         #address-cells = <1>;
47         #size-cells = <1>;
48         reg = <0x8002c000 0x2000>;
49         clocks = <&clks 25>;
50     };
51
52 ...