1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/reset/fsl,imx7-src.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX7 System Reset Controller
8
9maintainers:
10  - Andrey Smirnov <andrew.smirnov@gmail.com>
11
12description: |
13  The system reset controller can be used to reset various set of
14  peripherals. Device nodes that need access to reset lines should
15  specify them as a reset phandle in their corresponding node as
16  specified in reset.txt.
17
18  For list of all valid reset indices see
19    <dt-bindings/reset/imx7-reset.h> for i.MX7,
20    <dt-bindings/reset/imx8mq-reset.h> for i.MX8MQ, i.MX8MM and i.MX8MN,
21    <dt-bindings/reset/imx8mp-reset.h> for i.MX8MP.
22
23properties:
24  compatible:
25    items:
26      - enum:
27          - fsl,imx7d-src
28          - fsl,imx8mq-src
29          - fsl,imx8mp-src
30      - const: syscon
31
32  reg:
33    maxItems: 1
34
35  interrupts:
36    maxItems: 1
37
38  '#reset-cells':
39    const: 1
40
41required:
42  - compatible
43  - reg
44  - interrupts
45  - '#reset-cells'
46
47additionalProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/interrupt-controller/arm-gic.h>
52
53    reset-controller@30390000 {
54        compatible = "fsl,imx7d-src", "syscon";
55        reg = <0x30390000 0x2000>;
56        interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
57        #reset-cells = <1>;
58    };
59