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