socionext,uniphier-aidet.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/interrupt-controller/socionext,uniphier-aidet.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: UniPhier AIDET
  7. description: |
  8. UniPhier AIDET (ARM Interrupt Detector) is an add-on block for ARM GIC
  9. (Generic Interrupt Controller). GIC itself can handle only high level and
  10. rising edge interrupts. The AIDET provides logic inverter to support low
  11. level and falling edge interrupts.
  12. maintainers:
  13. - Masahiro Yamada <yamada.masahiro@socionext.com>
  14. allOf:
  15. - $ref: /schemas/interrupt-controller.yaml#
  16. properties:
  17. compatible:
  18. enum:
  19. - socionext,uniphier-ld4-aidet
  20. - socionext,uniphier-pro4-aidet
  21. - socionext,uniphier-sld8-aidet
  22. - socionext,uniphier-pro5-aidet
  23. - socionext,uniphier-pxs2-aidet
  24. - socionext,uniphier-ld6b-aidet
  25. - socionext,uniphier-ld11-aidet
  26. - socionext,uniphier-ld20-aidet
  27. - socionext,uniphier-pxs3-aidet
  28. - socionext,uniphier-nx1-aidet
  29. reg:
  30. maxItems: 1
  31. interrupt-controller: true
  32. '#interrupt-cells':
  33. description: |
  34. The first cell defines the interrupt number (corresponds to the SPI
  35. interrupt number of GIC). The second cell specifies the trigger type as
  36. defined in interrupts.txt in this directory.
  37. const: 2
  38. required:
  39. - compatible
  40. - reg
  41. - interrupt-controller
  42. - '#interrupt-cells'
  43. additionalProperties: false
  44. examples:
  45. - |
  46. interrupt-controller@5fc20000 {
  47. compatible = "socionext,uniphier-pro4-aidet";
  48. reg = <0x5fc20000 0x200>;
  49. interrupt-controller;
  50. #interrupt-cells = <2>;
  51. };