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,imx-src.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Freescale i.MX System Reset Controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Philipp Zabel <p.zabel@pengutronix.de> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot The system reset controller can be used to reset the GPU, VPU, 14c66ec88fSEmmanuel Vadot IPU, and OpenVG IP modules on i.MX5 and i.MX6 ICs. Those device 15c66ec88fSEmmanuel Vadot nodes should specify the reset line on the SRC in their resets 16c66ec88fSEmmanuel Vadot property, containing a phandle to the SRC device node and a 17c66ec88fSEmmanuel Vadot RESET_INDEX specifying which module to reset, as described in 18c66ec88fSEmmanuel Vadot reset.txt 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadot The following RESET_INDEX values are valid for i.MX5: 21c66ec88fSEmmanuel Vadot GPU_RESET 0 22c66ec88fSEmmanuel Vadot VPU_RESET 1 23c66ec88fSEmmanuel Vadot IPU1_RESET 2 24c66ec88fSEmmanuel Vadot OPEN_VG_RESET 3 25c66ec88fSEmmanuel Vadot The following additional RESET_INDEX value is valid for i.MX6: 26c66ec88fSEmmanuel Vadot IPU2_RESET 4 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadotproperties: 29c66ec88fSEmmanuel Vadot compatible: 30c66ec88fSEmmanuel Vadot oneOf: 31*8d13bc63SEmmanuel Vadot - const: fsl,imx51-src 32c66ec88fSEmmanuel Vadot - items: 33*8d13bc63SEmmanuel Vadot - enum: 34*8d13bc63SEmmanuel Vadot - fsl,imx50-src 35*8d13bc63SEmmanuel Vadot - fsl,imx53-src 36*8d13bc63SEmmanuel Vadot - fsl,imx6q-src 37*8d13bc63SEmmanuel Vadot - fsl,imx6sx-src 38*8d13bc63SEmmanuel Vadot - fsl,imx6sl-src 39*8d13bc63SEmmanuel Vadot - fsl,imx6ul-src 40*8d13bc63SEmmanuel Vadot - fsl,imx6sll-src 41*8d13bc63SEmmanuel Vadot - const: fsl,imx51-src 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot reg: 44c66ec88fSEmmanuel Vadot maxItems: 1 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot interrupts: 47c66ec88fSEmmanuel Vadot items: 48c66ec88fSEmmanuel Vadot - description: SRC interrupt 49c66ec88fSEmmanuel Vadot - description: CPU WDOG interrupts out of SRC 50c66ec88fSEmmanuel Vadot minItems: 1 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot '#reset-cells': 53c66ec88fSEmmanuel Vadot const: 1 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadotrequired: 56c66ec88fSEmmanuel Vadot - compatible 57c66ec88fSEmmanuel Vadot - reg 58c66ec88fSEmmanuel Vadot - interrupts 59c66ec88fSEmmanuel Vadot - '#reset-cells' 60c66ec88fSEmmanuel Vadot 61c66ec88fSEmmanuel VadotadditionalProperties: false 62c66ec88fSEmmanuel Vadot 63c66ec88fSEmmanuel Vadotexamples: 64c66ec88fSEmmanuel Vadot - | 65c66ec88fSEmmanuel Vadot reset-controller@73fd0000 { 66c66ec88fSEmmanuel Vadot compatible = "fsl,imx51-src"; 67c66ec88fSEmmanuel Vadot reg = <0x73fd0000 0x4000>; 68c66ec88fSEmmanuel Vadot interrupts = <75>; 69c66ec88fSEmmanuel Vadot #reset-cells = <1>; 70c66ec88fSEmmanuel Vadot }; 71