mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
08ffb2229f
The drivers sets up an irq domain and hands out unique irqs to irq capable gpio lines regardless of how underlying irq maps to gpio lines. Any gpio line can map to any one or none of the irqs of the core, independently of each other. Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
27 lines
905 B
Plaintext
27 lines
905 B
Plaintext
Aeroflex Gaisler GRGPIO General Purpose I/O cores.
|
|
|
|
The GRGPIO GPIO core is available in the GRLIB VHDL IP core library.
|
|
|
|
Note: In the ordinary environment for the GRGPIO core, a Leon SPARC system,
|
|
these properties are built from information in the AMBA plug&play.
|
|
|
|
Required properties:
|
|
|
|
- name : Should be "GAISLER_GPIO" or "01_01a"
|
|
|
|
- reg : Address and length of the register set for the device
|
|
|
|
- interrupts : Interrupt numbers for this device
|
|
|
|
Optional properties:
|
|
|
|
- nbits : The number of gpio lines. If not present driver assumes 32 lines.
|
|
|
|
- irqmap : An array with an index for each gpio line. An index is either a valid
|
|
index into the interrupts property array, or 0xffffffff that indicates
|
|
no irq for that line. Driver provides no interrupt support if not
|
|
present.
|
|
|
|
For further information look in the documentation for the GLIB IP core library:
|
|
http://www.gaisler.com/products/grlib/grip.pdf
|