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