xref: /linux/Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt (revision 48dea9a700c8728cc31a1dd44588b97578de86ee)
1Synopsys DesignWare APB interrupt controller (dw_apb_ictl)
2
3Synopsys DesignWare provides interrupt controller IP for APB known as
4dw_apb_ictl. The IP is used as secondary interrupt controller in some SoCs with
5APB bus, e.g. Marvell Armada 1500.
6
7Required properties:
8- compatible: shall be "snps,dw-apb-ictl"
9- reg: physical base address of the controller and length of memory mapped
10  region starting with ENABLE_LOW register
11- interrupt-controller: identifies the node as an interrupt controller
12- #interrupt-cells: number of cells to encode an interrupt-specifier, shall be 1
13- interrupts: interrupt reference to primary interrupt controller
14
15The interrupt sources map to the corresponding bits in the interrupt
16registers, i.e.
17- 0 maps to bit 0 of low interrupts,
18- 1 maps to bit 1 of low interrupts,
19- 32 maps to bit 0 of high interrupts,
20- 33 maps to bit 1 of high interrupts,
21- (optional) fast interrupts start at 64.
22
23Example:
24	aic: interrupt-controller@3000 {
25		compatible = "snps,dw-apb-ictl";
26		reg = <0x3000 0xc00>;
27		interrupt-controller;
28		#interrupt-cells = <1>;
29		interrupt-parent = <&gic>;
30		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
31	};
32