xref: /linux/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml (revision 36ec807b627b4c0a0a382f0ae48eac7187d14b2b)
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  - Shawn Guo <shawnguo@kernel.org>
11  - Sascha Hauer <s.hauer@pengutronix.de>
12  - Fabio Estevam <festevam@gmail.com>
13
14allOf:
15  - $ref: nvmem.yaml#
16  - $ref: nvmem-deprecated-cells.yaml#
17
18properties:
19  compatible:
20    items:
21      - enum:
22          - fsl,imx23-ocotp
23          - fsl,imx28-ocotp
24      - const: fsl,ocotp
25
26  reg:
27    maxItems: 1
28
29  clocks:
30    maxItems: 1
31
32required:
33  - compatible
34  - reg
35  - clocks
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    ocotp: efuse@8002c000 {
42        compatible = "fsl,imx28-ocotp", "fsl,ocotp";
43        #address-cells = <1>;
44        #size-cells = <1>;
45        reg = <0x8002c000 0x2000>;
46        clocks = <&clks 25>;
47    };
48
49...
50