1 ===========================================
2 C-SKY Multi-processors Interrupt Controller
3 ===========================================
5 C-SKY Multi-processors Interrupt Controller is designed for ck807/ck810/ck860
6 SMP soc, and it also could be used in non-SMP system.
8 Interrupt number definition:
9 0-15 : software irq, and we use 15 as our IPI_IRQ.
10 16-31 : private irq, and we use 16 as the co-processor timer.
11 31-1024: common irq for soc ip.
13 Interrupt triger mode: (Defined in dt-bindings/interrupt-controller/irq.h)
14 IRQ_TYPE_LEVEL_HIGH (default)
19 =============================
20 intc node bindings definition
21 =============================
23 Description: Describes SMP interrupt controller
30 Definition: must be "csky,mpintc"
35 - interrupt-controller:
38 Examples: ("interrupts = <irq_num IRQ_TYPE_XXX>")
40 #include <dt-bindings/interrupt-controller/irq.h>
42 intc: interrupt-controller {
43 compatible = "csky,mpintc";
44 #interrupt-cells = <2>;
48 device: device-example {
50 interrupts = <34 IRQ_TYPE_EDGE_RISING>;
51 interrupt-parent = <&intc>;