dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
[platform/kernel/linux-rpi.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   reg:
24     maxItems: 1
25
26   clocks:
27     maxItems: 1
28
29 required:
30   - compatible
31   - reg
32   - clocks
33
34 unevaluatedProperties: false
35
36 examples:
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 ...