fsl,intmux.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Freescale INTMUX interrupt multiplexer
  7. maintainers:
  8. - Shawn Guo <shawnguo@kernel.org>
  9. - NXP Linux Team <linux-imx@nxp.com>
  10. properties:
  11. compatible:
  12. const: fsl,imx-intmux
  13. reg:
  14. maxItems: 1
  15. interrupts:
  16. minItems: 1
  17. maxItems: 8
  18. description: |
  19. Should contain the parent interrupt lines (up to 8) used to multiplex
  20. the input interrupts.
  21. interrupt-controller: true
  22. '#interrupt-cells':
  23. const: 2
  24. description: |
  25. The 1st cell is hw interrupt number, the 2nd cell is channel index.
  26. clocks:
  27. maxItems: 1
  28. clock-names:
  29. const: ipg
  30. power-domains:
  31. maxItems: 1
  32. required:
  33. - compatible
  34. - reg
  35. - interrupts
  36. - interrupt-controller
  37. - '#interrupt-cells'
  38. - clocks
  39. - clock-names
  40. additionalProperties: false
  41. examples:
  42. - |
  43. interrupt-controller@37400000 {
  44. compatible = "fsl,imx-intmux";
  45. reg = <0x37400000 0x1000>;
  46. interrupts = <0 16 4>,
  47. <0 17 4>,
  48. <0 18 4>,
  49. <0 19 4>,
  50. <0 20 4>,
  51. <0 21 4>,
  52. <0 22 4>,
  53. <0 23 4>;
  54. interrupt-controller;
  55. interrupt-parent = <&gic>;
  56. #interrupt-cells = <2>;
  57. clocks = <&clk>;
  58. clock-names = "ipg";
  59. };