xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/mxs-ocotp.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: On-Chip OTP Memory for Freescale i.MX23/i.MX28
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Anson Huang <Anson.Huang@nxp.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel VadotallOf:
13fac71e4eSEmmanuel Vadot  - $ref: nvmem.yaml#
14*84943d6fSEmmanuel Vadot  - $ref: nvmem-deprecated-cells.yaml#
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadotproperties:
17c66ec88fSEmmanuel Vadot  compatible:
18*84943d6fSEmmanuel Vadot    items:
19*84943d6fSEmmanuel Vadot      - enum:
20c66ec88fSEmmanuel Vadot          - fsl,imx23-ocotp
21c66ec88fSEmmanuel Vadot          - fsl,imx28-ocotp
22*84943d6fSEmmanuel Vadot      - const: fsl,ocotp
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  reg:
25c66ec88fSEmmanuel Vadot    maxItems: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  clocks:
28c66ec88fSEmmanuel Vadot    maxItems: 1
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadotrequired:
31c66ec88fSEmmanuel Vadot  - compatible
32c66ec88fSEmmanuel Vadot  - reg
33c66ec88fSEmmanuel Vadot  - clocks
34c66ec88fSEmmanuel Vadot
35f126890aSEmmanuel VadotunevaluatedProperties: false
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadotexamples:
38c66ec88fSEmmanuel Vadot  - |
39c66ec88fSEmmanuel Vadot    ocotp: efuse@8002c000 {
40*84943d6fSEmmanuel Vadot        compatible = "fsl,imx28-ocotp", "fsl,ocotp";
41c66ec88fSEmmanuel Vadot        #address-cells = <1>;
42c66ec88fSEmmanuel Vadot        #size-cells = <1>;
43c66ec88fSEmmanuel Vadot        reg = <0x8002c000 0x2000>;
44c66ec88fSEmmanuel Vadot        clocks = <&clks 25>;
45c66ec88fSEmmanuel Vadot    };
46c66ec88fSEmmanuel Vadot
47c66ec88fSEmmanuel Vadot...
48