xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/sigma,smp8642-intc.txt (revision 2a58b312b62f908ec92311d1bd8536dbaeb8e55b)
1Sigma Designs SMP86xx/SMP87xx secondary interrupt controller
2
3Required 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>
10
11One 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
16
17Example:
18
19interrupt-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>;
27
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	};
34
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	};
41
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	};
48};
49