xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/mxs-ocotp.yaml (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
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
15properties:
16  compatible:
17    enum:
18      - fsl,imx23-ocotp
19      - fsl,imx28-ocotp
20
21  "#address-cells":
22    const: 1
23
24  "#size-cells":
25    const: 1
26
27  reg:
28    maxItems: 1
29
30  clocks:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36  - clocks
37
38additionalProperties: false
39
40examples:
41  - |
42    ocotp: efuse@8002c000 {
43        compatible = "fsl,imx28-ocotp";
44        #address-cells = <1>;
45        #size-cells = <1>;
46        reg = <0x8002c000 0x2000>;
47        clocks = <&clks 25>;
48    };
49
50...
51