1*c66ec88fSEmmanuel VadotFreescale i.MX System Reset Controller 2*c66ec88fSEmmanuel Vadot====================================== 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotPlease also refer to reset.txt in this directory for common reset 5*c66ec88fSEmmanuel Vadotcontroller binding usage. 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel VadotRequired properties: 8*c66ec88fSEmmanuel Vadot- compatible: Should be "fsl,<chip>-src" 9*c66ec88fSEmmanuel Vadot- reg: should be register base and length as documented in the 10*c66ec88fSEmmanuel Vadot datasheet 11*c66ec88fSEmmanuel Vadot- interrupts: Should contain SRC interrupt and CPU WDOG interrupt, 12*c66ec88fSEmmanuel Vadot in this order. 13*c66ec88fSEmmanuel Vadot- #reset-cells: 1, see below 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadotexample: 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadotsrc: src@20d8000 { 18*c66ec88fSEmmanuel Vadot compatible = "fsl,imx6q-src"; 19*c66ec88fSEmmanuel Vadot reg = <0x020d8000 0x4000>; 20*c66ec88fSEmmanuel Vadot interrupts = <0 91 0x04 0 96 0x04>; 21*c66ec88fSEmmanuel Vadot #reset-cells = <1>; 22*c66ec88fSEmmanuel Vadot}; 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel VadotSpecifying reset lines connected to IP modules 25*c66ec88fSEmmanuel Vadot============================================== 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel VadotThe system reset controller can be used to reset the GPU, VPU, 28*c66ec88fSEmmanuel VadotIPU, and OpenVG IP modules on i.MX5 and i.MX6 ICs. Those device 29*c66ec88fSEmmanuel Vadotnodes should specify the reset line on the SRC in their resets 30*c66ec88fSEmmanuel Vadotproperty, containing a phandle to the SRC device node and a 31*c66ec88fSEmmanuel VadotRESET_INDEX specifying which module to reset, as described in 32*c66ec88fSEmmanuel Vadotreset.txt 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel Vadotexample: 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot ipu1: ipu@2400000 { 37*c66ec88fSEmmanuel Vadot resets = <&src 2>; 38*c66ec88fSEmmanuel Vadot }; 39*c66ec88fSEmmanuel Vadot ipu2: ipu@2800000 { 40*c66ec88fSEmmanuel Vadot resets = <&src 4>; 41*c66ec88fSEmmanuel Vadot }; 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel VadotThe following RESET_INDEX values are valid for i.MX5: 44*c66ec88fSEmmanuel VadotGPU_RESET 0 45*c66ec88fSEmmanuel VadotVPU_RESET 1 46*c66ec88fSEmmanuel VadotIPU1_RESET 2 47*c66ec88fSEmmanuel VadotOPEN_VG_RESET 3 48*c66ec88fSEmmanuel VadotThe following additional RESET_INDEX value is valid for i.MX6: 49*c66ec88fSEmmanuel VadotIPU2_RESET 4 50