xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/brcm,l2-intc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom Generic Level 2 Interrupt Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible: should be one of:
6*c66ec88fSEmmanuel Vadot	      "brcm,hif-spi-l2-intc" or
7*c66ec88fSEmmanuel Vadot	      "brcm,upg-aux-aon-l2-intc" or
8*c66ec88fSEmmanuel Vadot	      "brcm,l2-intc" for latched interrupt controllers
9*c66ec88fSEmmanuel Vadot              should be "brcm,bcm7271-l2-intc" for level interrupt controllers
10*c66ec88fSEmmanuel Vadot- reg: specifies the base physical address and size of the registers
11*c66ec88fSEmmanuel Vadot- interrupt-controller: identifies the node as an interrupt controller
12*c66ec88fSEmmanuel Vadot- #interrupt-cells: specifies the number of cells needed to encode an
13*c66ec88fSEmmanuel Vadot  interrupt source. Should be 1.
14*c66ec88fSEmmanuel Vadot- interrupts: specifies the interrupt line in the interrupt-parent irq space
15*c66ec88fSEmmanuel Vadot  to be used for cascading
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotOptional properties:
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot- brcm,irq-can-wake: If present, this means the L2 controller can be used as a
20*c66ec88fSEmmanuel Vadot  wakeup source for system suspend/resume.
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel VadotExample:
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadothif_intr2_intc: interrupt-controller@f0441000 {
25*c66ec88fSEmmanuel Vadot	compatible = "brcm,l2-intc";
26*c66ec88fSEmmanuel Vadot	reg = <0xf0441000 0x30>;
27*c66ec88fSEmmanuel Vadot	interrupt-controller;
28*c66ec88fSEmmanuel Vadot	#interrupt-cells = <1>;
29*c66ec88fSEmmanuel Vadot	interrupt-parent = <&intc>;
30*c66ec88fSEmmanuel Vadot	interrupts = <0x0 0x20 0x0>;
31*c66ec88fSEmmanuel Vadot};
32