cib.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. * Cavium Interrupt Bus widget
  2. Properties:
  3. - compatible: "cavium,octeon-7130-cib"
  4. Compatibility with cn70XX SoCs.
  5. - interrupt-controller: This is an interrupt controller.
  6. - reg: Two elements consisting of the addresses of the RAW and EN
  7. registers of the CIB block
  8. - cavium,max-bits: The index (zero based) of the highest numbered bit
  9. in the CIB block.
  10. - interrupt-parent: Always the CIU on the SoC.
  11. - interrupts: The CIU line to which the CIB block is connected.
  12. - #interrupt-cells: Must be <2>. The first cell is the bit within the
  13. CIB. The second cell specifies the triggering semantics of the
  14. line.
  15. Example:
  16. interrupt-controller@107000000e000 {
  17. compatible = "cavium,octeon-7130-cib";
  18. reg = <0x10700 0x0000e000 0x0 0x8>, /* RAW */
  19. <0x10700 0x0000e100 0x0 0x8>; /* EN */
  20. cavium,max-bits = <23>;
  21. interrupt-controller;
  22. interrupt-parent = <&ciu>;
  23. interrupts = <1 24>;
  24. /* Interrupts are specified by two parts:
  25. * 1) Bit number in the CIB* registers
  26. * 2) Triggering (1 - edge rising
  27. * 2 - edge falling
  28. * 4 - level active high
  29. * 8 - level active low)
  30. */
  31. #interrupt-cells = <2>;
  32. };