-
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.
dt-bindings: interrupt-controller: C-SKY SMP intc
Dt-bindings doc about C-SKY Multi-processors interrupt controller. Changelog: - Should be: '#interrupt-cells' not 'interrupt-cells' Signed-off-by: Guo Ren <ren_guo@c-sky.com> Reviewed-by: Rob Herring <robh@kernel.org>
- Loading branch information
Guo Ren
committed
Oct 25, 2018
1 parent
d8a5f5f
commit 3fe5d5b
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.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,40 @@ | ||
=========================================== | ||
C-SKY Multi-processors Interrupt Controller | ||
=========================================== | ||
|
||
C-SKY Multi-processors Interrupt Controller is designed for ck807/ck810/ck860 | ||
SMP soc, and it also could be used in non-SMP system. | ||
|
||
Interrupt number definition: | ||
|
||
0-15 : software irq, and we use 15 as our IPI_IRQ. | ||
16-31 : private irq, and we use 16 as the co-processor timer. | ||
31-1024: common irq for soc ip. | ||
|
||
============================= | ||
intc node bindings definition | ||
============================= | ||
|
||
Description: Describes SMP interrupt controller | ||
|
||
PROPERTIES | ||
|
||
- compatible | ||
Usage: required | ||
Value type: <string> | ||
Definition: must be "csky,mpintc" | ||
- #interrupt-cells | ||
Usage: required | ||
Value type: <u32> | ||
Definition: must be <1> | ||
- interrupt-controller: | ||
Usage: required | ||
|
||
Examples: | ||
--------- | ||
|
||
intc: interrupt-controller { | ||
compatible = "csky,mpintc"; | ||
#interrupt-cells = <1>; | ||
interrupt-controller; | ||
}; |