]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Bindings/reset/fsl,imx7-src.txt
Import DTS from Linux 5.8
[FreeBSD/FreeBSD.git] / 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         - For i.MX8MN SoCs should be "fsl,imx8mn-src", "fsl,imx8mq-src", "syscon"
13         - For i.MX8MP SoCs should be "fsl,imx8mp-src", "syscon"
14 - reg: should be register base and length as documented in the
15   datasheet
16 - interrupts: Should contain SRC interrupt
17 - #reset-cells: 1, see below
18
19 example:
20
21 src: reset-controller@30390000 {
22      compatible = "fsl,imx7d-src", "syscon";
23      reg = <0x30390000 0x2000>;
24      interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
25      #reset-cells = <1>;
26 };
27
28
29 Specifying reset lines connected to IP modules
30 ==============================================
31
32 The system reset controller can be used to reset various set of
33 peripherals. Device nodes that need access to reset lines should
34 specify them as a reset phandle in their corresponding node as
35 specified in reset.txt.
36
37 Example:
38
39         pcie: pcie@33800000 {
40
41                 ...
42
43                 resets = <&src IMX7_RESET_PCIEPHY>,
44                          <&src IMX7_RESET_PCIE_CTRL_APPS_EN>;
45                 reset-names = "pciephy", "apps";
46
47                 ...
48         };
49
50
51 For list of all valid reset indices see
52 <dt-bindings/reset/imx7-reset.h> for i.MX7,
53 <dt-bindings/reset/imx8mq-reset.h> for i.MX8MQ and
54 <dt-bindings/reset/imx8mq-reset.h> for i.MX8MM and
55 <dt-bindings/reset/imx8mq-reset.h> for i.MX8MN and
56 <dt-bindings/reset/imx8mp-reset.h> for i.MX8MP