fsl,imx7-src.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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,imx7-src.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Freescale i.MX7 System Reset Controller
  7. maintainers:
  8. - Andrey Smirnov <andrew.smirnov@gmail.com>
  9. description: |
  10. The system reset controller can be used to reset various set of
  11. peripherals. Device nodes that need access to reset lines should
  12. specify them as a reset phandle in their corresponding node as
  13. specified in reset.txt.
  14. For list of all valid reset indices see
  15. <dt-bindings/reset/imx7-reset.h> for i.MX7,
  16. <dt-bindings/reset/imx8mq-reset.h> for i.MX8MQ, i.MX8MM and i.MX8MN,
  17. <dt-bindings/reset/imx8mp-reset.h> for i.MX8MP.
  18. properties:
  19. compatible:
  20. oneOf:
  21. - items:
  22. - enum:
  23. - fsl,imx7d-src
  24. - fsl,imx8mq-src
  25. - fsl,imx8mp-src
  26. - const: syscon
  27. - items:
  28. - enum:
  29. - fsl,imx8mm-src
  30. - fsl,imx8mn-src
  31. - const: fsl,imx8mq-src
  32. - const: syscon
  33. reg:
  34. maxItems: 1
  35. interrupts:
  36. maxItems: 1
  37. '#reset-cells':
  38. const: 1
  39. required:
  40. - compatible
  41. - reg
  42. - interrupts
  43. - '#reset-cells'
  44. additionalProperties: false
  45. examples:
  46. - |
  47. #include <dt-bindings/interrupt-controller/arm-gic.h>
  48. reset-controller@30390000 {
  49. compatible = "fsl,imx7d-src", "syscon";
  50. reg = <0x30390000 0x2000>;
  51. interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
  52. #reset-cells = <1>;
  53. };