Back to home page

OSCL-LXR

 
 

    


0001 Open Multi-Processor Interrupt Controller
0002 
0003 Required properties:
0004 
0005 - compatible : This should be "openrisc,ompic"
0006 - reg : Specifies base physical address and size of the register space. The
0007   size is based on the number of cores the controller has been configured
0008   to handle, this should be set to 8 bytes per cpu core.
0009 - interrupt-controller : Identifies the node as an interrupt controller.
0010 - #interrupt-cells : This should be set to 0 as this will not be an irq
0011   parent.
0012 - interrupts : Specifies the interrupt line to which the ompic is wired.
0013 
0014 Example:
0015 
0016 ompic: interrupt-controller@98000000 {
0017         compatible = "openrisc,ompic";
0018         reg = <0x98000000 16>;
0019         interrupt-controller;
0020         #interrupt-cells = <0>;
0021         interrupts = <1>;
0022 };