1*c66ec88fSEmmanuel VadotOpenRISC 1000 Programmable Interrupt Controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel Vadot- compatible : should be "opencores,or1k-pic-level" for variants with 6*c66ec88fSEmmanuel Vadot level triggered interrupt lines, "opencores,or1k-pic-edge" for variants with 7*c66ec88fSEmmanuel Vadot edge triggered interrupt lines or "opencores,or1200-pic" for machines 8*c66ec88fSEmmanuel Vadot with the non-spec compliant or1200 type implementation. 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot "opencores,or1k-pic" is also provided as an alias to "opencores,or1200-pic", 11*c66ec88fSEmmanuel Vadot but this is only for backwards compatibility. 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadot- interrupt-controller : Identifies the node as an interrupt controller 14*c66ec88fSEmmanuel Vadot- #interrupt-cells : Specifies the number of cells needed to encode an 15*c66ec88fSEmmanuel Vadot interrupt source. The value shall be 1. 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel VadotExample: 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadotintc: interrupt-controller { 20*c66ec88fSEmmanuel Vadot compatible = "opencores,or1k-pic-level"; 21*c66ec88fSEmmanuel Vadot interrupt-controller; 22*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 23*c66ec88fSEmmanuel Vadot}; 24