mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
961e657f5a
Add a function to initialize the Common Platform Interrupt Controller (cp_intc) from TI used on OMAP-L1x SoCs using a device tree node. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: davinci-linux-open-source@linux.davincidsp.com Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree-discuss@lists.ozlabs.org Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Sekhar Nori <nsekhar@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Sergei Shtylyov <sshtylyov@mvista.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
28 lines
844 B
Plaintext
28 lines
844 B
Plaintext
* TI Common Platform Interrupt Controller
|
|
|
|
Common Platform Interrupt Controller (cp_intc) is used on
|
|
OMAP-L1x SoCs and can support several configurable number
|
|
of interrupts.
|
|
|
|
Main node required properties:
|
|
|
|
- compatible : should be:
|
|
"ti,cp-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,cp-intc";
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
ti,intc-size = <101>;
|
|
reg = <0xfffee000 0x2000>;
|
|
};
|