Back to home page

OSCL-LXR

 
 

    


0001 OpenRISC 1000 Programmable Interrupt Controller
0002 
0003 Required properties:
0004 
0005 - compatible : should be "opencores,or1k-pic-level" for variants with
0006   level triggered interrupt lines, "opencores,or1k-pic-edge" for variants with
0007   edge triggered interrupt lines or "opencores,or1200-pic" for machines
0008   with the non-spec compliant or1200 type implementation.
0009 
0010   "opencores,or1k-pic" is also provided as an alias to "opencores,or1200-pic",
0011   but this is only for backwards compatibility.
0012 
0013 - interrupt-controller : Identifies the node as an interrupt controller
0014 - #interrupt-cells : Specifies the number of cells needed to encode an
0015   interrupt source. The value shall be 1.
0016 
0017 Example:
0018 
0019 intc: interrupt-controller {
0020         compatible = "opencores,or1k-pic-level";
0021         interrupt-controller;
0022         #interrupt-cells = <1>;
0023 };