xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/imx-iim.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/imx-iim.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX IC Identification Module (IIM)
8
9maintainers:
10  - Anson Huang <Anson.Huang@nxp.com>
11
12description: |
13  This binding represents the IC Identification Module (IIM) found on
14  i.MX25, i.MX27, i.MX31, i.MX35, i.MX51 and i.MX53 SoCs.
15
16allOf:
17  - $ref: nvmem.yaml#
18
19properties:
20  compatible:
21    enum:
22      - fsl,imx25-iim
23      - fsl,imx27-iim
24      - fsl,imx31-iim
25      - fsl,imx35-iim
26      - fsl,imx51-iim
27      - fsl,imx53-iim
28
29  reg:
30    maxItems: 1
31
32  interrupts:
33    maxItems: 1
34
35  clocks:
36    maxItems: 1
37
38required:
39  - compatible
40  - reg
41  - interrupts
42  - clocks
43
44additionalProperties: false
45
46examples:
47  - |
48    #include <dt-bindings/clock/imx5-clock.h>
49
50    iim: efuse@63f98000 {
51        compatible = "fsl,imx53-iim";
52        reg = <0x63f98000 0x4000>;
53        interrupts = <69>;
54        clocks = <&clks IMX5_CLK_IIM_GATE>;
55    };
56
57...
58