brcm,bcm7038-l1-intc.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. Broadcom BCM7038-style Level 1 interrupt controller
  2. This block is a first level interrupt controller that is typically connected
  3. directly to one of the HW INT lines on each CPU. Every BCM7xxx set-top chip
  4. since BCM7038 has contained this hardware.
  5. Key elements of the hardware design include:
  6. - 64, 96, 128, or 160 incoming level IRQ lines
  7. - Most onchip peripherals are wired directly to an L1 input
  8. - A separate instance of the register set for each CPU, allowing individual
  9. peripheral IRQs to be routed to any CPU
  10. - Atomic mask/unmask operations
  11. - No polarity/level/edge settings
  12. - No FIFO or priority encoder logic; software is expected to read all
  13. 2-5 status words to determine which IRQs are pending
  14. Required properties:
  15. - compatible: should be "brcm,bcm7038-l1-intc"
  16. - reg: specifies the base physical address and size of the registers;
  17. the number of supported IRQs is inferred from the size argument
  18. - interrupt-controller: identifies the node as an interrupt controller
  19. - #interrupt-cells: specifies the number of cells needed to encode an interrupt
  20. source, should be 1.
  21. - interrupt-parent: specifies the phandle to the parent interrupt controller(s)
  22. this one is cascaded from
  23. - interrupts: specifies the interrupt line(s) in the interrupt-parent controller
  24. node; valid values depend on the type of parent interrupt controller
  25. If multiple reg ranges and interrupt-parent entries are present on an SMP
  26. system, the driver will allow IRQ SMP affinity to be set up through the
  27. /proc/irq/ interface. In the simplest possible configuration, only one
  28. reg range and one interrupt-parent is needed.
  29. Example:
  30. periph_intc: periph_intc@1041a400 {
  31. compatible = "brcm,bcm7038-l1-intc";
  32. reg = <0x1041a400 0x30 0x1041a600 0x30>;
  33. interrupt-controller;
  34. #interrupt-cells = <1>;
  35. interrupt-parent = <&cpu_intc>;
  36. interrupts = <2>, <3>;
  37. };