diff options
Diffstat (limited to 'Documentation/devicetree/bindings/reset/fsl,imx7-src.txt')
-rw-r--r-- | Documentation/devicetree/bindings/reset/fsl,imx7-src.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/reset/fsl,imx7-src.txt b/Documentation/devicetree/bindings/reset/fsl,imx7-src.txt new file mode 100644 index 000000000000..5e1afc3d8480 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/fsl,imx7-src.txt | |||
@@ -0,0 +1,47 @@ | |||
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: Should be "fsl,imx7-src", "syscon" | ||
9 | - reg: should be register base and length as documented in the | ||
10 | datasheet | ||
11 | - interrupts: Should contain SRC interrupt | ||
12 | - #reset-cells: 1, see below | ||
13 | |||
14 | example: | ||
15 | |||
16 | src: reset-controller@30390000 { | ||
17 | compatible = "fsl,imx7d-src", "syscon"; | ||
18 | reg = <0x30390000 0x2000>; | ||
19 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; | ||
20 | #reset-cells = <1>; | ||
21 | }; | ||
22 | |||
23 | |||
24 | Specifying reset lines connected to IP modules | ||
25 | ============================================== | ||
26 | |||
27 | The system reset controller can be used to reset various set of | ||
28 | peripherals. Device nodes that need access to reset lines should | ||
29 | specify them as a reset phandle in their corresponding node as | ||
30 | specified in reset.txt. | ||
31 | |||
32 | Example: | ||
33 | |||
34 | pcie: pcie@33800000 { | ||
35 | |||
36 | ... | ||
37 | |||
38 | resets = <&src IMX7_RESET_PCIEPHY>, | ||
39 | <&src IMX7_RESET_PCIE_CTRL_APPS_EN>; | ||
40 | reset-names = "pciephy", "apps"; | ||
41 | |||
42 | ... | ||
43 | }; | ||
44 | |||
45 | |||
46 | For list of all valid reset indicies see | ||
47 | <dt-bindings/reset/imx7-reset.h> | ||