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