microchip,lan966x-oic.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/interrupt-controller/microchip,lan966x-oic.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Microchip LAN966x outband interrupt controller
  7. maintainers:
  8. - Herve Codina <herve.codina@bootlin.com>
  9. allOf:
  10. - $ref: /schemas/interrupt-controller.yaml#
  11. description: |
  12. The Microchip LAN966x outband interrupt controller (OIC) maps the internal
  13. interrupt sources of the LAN966x device to an external interrupt.
  14. When the LAN966x device is used as a PCI device, the external interrupt is
  15. routed to the PCI interrupt.
  16. properties:
  17. compatible:
  18. const: microchip,lan966x-oic
  19. '#interrupt-cells':
  20. const: 2
  21. interrupt-controller: true
  22. reg:
  23. maxItems: 1
  24. interrupts:
  25. maxItems: 1
  26. required:
  27. - compatible
  28. - '#interrupt-cells'
  29. - interrupt-controller
  30. - interrupts
  31. - reg
  32. additionalProperties: false
  33. examples:
  34. - |
  35. interrupt-controller@e00c0120 {
  36. compatible = "microchip,lan966x-oic";
  37. reg = <0xe00c0120 0x190>;
  38. #interrupt-cells = <2>;
  39. interrupt-controller;
  40. interrupts = <0>;
  41. interrupt-parent = <&intc>;
  42. };
  43. ...