1*4882a593SmuzhiyunBroadcom BCM3380-style Level 1 / Level 2 interrupt controller 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThis interrupt controller shows up in various forms on many BCM338x/BCM63xx 4*4882a593Smuzhiyunchipsets. It has the following properties: 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun- outputs a single interrupt signal to its interrupt controller parent 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun- contains one or more enable/status word pairs, which often appear at 9*4882a593Smuzhiyun different offsets in different blocks 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun- no atomic set/clear operations 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunRequired properties: 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun- compatible: should be "brcm,bcm3380-l2-intc" 16*4882a593Smuzhiyun- reg: specifies one or more enable/status pairs, in the following format: 17*4882a593Smuzhiyun <enable_reg 0x4 status_reg 0x4>... 18*4882a593Smuzhiyun- interrupt-controller: identifies the node as an interrupt controller 19*4882a593Smuzhiyun- #interrupt-cells: specifies the number of cells needed to encode an interrupt 20*4882a593Smuzhiyun source, should be 1. 21*4882a593Smuzhiyun- interrupts: specifies the interrupt line in the interrupt-parent controller 22*4882a593Smuzhiyun node, valid values depend on the type of parent interrupt controller 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunOptional properties: 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun- brcm,irq-can-wake: if present, this means the L2 controller can be used as a 27*4882a593Smuzhiyun wakeup source for system suspend/resume. 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunExample: 30*4882a593Smuzhiyun 31*4882a593Smuzhiyunirq0_intc: interrupt-controller@10000020 { 32*4882a593Smuzhiyun compatible = "brcm,bcm3380-l2-intc"; 33*4882a593Smuzhiyun reg = <0x10000024 0x4 0x1000002c 0x4>, 34*4882a593Smuzhiyun <0x10000020 0x4 0x10000028 0x4>; 35*4882a593Smuzhiyun interrupt-controller; 36*4882a593Smuzhiyun #interrupt-cells = <1>; 37*4882a593Smuzhiyun interrupt-parent = <&cpu_intc>; 38*4882a593Smuzhiyun interrupts = <2>; 39*4882a593Smuzhiyun}; 40