fsl,imx-src.yaml 1.6 KB

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