1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/reset/fsl,imx7-src.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Freescale i.MX7 System Reset Controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Andrey Smirnov <andrew.smirnov@gmail.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot The system reset controller can be used to reset various set of 14c66ec88fSEmmanuel Vadot peripherals. Device nodes that need access to reset lines should 15c66ec88fSEmmanuel Vadot specify them as a reset phandle in their corresponding node as 16c66ec88fSEmmanuel Vadot specified in reset.txt. 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadot For list of all valid reset indices see 19c66ec88fSEmmanuel Vadot <dt-bindings/reset/imx7-reset.h> for i.MX7, 20c66ec88fSEmmanuel Vadot <dt-bindings/reset/imx8mq-reset.h> for i.MX8MQ, i.MX8MM and i.MX8MN, 21c66ec88fSEmmanuel Vadot <dt-bindings/reset/imx8mp-reset.h> for i.MX8MP. 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadotproperties: 24c66ec88fSEmmanuel Vadot compatible: 25*6be33864SEmmanuel Vadot oneOf: 26*6be33864SEmmanuel Vadot - items: 27c66ec88fSEmmanuel Vadot - enum: 28c66ec88fSEmmanuel Vadot - fsl,imx7d-src 29c66ec88fSEmmanuel Vadot - fsl,imx8mq-src 30c66ec88fSEmmanuel Vadot - fsl,imx8mp-src 31c66ec88fSEmmanuel Vadot - const: syscon 32*6be33864SEmmanuel Vadot - items: 33*6be33864SEmmanuel Vadot - enum: 34*6be33864SEmmanuel Vadot - fsl,imx8mm-src 35*6be33864SEmmanuel Vadot - fsl,imx8mn-src 36*6be33864SEmmanuel Vadot - const: fsl,imx8mq-src 37*6be33864SEmmanuel Vadot - const: syscon 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot reg: 40c66ec88fSEmmanuel Vadot maxItems: 1 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot interrupts: 43c66ec88fSEmmanuel Vadot maxItems: 1 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadot '#reset-cells': 46c66ec88fSEmmanuel Vadot const: 1 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadotrequired: 49c66ec88fSEmmanuel Vadot - compatible 50c66ec88fSEmmanuel Vadot - reg 51c66ec88fSEmmanuel Vadot - interrupts 52c66ec88fSEmmanuel Vadot - '#reset-cells' 53c66ec88fSEmmanuel Vadot 54c66ec88fSEmmanuel VadotadditionalProperties: false 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel Vadotexamples: 57c66ec88fSEmmanuel Vadot - | 58c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 59c66ec88fSEmmanuel Vadot 60c66ec88fSEmmanuel Vadot reset-controller@30390000 { 61c66ec88fSEmmanuel Vadot compatible = "fsl,imx7d-src", "syscon"; 62c66ec88fSEmmanuel Vadot reg = <0x30390000 0x2000>; 63c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 64c66ec88fSEmmanuel Vadot #reset-cells = <1>; 65c66ec88fSEmmanuel Vadot }; 66