Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / reset / fsl,imx7-src.txt
1 Freescale i.MX7 System Reset Controller
2 ======================================
3
4 Please also refer to reset.txt in this directory for common reset
5 controller binding usage.
6
7 Required properties:
8 - compatible:
9         - For i.MX7 SoCs should be "fsl,imx7d-src", "syscon"
10         - For i.MX8MQ SoCs should be "fsl,imx8mq-src", "syscon"
11         - For i.MX8MM SoCs should be "fsl,imx8mm-src", "fsl,imx8mq-src", "syscon"
12 - reg: should be register base and length as documented in the
13   datasheet
14 - interrupts: Should contain SRC interrupt
15 - #reset-cells: 1, see below
16
17 example:
18
19 src: reset-controller@30390000 {
20      compatible = "fsl,imx7d-src", "syscon";
21      reg = <0x30390000 0x2000>;
22      interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
23      #reset-cells = <1>;
24 };
25
26
27 Specifying reset lines connected to IP modules
28 ==============================================
29
30 The system reset controller can be used to reset various set of
31 peripherals. Device nodes that need access to reset lines should
32 specify them as a reset phandle in their corresponding node as
33 specified in reset.txt.
34
35 Example:
36
37         pcie: pcie@33800000 {
38
39                 ...
40
41                 resets = <&src IMX7_RESET_PCIEPHY>,
42                          <&src IMX7_RESET_PCIE_CTRL_APPS_EN>;
43                 reset-names = "pciephy", "apps";
44
45                 ...
46         };
47
48
49 For list of all valid reset indices see
50 <dt-bindings/reset/imx7-reset.h> for i.MX7,
51 <dt-bindings/reset/imx8mq-reset.h> for i.MX8MQ and
52 <dt-bindings/reset/imx8mq-reset.h> for i.MX8MM