mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 22:31:32 +00:00
52fa212088
Add a function to initialize the OMAP2/3 interrupt controller (INTC) using a device tree node. This version take advantage of the new irq_domain_add_legacy API. Replace some printk() with the proper pr_ macro. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Tony Lindgren <tony@atomide.com> Acked-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Grant Likely <grant.likely@secretlab.ca>
28 lines
809 B
Plaintext
28 lines
809 B
Plaintext
* OMAP Interrupt Controller
|
|
|
|
OMAP2/3 are using a TI interrupt controller that can support several
|
|
configurable number of interrupts.
|
|
|
|
Main node required properties:
|
|
|
|
- compatible : should be:
|
|
"ti,omap2-intc"
|
|
- interrupt-controller : Identifies the node as an interrupt controller
|
|
- #interrupt-cells : Specifies the number of cells needed to encode an
|
|
interrupt source. The type shall be a <u32> and the value shall be 1.
|
|
|
|
The cell contains the interrupt number in the range [0-128].
|
|
- ti,intc-size: Number of interrupts handled by the interrupt controller.
|
|
- reg: physical base address and size of the intc registers map.
|
|
|
|
Example:
|
|
|
|
intc: interrupt-controller@1 {
|
|
compatible = "ti,omap2-intc";
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
ti,intc-size = <96>;
|
|
reg = <0x48200000 0x1000>;
|
|
};
|
|
|