-
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.
yaml --- r: 331471 b: refs/heads/master c: 9bc1503 h: refs/heads/master i: 331469: dfebbcc 331467: e851215 331463: 871d29c 331455: d06bfff v: v3
- Loading branch information
Linus Walleij
authored and
Russell King
committed
Sep 17, 2012
1 parent
eca5660
commit ead6460
Showing
4 changed files
with
96 additions
and
11 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 2c88543b953581f70f05bf133a1b8f196c48ef23 | ||
refs/heads/master: 9bc1503185a09930782012fda5601694caeec77a |
31 changes: 31 additions & 0 deletions
31
trunk/Documentation/devicetree/bindings/arm/versatile-fpga-irq.txt
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,31 @@ | ||
* ARM Versatile FPGA interrupt controller | ||
|
||
One or more FPGA IRQ controllers can be synthesized in an ARM reference board | ||
such as the Integrator or Versatile family. The output of these different | ||
controllers are OR:ed together and fed to the CPU tile's IRQ input. Each | ||
instance can handle up to 32 interrupts. | ||
|
||
Required properties: | ||
- compatible: "arm,versatile-fpga-irq" | ||
- interrupt-controller: Identifies the node as an interrupt controller | ||
- #interrupt-cells: The number of cells to define the interrupts. Must be 1 | ||
as the FPGA IRQ controller has no configuration options for interrupt | ||
sources. The cell is a u32 and defines the interrupt number. | ||
- reg: The register bank for the FPGA interrupt controller. | ||
- clear-mask: a u32 number representing the mask written to clear all IRQs | ||
on the controller at boot for example. | ||
- valid-mask: a u32 number representing a bit mask determining which of | ||
the interrupts are valid. Unconnected/unused lines are set to 0, and | ||
the system till not make it possible for devices to request these | ||
interrupts. | ||
|
||
Example: | ||
|
||
pic: pic@14000000 { | ||
compatible = "arm,versatile-fpga-irq"; | ||
#interrupt-cells = <1>; | ||
interrupt-controller; | ||
reg = <0x14000000 0x100>; | ||
clear-mask = <0xffffffff>; | ||
valid-mask = <0x003fffff>; | ||
}; |
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