loongson,ls1x-intc.yaml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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/loongson,ls1x-intc.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Loongson-1 Interrupt Controller
  7. maintainers:
  8. - Keguang Zhang <keguang.zhang@gmail.com>
  9. description:
  10. Loongson-1 interrupt controller is connected to the MIPS core interrupt
  11. controller, which controls several groups of interrupts.
  12. properties:
  13. compatible:
  14. const: loongson,ls1x-intc
  15. reg:
  16. maxItems: 1
  17. interrupt-controller: true
  18. '#interrupt-cells':
  19. const: 2
  20. interrupts:
  21. maxItems: 1
  22. required:
  23. - compatible
  24. - reg
  25. - interrupt-controller
  26. - '#interrupt-cells'
  27. - interrupts
  28. additionalProperties: false
  29. examples:
  30. - |
  31. intc0: interrupt-controller@1fd01040 {
  32. compatible = "loongson,ls1x-intc";
  33. reg = <0x1fd01040 0x18>;
  34. interrupt-controller;
  35. #interrupt-cells = <2>;
  36. interrupt-parent = <&cpu_intc>;
  37. interrupts = <2>;
  38. };