summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvmem/fsl,vf610-ocotp.yaml
blob: 5aef86a752a6d5294d47c04ff38fa3fc09fc5894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/fsl,vf610-ocotp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: On-Chip OTP Memory for Freescale Vybrid

maintainers:
  - Frank Li <Frank.Li@nxp.com>

allOf:
  - $ref: nvmem.yaml#
  - $ref: nvmem-deprecated-cells.yaml

properties:
  compatible:
    items:
      - enum:
          - fsl,vf610-ocotp
      - const: syscon

  reg:
    maxItems: 1

  clocks:
    items:
      - description: ipg clock we associate with the OCOTP peripheral

required:
  - compatible
  - reg
  - clocks

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/vf610-clock.h>

    ocotp@400a5000 {
        compatible = "fsl,vf610-ocotp", "syscon";
        reg = <0x400a5000 0xcf0>;
        #address-cells = <1>;
        #size-cells = <1>;
        clocks = <&clks VF610_CLK_OCOTP>;
    };