WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / interrupt-controller / sigma,smp8642-intc.txt
blob355c18a3a4d30ddb3bdeedfd39e204c67cf7c896
1 Sigma Designs SMP86xx/SMP87xx secondary interrupt controller
3 Required properties:
4 - compatible: should be "sigma,smp8642-intc"
5 - reg: physical address of MMIO region
6 - ranges: address space mapping of child nodes
7 - interrupt-controller: boolean
8 - #address-cells: should be <1>
9 - #size-cells: should be <1>
11 One child node per control block with properties:
12 - reg: address of registers for this control block
13 - interrupt-controller: boolean
14 - #interrupt-cells: should be <2>, interrupt index and flags per interrupts.txt
15 - interrupts: interrupt spec of primary interrupt controller
17 Example:
19 interrupt-controller@6e000 {
20         compatible = "sigma,smp8642-intc";
21         reg = <0x6e000 0x400>;
22         ranges = <0x0 0x6e000 0x400>;
23         interrupt-parent = <&gic>;
24         interrupt-controller;
25         #address-cells = <1>;
26         #size-cells = <1>;
28         irq0: interrupt-controller@0 {
29                 reg = <0x000 0x100>;
30                 interrupt-controller;
31                 #interrupt-cells = <2>;
32                 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
33         };
35         irq1: interrupt-controller@100 {
36                 reg = <0x100 0x100>;
37                 interrupt-controller;
38                 #interrupt-cells = <2>;
39                 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
40         };
42         irq2: interrupt-controller@300 {
43                 reg = <0x300 0x100>;
44                 interrupt-controller;
45                 #interrupt-cells = <2>;
46                 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
47         };