xref: /linux/Documentation/devicetree/bindings/nvmem/fsl,vf610-ocotp.yaml (revision 0d5ec7919f3747193f051036b2301734a4b5e1d6)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/fsl,vf610-ocotp.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: On-Chip OTP Memory for Freescale Vybrid
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12allOf:
13  - $ref: nvmem.yaml#
14  - $ref: nvmem-deprecated-cells.yaml
15
16properties:
17  compatible:
18    items:
19      - enum:
20          - fsl,vf610-ocotp
21      - const: syscon
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    items:
28      - description: ipg clock we associate with the OCOTP peripheral
29
30required:
31  - compatible
32  - reg
33  - clocks
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/clock/vf610-clock.h>
40
41    ocotp@400a5000 {
42        compatible = "fsl,vf610-ocotp", "syscon";
43        reg = <0x400a5000 0xcf0>;
44        #address-cells = <1>;
45        #size-cells = <1>;
46        clocks = <&clks VF610_CLK_OCOTP>;
47    };
48