Merge tag 'sound-5.3-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[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 - reg: should be register base and length as documented in the
12   datasheet
13 - interrupts: Should contain SRC interrupt
14 - #reset-cells: 1, see below
15
16 example:
17
18 src: reset-controller@30390000 {
19      compatible = "fsl,imx7d-src", "syscon";
20      reg = <0x30390000 0x2000>;
21      interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
22      #reset-cells = <1>;
23 };
24
25
26 Specifying reset lines connected to IP modules
27 ==============================================
28
29 The system reset controller can be used to reset various set of
30 peripherals. Device nodes that need access to reset lines should
31 specify them as a reset phandle in their corresponding node as
32 specified in reset.txt.
33
34 Example:
35
36         pcie: pcie@33800000 {
37
38                 ...
39
40                 resets = <&src IMX7_RESET_PCIEPHY>,
41                          <&src IMX7_RESET_PCIE_CTRL_APPS_EN>;
42                 reset-names = "pciephy", "apps";
43
44                 ...
45         };
46
47
48 For list of all valid reset indices see
49 <dt-bindings/reset/imx7-reset.h> for i.MX7 and
50 <dt-bindings/reset/imx8mq-reset.h> for i.MX8MQ