aspeed,ast2400-vic.yaml 1.5 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/aspeed,ast2400-vic.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Aspeed Vectored Interrupt Controller
  7. maintainers:
  8. - Andrew Jeffery <andrew@codeconstruct.com.au>
  9. description:
  10. The AST2400 and AST2500 SoC families include a legacy register layout before
  11. a redesigned layout, but the bindings do not prescribe the use of one or the
  12. other.
  13. properties:
  14. compatible:
  15. enum:
  16. - aspeed,ast2400-vic
  17. - aspeed,ast2500-vic
  18. reg:
  19. maxItems: 1
  20. interrupt-controller: true
  21. "#interrupt-cells":
  22. const: 1
  23. description:
  24. Specifies the number of cells needed to encode an interrupt source. It
  25. must be 1 as the VIC has no configuration options for interrupt sources.
  26. The single cell defines the interrupt number.
  27. valid-sources:
  28. $ref: /schemas/types.yaml#/definitions/uint32-array
  29. maxItems: 2
  30. description:
  31. A bitmap of supported sources for the implementation.
  32. required:
  33. - compatible
  34. - reg
  35. - interrupt-controller
  36. - "#interrupt-cells"
  37. allOf:
  38. - $ref: /schemas/interrupt-controller.yaml
  39. additionalProperties: false
  40. examples:
  41. - |
  42. interrupt-controller@1e6c0080 {
  43. compatible = "aspeed,ast2400-vic";
  44. reg = <0x1e6c0080 0x80>;
  45. interrupt-controller;
  46. #interrupt-cells = <1>;
  47. valid-sources = <0xffffffff 0x0007ffff>;
  48. };
  49. ...