a9b822aeaa7edb2737c0ca68358cb8cf3daaa578
[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     enum:
18       - fsl,imx23-ocotp
19       - fsl,imx28-ocotp
20
21   reg:
22     maxItems: 1
23
24   clocks:
25     maxItems: 1
26
27 required:
28   - compatible
29   - reg
30   - clocks
31
32 unevaluatedProperties: false
33
34 examples:
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 ...