arm,vic.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. * ARM Vectored Interrupt Controller
  2. One or more Vectored Interrupt Controllers (VIC's) can be connected in an ARM
  3. system for interrupt routing. For multiple controllers they can either be
  4. nested or have the outputs wire-OR'd together.
  5. Required properties:
  6. - compatible : should be one of
  7. "arm,pl190-vic"
  8. "arm,pl192-vic"
  9. - interrupt-controller : Identifies the node as an interrupt controller
  10. - #interrupt-cells : The number of cells to define the interrupts. Must be 1 as
  11. the VIC has no configuration options for interrupt sources. The cell is a u32
  12. and defines the interrupt number.
  13. - reg : The register bank for the VIC.
  14. Optional properties:
  15. - interrupts : Interrupt source for parent controllers if the VIC is nested.
  16. - valid-mask : A one cell big bit mask of valid interrupt sources. Each bit
  17. represents single interrupt source, starting from source 0 at LSb and ending
  18. at source 31 at MSb. A bit that is set means that the source is wired and
  19. clear means otherwise. If unspecified, defaults to all valid.
  20. - valid-wakeup-mask : A one cell big bit mask of interrupt sources that can be
  21. configured as wake up source for the system. Order of bits is the same as for
  22. valid-mask property. A set bit means that this interrupt source can be
  23. configured as a wake up source for the system. If unspecied, defaults to all
  24. interrupt sources configurable as wake up sources.
  25. Example:
  26. vic0: interrupt-controller@60000 {
  27. compatible = "arm,pl192-vic";
  28. interrupt-controller;
  29. #interrupt-cells = <1>;
  30. reg = <0x60000 0x1000>;
  31. valid-mask = <0xffffff7f>;
  32. valid-wakeup-mask = <0x0000ff7f>;
  33. };