xref: /freebsd/sys/contrib/device-tree/Bindings/reset/fsl,imx7-src.txt (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1Freescale i.MX7 System Reset Controller
2======================================
3
4Please also refer to reset.txt in this directory for common reset
5controller binding usage.
6
7Required 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
19example:
20
21src: 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
29Specifying reset lines connected to IP modules
30==============================================
31
32The system reset controller can be used to reset various set of
33peripherals. Device nodes that need access to reset lines should
34specify them as a reset phandle in their corresponding node as
35specified in reset.txt.
36
37Example:
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
51For 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
57