marvell,orion-intc.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Marvell Orion SoC interrupt controllers
  2. * Main interrupt controller
  3. Required properties:
  4. - compatible: shall be "marvell,orion-intc"
  5. - reg: base address(es) of interrupt registers starting with CAUSE register
  6. - interrupt-controller: identifies the node as an interrupt controller
  7. - #interrupt-cells: number of cells to encode an interrupt source, shall be 1
  8. The interrupt sources map to the corresponding bits in the interrupt
  9. registers, i.e.
  10. - 0 maps to bit 0 of first base address,
  11. - 1 maps to bit 1 of first base address,
  12. - 32 maps to bit 0 of second base address, and so on.
  13. Example:
  14. intc: interrupt-controller {
  15. compatible = "marvell,orion-intc";
  16. interrupt-controller;
  17. #interrupt-cells = <1>;
  18. /* Dove has 64 first level interrupts */
  19. reg = <0x20200 0x10>, <0x20210 0x10>;
  20. };
  21. * Bridge interrupt controller
  22. Required properties:
  23. - compatible: shall be "marvell,orion-bridge-intc"
  24. - reg: base address of bridge interrupt registers starting with CAUSE register
  25. - interrupts: bridge interrupt of the main interrupt controller
  26. - interrupt-controller: identifies the node as an interrupt controller
  27. - #interrupt-cells: number of cells to encode an interrupt source, shall be 1
  28. Optional properties:
  29. - marvell,#interrupts: number of interrupts provided by bridge interrupt
  30. controller, defaults to 32 if not set
  31. Example:
  32. bridge_intc: interrupt-controller {
  33. compatible = "marvell,orion-bridge-intc";
  34. interrupt-controller;
  35. #interrupt-cells = <1>;
  36. reg = <0x20110 0x8>;
  37. interrupts = <0>;
  38. /* Dove bridge provides 5 interrupts */
  39. marvell,#interrupts = <5>;
  40. };