xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/mxs-ocotp.yaml (revision a0ca4af9455b844c5e094fc1b09b1390ffa979fc)
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
7title: On-Chip OTP Memory for Freescale i.MX23/i.MX28
8
9maintainers:
10  - Anson Huang <Anson.Huang@nxp.com>
11
12allOf:
13  - $ref: nvmem.yaml#
14  - $ref: nvmem-deprecated-cells.yaml#
15
16properties:
17  compatible:
18    items:
19      - enum:
20          - fsl,imx23-ocotp
21          - fsl,imx28-ocotp
22      - const: fsl,ocotp
23
24  reg:
25    maxItems: 1
26
27  clocks:
28    maxItems: 1
29
30required:
31  - compatible
32  - reg
33  - clocks
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    ocotp: efuse@8002c000 {
40        compatible = "fsl,imx28-ocotp", "fsl,ocotp";
41        #address-cells = <1>;
42        #size-cells = <1>;
43        reg = <0x8002c000 0x2000>;
44        clocks = <&clks 25>;
45    };
46
47...
48