Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / reset / fsl,imx7-src.yaml
blob00430e2eabc87933500d2f1bf0b83b422638dbfd
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#
7 title: Freescale i.MX7 System Reset Controller
9 maintainers:
10   - Andrey Smirnov <andrew.smirnov@gmail.com>
12 description: |
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.
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.
23 properties:
24   compatible:
25     oneOf:
26       - items:
27           - enum:
28               - fsl,imx7d-src
29               - fsl,imx8mq-src
30               - fsl,imx8mp-src
31           - const: syscon
32       - items:
33           - enum:
34               - fsl,imx8mm-src
35               - fsl,imx8mn-src
36           - const: fsl,imx8mq-src
37           - const: syscon
39   reg:
40     maxItems: 1
42   interrupts:
43     maxItems: 1
45   '#reset-cells':
46     const: 1
48 required:
49   - compatible
50   - reg
51   - interrupts
52   - '#reset-cells'
54 additionalProperties: false
56 examples:
57   - |
58     #include <dt-bindings/interrupt-controller/arm-gic.h>
60     reset-controller@30390000 {
61         compatible = "fsl,imx7d-src", "syscon";
62         reg = <0x30390000 0x2000>;
63         interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
64         #reset-cells = <1>;
65     };