-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: davinci: cp_intc: Add OF support for TI interrupt controller
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>
- Loading branch information
Heiko Schocher
authored and
Sekhar Nori
committed
Jul 5, 2012
1 parent
ce9dcb8
commit 961e657
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
* 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>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters